Jump to content

Client Area Links Customize


Recommended Posts

The client area has set links with images like Home, Products/Services, Invoices and stuff. Instead I tweak and make it text and look better, here the code for you to use.

 

This only works with default template, I haven't tried with portal.

 

Look for header.tpl is:

 

<br>

<center>

<table class="topnavbar"><tr class="topnavbar">{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

</center>

 

<p>{if "templates/$template/images/$filename.png"|file_exists}<img src="templates/{$template}/images/{$filename}.png" align="right" alt="" />{/if}

<span class="heading">{$pagetitle}</span><br />

{$LANG.globalyouarehere}: {$breadcrumbnav}</p>

 

{if $loggedin}

<p align="center" class="clientarealinks"><a href="clientarea.php"><img src="images/clientarea.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavhome}</a><a href="clientarea.php?action=details"><img src="images/details.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavdetails}</a><a href="clientarea.php?action=products"><img src="images/products.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareaproducts}</a><a href="clientarea.php?action=domains"><img src="images/domains.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavdomains}</a><a href="clientarea.php?action=invoices"><img src="images/invoices.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.invoices}</a><a href="supporttickets.php"><img src="images/supporttickets.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareanavsupporttickets}</a><a href="affiliates.php"><img src="images/affiliates.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.affiliatestitle}</a><a href="clientarea.php?action=emails"><img src="images/emails.gif" border="0" hspace="5" align="absmiddle" alt="" />{$LANG.clientareaemails}</a></p>

{/if}

 

Change to:

 

<p>{if "templates/$template/images/$filename.png"|file_exists}<img src="templates/{$template}/images/{$filename}.png" align="right" alt="" />{/if}

<span class="heading">{$pagetitle}</span><br />

{$LANG.globalyouarehere}: {$breadcrumbnav}</p>

 

{if $loggedin}

<p align="center" class="clientarealinks"><a href="clientarea.php">{$LANG.clientareanavhome}</a>

<a href="clientarea.php?action=details">| {$LANG.clientareanavdetails}</a>

<a href="clientarea.php?action=details">| </a>

<a href="clientarea.php?action=products">{$LANG.clientareaproducts}</a>

<a href="clientarea.php?action=details">| </a>

<a href="clientarea.php?action=domains">{$LANG.clientareanavdomains}</a>

<a href="clientarea.php?action=details">| </a>

<a href="clientarea.php?action=invoices">{$LANG.invoices}</a>

<a href="clientarea.php?action=details">| </a><a href="supporttickets.php">{$LANG.clientareanavsupporttickets}</a>

<a href="clientarea.php?action=details">| </a><a href="affiliates.php">{$LANG.affiliatestitle}</a>

<a href="clientarea.php?action=details">| </a>

<a href="clientarea.php?action=emails">{$LANG.clientareaemails}</a>

<a href="clientarea.php?action=details">| <a href="logout.php">{$LANG.logouttitle}</a></a></p>

{/if}

 

Enjoy

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