Jump to content

How to include links on the main portal?


ehm

Recommended Posts

I have some services, like Site Builder and Webmail that I would like to include to be display on the user main portal (https://www.MySite.com/whmcs/clientarea.php)

on the right side (Quick Navigation).

 

How can I do that?

If possible, I would like to include in a certain way that:

1) do not desapear on the next WHMCS update

2) create the link with the user account:

like: if the user web site is ABCmyUser.com

the links should read:

http://www.ABCmyUser.com/webmail

and

http://www.ABCmyUser.com/sitebuilder

 

is that possible?

 

Thank you

Link to comment
Share on other sites

  • WHMCS Support Manager

Edit /templates/*your active template*/homepage.tpl

 

1. If homepage.tpl is updated in the next release, you will need to update your customisation also.

 

2. That variable isn't available on homepage.tpl. Clients can have multiple products, so how would it know which one to use? You could have these link on clientareaproductdetails.tpl though.

Link to comment
Share on other sites

Thank you John,

I will try to understand how it works, specially the clientareaproductdetaisl.tp.

seams that there is the place to create my links.

Is there any place where I can read all the variables that are available on each page?

Link to comment
Share on other sites

You can create a custom page containing the links you want in the certain area (clientarealinks.tpl) and then include it in the area you want to add the custom link so when there's an update you just have to add the {include....} line in the clientarea.tpl.

 

To create links like that:

<a href="/webmail" title="webmail">Sitebuilder</a>

<a href="/webmail" title="webmail">Sitebuilder</a>

 

/webmail

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