BTW the video I did it specifically for @cjohnsonuk just now to show that it is actually possible. I do not think anybody else would find that vid useful as it is specific to this thread only. I wouldn't call it an advertisement.
Honestly I thought that this is what I did. I wanted to let this person know that there is a solution to his problem and gave a link to the page where he can read more about it. The page does not mention anything about injecting JS, so I thought it prudent to let the guy know this. I am aware of what you are saying and it is not my intention.
- Edited
I suppose that you are talking about the client side, new ticket page.
As soon as the client chooses the help topic, a new form is loaded and you want to hide certain fields on there.
You are going to need JQuery for that and the only way I know is with Motherload.
We are already doing something similar with our Superlists plugin.
Basically, what you have to do is check whether the client satisfies your criteria and if so inject a JS function into the page to hide the fields.- Edited
Hi guys,
Actually this can be done with Motherload if you want.
Check out this 1 min video to verify this is what you expected.You can inject JS in any page (you can restrict this to the ticket pages for example).
You can execute code directly as a script and you can also import js files directly into the page.All you need is motherload and a short script I just came up with to get you started.
Edited by admin.
This thread may be a little old but still may help someone find a solution to this problem.
There is a plugin called 'Agent ticket-reply via email' for osTicket Motherload that is designed to do just that.
It allows agents to reply to tickets and can even auto-assign the ticket to the first agent that replies via email.The plugin is free (but requires Motherload) and you can download it from the Motherload product page here:
https://www.cartmega.com/motherload-for-osticket.htmlBenefits:
- Automatically assign the ticket to the first agent that replies via email (if option is enabled)!
- Agents & customers able to communicate seamlessly via email without ever logging in to osTicket!
- Never have to manually edit your class files again because you upgraded osTicket!
Hi pitanni ,
You modified the /include/class.ticket.php file right?
Well, for anyone reading this, you do not have to do that anymore.
With a small PHP script you can avoid hard coded modifications and next time you upgrade your osTicket you won't break all your mods.
Hope this helps someone.pitanni
Your question reminded me of this post I did some time ago.
If I am correct, you could achieve it using Motherload.
Is this what you are looking for?
https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmega/5- Edited
glennbtn
Just FYI, you can now use this new plugin...https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmega/14
Edited by Admin
- Edited
samratu
Just FYI, you can now use this new plugin...https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmega/14
Edited by Admin
- Edited
thebravoman kikibobar ddixan83
Just FYI, you can now do away with your custom core file modifications and use this new plugin...https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmega/14
Edited by Admin
Do you mean something like this?
https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmega/9For nested custom lists, you may try a plugin called Ajax Superlists.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: https://www.cartmega.com/superlists-for-osticket.html- In nesting
For nested custom lists, you may try a plugin called Ajax Superlists.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: https://www.cartmega.com/superlists-for-osticket.html For nested custom lists, you may try a plugin called Ajax Superlists.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: https://www.cartmega.com/superlists-for-osticket.html- Edited
For nested custom lists, you may try a plugin called Ajax Superlists.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: superlists-for-osticketFor nested custom lists, you will need a plugin called Ajax Superlists for that.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: https://www.cartmega.com/superlists-for-osticket.htmlYou will need a plugin called Ajax Superlists for that.
Superlists is a plugin that allows for smart, dynamic, interlinked and grouped ajax custom lists on the ticket creation page.
Find out more here: https://www.cartmega.com/superlists-for-osticket.htmlYou could also try Motherload.
Motherload is a plugin controller that allows rapid plugin development in osTicket. Have your custom plugins up and running in under 5 minutes, to handle any osTicket event.
Find out more here:
https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmegaJuVDC osTicket motherload comes with a demo plugin 'plugin_manipulateTicketByEmail.php' which does exactly what you need.
Check out motherload here:
https://forum.osticket.com/d/98011-motherload-for-osticket-new-plugin-by-cartmegaThis will probably be of interest to you https://forum.osticket.com/d/98053-ajax-superlists-are-coming-very-soon