Jump to content

Adding homepage link to WHMCS navbar


attroll

Recommended Posts

I would like to add my homepage link in the navbar on the following pages.

Support page

Client area page

Announcement page

Knowedgebase page

Support tickets page

Downloads page

 

Is that a way I can do this? and if not this should be an option in a future update.

Link to comment
Share on other sites

Ok, No problem, Sorry.

 

You have to go to the file whmcs/templates/default/header.tpl and edit it.

 

Find:

<td><table id="topnavbar"><tr><td id="navbar">[url="index.php"]{$LANG.globalsystemname}[/url]</td><td id="navbar">[url="clientarea.php"]{$LANG.clientareatitle}[/url]</td><td id="navbar">[url="announcements.php"]{$LANG.announcementstitle}[/url]</td><td id="navbar">[url="knowledgebase.php"]{$LANG.knowledgebasetitle}[/url]</td><td id="navbar">[url="supporttickets.php"]{$LANG.supportticketspagetitle}[/url]</td><td id="navbar">[url="downloads.php"]{$LANG.downloadstitle}[/url]</td>{if $loggedin}<td id="navbar">[url="logout.php"]{$LANG.logouttitle}[/url]</td>{/if}</tr></table></td>

 

Replace it with:

    <td><table id="topnavbar"><tr>
   <td id="navbar"><a href="http://yourwebsite.net">Homepage</td>
   <td id="navbar">[url="index.php"]{$LANG.globalsystemname}[/url]</td>
   <td id="navbar">[url="clientarea.php"]{$LANG.clientareatitle}[/url]</td>
   <td id="navbar">[url="announcements.php"]{$LANG.announcementstitle}[/url]</td>
   <td id="navbar">[url="knowledgebase.php"]{$LANG.knowledgebasetitle}[/url]</td>
   <td id="navbar">[url="supporttickets.php"]{$LANG.supportticketspagetitle}[/url]</td>
   <td id="navbar">[url="downloads.php"]{$LANG.downloadstitle}[/url]</td>
   {if $loggedin}<td id="navbar">[url="logout.php"]{$LANG.logouttitle}[/url]</td>{/if}</tr></table></td>

Now edit the following line to what you want it to be:

<td id="navbar"><a href="http://yourwebsite.net">Homepage</td>

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