Jump to content

How do I get rid of some of the menu items?


jaatendi

Recommended Posts

  • 4 weeks later...

I must be doing something wrong as I have been deleting code from templates/orderforms/cart/products.tpl. but no changes are appearing on the WHMCs menu on my website. I even deleted all the code from the file to see what would happen, and no changes appeared. Its as if I am editing the wrong file or something. If I just took out the whole menu that would be fine. Any suggestions?

Link to comment
Share on other sites

Which menu are you trying to remove? The client area templates are in templates/default or templates/portal depending on which one you have selected in the settings. The orderform templates are what you edited, and the one you use there is also decided within the settings in the admin.

 

The header.tpl contains the top menu if thats what you're trying to remove.

Link to comment
Share on other sites

This should be in there. This is the top menu when you're logged in:

 


{if $loggedin}
 <div id="top_menu">
   <ul>
     <li><a href="clientarea.php" title="{$LANG.clientareanavhome}">{$LANG.clientareanavhome}</a></li>
     <li><a href="clientarea.php?action=details" title="{$LANG.clientareanavdetails}">{$LANG.clientareanavdetails}</a></li>
     <li><a href="clientarea.php?action=products" title="{$LANG.clientareanavservices}">{$LANG.clientareanavservices}</a></li>
     <li><a href="clientarea.php?action=domains" title="{$LANG.clientareanavdomains}">{$LANG.clientareanavdomains}</a></li>
     <li><a href="clientarea.php?action=invoices" title="{$LANG.invoices}">{$LANG.invoices}</a></li>
     <li><a href="supporttickets.php" title="{$LANG.clientareanavsupporttickets}">{$LANG.clientareanavsupporttickets}</a></li>
     <li><a href="affiliates.php" title="{$LANG.affiliatestitle}">{$LANG.affiliatestitle}</a></li>
     <li><a href="clientarea.php?action=emails" title="{$LANG.clientareaemails}">{$LANG.clientareaemails}</a></li>
   </ul>
   <div class="clear"></div>
 </div>
{/if}

Link to comment
Share on other sites

Ok I found that menu, but I am looking for a different one. Specifically, I want to remove the menu that consists of:

 

webgooroo.ca | Register Domain | Transfer Domain | View Cart

 

Here is a link to the page that that menu is visible on:

 

http://www.webgooroo.ca/clients/cart.php?a=add&domain=transfer

Edited by jaatendi
Link to comment
Share on other sites

That particular menu is in templates/orderforms/web20cart/products.tpl.

 

Look for this about 13 lines down from the top:

 

 {if $registerdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a> |{/if}
 {if $transferdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=transfer">{$LANG.transferdomain}</a> |{/if} <a href="{$smarty.server.PHP_SELF}?a=view">{$LANG.viewcart}</a> 

Link to comment
Share on other sites

  • 1 year later...

OK great I deleted the menu from my web hosting package order form. I have a second order form on my website for domain registrations, and the menu is still appearing on that form. These order forms are accessed by using the Direct Product Link, and the domain registration Integration Code. I deleted some code from templates/orderforms/web20cart/products.tpl. to get rid of the menu on the hosting order form. Where is the code or the menu appearing on the domain order form?

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