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
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
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:
Now copy everything between this and the end of your form, which ends withCode:<form action="/submitticket.php?step=3" method="post" enctype="multipart/form-data" name="submitticket" id="submitticket">
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.Code:</form>
Just remember to change the action so that it goes to your whmcs, for example I changed mine to:
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.Code:action="http://clients.markspixel.com/submitticket.php?step=3"
Let me know if you have any questions.
Markspixel.com - Affordable web design and hosting solutions
You could also just have the form contents emailed to an address that pipes into one of your support departments.
DISCLAIMER: I am in no way associated with WHMCS. My statements only come from years of programming, experience using WHMCS, and just my honest opinion.