I want to add additional pages as a plugin to the osticket.How can I write such plugin?I see that the pages have to be inside /scp/ dir. not in plugins dir.Another question - How I can add additional fields to the ticket view page?
Any info about this ?????Do you have some documentation about the plugin system, hooks and etc ?
Additional pages already exist in osT. Go to Admin panel -> Manage -> Pages.There is no documentation at this time regarding authoring plugins. Your best bet would to look at existing plugins and use them as a template for your own.I have no idea what you mean that pages are inside the scp directory. They are at domain.tld/pages/PageName. domain.tld is your site URL, and PageNAme is what you name the page you add.Adding additional fields to tickets (Admin panel -> Manage -> Forms -> Ticket Details) and populating them with information will make them appear on the ticket view page.
I want to write several custom plugins.I want to be able to add additional api or cron call. How can I do this?I want to modify the tickets list and add extra fields. How can I do this ?
Another thing .. I want to add new variables to the autorespond answer ... Can I do this with a plugin????
There is no documentation at this time regarding authoring plugins.
Your best bet would to look at existing plugins and use them as a
template for your own. I cannot offer you a better answer as I have not written a plugin...
The sad true about osticket is that the plugin hooks are written to work only with the existing plugins.I have spent a day trying to write some plugins and this is impossible!!!!Unfortunately I have to hack osticket code again.
Well it is under active development, and there is a reason why there hasn't been a plugin developer document released.
I have wrote several interesting plugins.. but as I see they will be in use only for me.
That is your decision to make. Generally though since this is free software you may want to consider sharing them with the community though.