Jump to content

How to change $ticket_url output


EdgeFox

Recommended Posts

Hello,

 

I would like to change the $ticket_url and $ticket_link outputs to point to a different URL than the WHMCS installation.

 

Currently it outputs mydomain/whmcs/viewticket.php?tid=780792&c=p7eic7WX and I would like to change this to mydomain/clientarea/viewticket/?tid=780792&c=p7eic7WX.

 

Is this possible through customization, or is this protected in the source code?

 

Will I have to redirect using .htaccess instead?

 

Thank you in advance for your time.

Link to comment
Share on other sites

you could do this by modifying the email templates (or writing an action hook)...

 

e.g, if you wanted to modify the email templates, you could replace {$ticket_url} with...

 

{$ticket_url|replace:'whmcs/viewticket.php':'clientarea/viewticket/'}

and then follow the same procedure with {$ticket_link}

Link to comment
Share on other sites

Join the conversation

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

Guest
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