garybarr Posted July 29, 2019 Share Posted July 29, 2019 I'm trying to make a Widget that includes a button for opening a ticket to a specific account and department. I'm using variables I found in the docs, but it only uses one of them. This is what I'm using: https://mydomain.ext/admin/supporttickets.php?action=open&userid=122155&deptid=5 So when they click on this link, it does start a ticket for the userid I've added, but it does not assign it to deptid 5, it just uses the default 1st department. Is this possible, or am I just messing up a parameter somehow? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 30, 2019 Share Posted July 30, 2019 12 hours ago, garybarr said: Is this possible, or am I just messing up a parameter somehow? I don't think supporttickets.php is expecting a deptid value to be passed to it in that way - possibly the dropdown could be manipulated with jQuery, but it's probably easier to choose the department yourself.... unless you wanted to go down the OpenTicket API route and then you could define a department. you can do what you want to do from the client side, but that doesn't help your situation in the admin area. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.