firstpoint Posted September 8, 2010 Share Posted September 8, 2010 Hello guys, I would like to integrate a form on our website, which would allow visitors to send a ticket to the department they choose (from the WHMCS db), but without making a link to the WHMCS support page. Is there a way to do this ? Regards 0 Quote Link to comment Share on other sites More sharing options...
bigideaguy Posted September 8, 2010 Share Posted September 8, 2010 Go to the page where you submit your ticket and in your browser go to View -> Source or Page Source Find the beginning of the form, mine looks like this: <form action="/submitticket.php?step=3" method="post" enctype="multipart/form-data" name="submitticket" id="submitticket"> Now copy everything between this and the end of your form, which ends with </form> Now this code can be pasted onto pretty much any html page you would like to display it on, you may want to make a stylesheet for the form to match that of your whmcs or just add some custom css or leave it the way it is without any styling. Just remember to change the action so that it goes to your whmcs, for example I changed mine to: action="http://clients.markspixel.com/submitticket.php?step=3" This will work for what you were asking but I believe clients are still brought to your whmcs script after the ticket is submitted. further tweaking of the submitticket.php file could fix this. Let me know if you have any questions. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted September 8, 2010 Share Posted September 8, 2010 You could also just have the form contents emailed to an address that pipes into one of your support departments. 0 Quote Link to comment Share on other sites More sharing options...
bigideaguy Posted September 9, 2010 Share Posted September 9, 2010 You could also just have the form contents emailed to an address that pipes into one of your support departments. Yea, that would probably be the easiest way and then the submitter won't need to be brought to the whmcs site afterwards, you could set it to whatever you want the thank you page to be. 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.