Jump to content

how to enter "hosting" in my header.tpl?


luckyhost

Recommended Posts

Hello.

I am customizing WHMCS. I have successfully entered the links i need in my menu except for hosting packs. It is only displayed when somebody is already in cart.php. The code i have entered in header.tpl is :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html; charset={$charset}" />

<title>{$companyname} - {$pagetitle}</title>

<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" />

<link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" />

<link rel="stylesheet" type="text/css" href="templates/{$template}/chromestyle.css" />

<link rel="stylesheet" type="text/css" href="../templates/orderforms/cart/style.css" />

<script type="text/javascript" src="templates/{$template}/chrome.js">

 

/***********************************************

* Chrome CSS Drop Down Menu- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)

* This notice MUST stay intact for legal use

* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code

***********************************************/

 

</script>

</head>

<body style="background-image:url(templates/{$template}/bg.jpg); background-repeat:repeat-x;">

<div align="center" style="width:950px; height:180px; border: 0px; padding: 5px; border-collapse: collapse; margin-left: auto; margin-right: auto;">

<img src="templates/{$template}/header.jpg" width="731" height="118" alt="" /><br />

 

<div class="chromestyle" id="chromemenu">

<ul>

<li><a href="#">home</a></li>

<li><a href="index.php" rel="dropmenu_support">{$LANG.globalsystemname}</a></li>

<li><a href="clientarea.php">{$LANG.clientareatitle}</a></li>

<li><a href="announcements.php">{$LANG.announcementstitle}</a></li>

{foreach key=num item=productgroup from=$productgroups}

<li><a href="cart.php?gid={$productgroup.gid}">{$productgroup.name}</a></li>

{/foreach}

<li><a href="#" rel="dropmenu_domains">Domain Names</a></li>

 

</ul>

</div>

 

<div class="dropmenudiv" id="dropmenu_support">

<a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a>

<a href="supporttickets.php">{$LANG.supportticketspagetitle}</a>

<a href="downloads.php">{$LANG.downloadstitle}</a>

</div>

 

<div class="dropmenudiv" id="dropmenu_domains">

<a href="cart.php?a=add&domain=register">{$LANG.registerdomain}</a>

<a href="cart.php?a=add&domain=transfer">{$LANG.transferdomain}</a>

</div>

 

<script type="text/javascript">

 

cssdropdown.startchrome("chromemenu")

 

</script>

 

{if $loggedin}<a href="logout.php">{$LANG.logouttitle}</a>{/if}

<p align="center" class="cartheading">{$LANG.cartbrowse}</p>

 

</div>

<div class="wrapper">

 

 

{if $pageicon}<img src="{$pageicon}" align="right" alt="" /> {/if}

 

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

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

 

{if $loggedin}

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

{/if}

 

Could someone please help me out??

 

Thank you in advance.

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