Jump to content

Update {$whmcs_link}


aknight

Recommended Posts

Our email templates contain the variable {$whmcs_link} which point to https://www.knightwebservice.com/clients/ which does not load our theme template.

 

We use the WHMCS Bridge and Bridge PRO with a URL of https://www.knightwebservices.com/portal/ which does load our theme template.

 

Can we update the $whmcs variable to point to /portal rather than /clients?

 

-Allan

Link to comment
Share on other sites

Hi Allan,

 

i'd be inclined to check your WHMCS Bridge Pro settings are correct...

 

https://forum.whmcs.com/showthread.php?123706-how-to-change-system-url-s-in-emails&p=497430#post497430

 

$whmcs_link is basically your SystemURL settings from setup -> general settings -> general... so it might be worth checking if the current value in there is correct.

 

ultimately, you can change the link in each template by using...

{$whmcs_link|replace:'clients/':'portal/'}

or you could rewrite it using a simple hook - but i'd check your settings first before going down either road. :idea:

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