EdgeFox Posted March 22, 2015 Share Posted March 22, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 22, 2015 Share Posted March 22, 2015 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} 0 Quote Link to comment Share on other sites More sharing options...
EdgeFox Posted March 22, 2015 Author Share Posted March 22, 2015 Excellent! I will test this and report back. 0 Quote Link to comment Share on other sites More sharing options...
EdgeFox Posted March 22, 2015 Author Share Posted March 22, 2015 It worked! Thank you very much for your help, you saved me from meddling around with .htaccess stuff 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.