Jump to content

Need a simple custom module

Recommended Posts

In your template, just create a button that links to your WHMCS install. The following is an example that will link to the submit ticket page of the WHMCS demo, with the subject "Subject goes here" predefined:


<button onclick="window.location.href='http://demo.whmcs.com/submitticket.php?step=2&deptid=12&subject=Subject%20goes%20here'">Open Ticket</button>


Just replace the URL with your domain (url to submitticket.php), the department ID of the correct department you wish to open the ticket within, and of course the subject you wish.


The link to open a ticket, with a predefined subject, is documented here:




Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated