View Single Post
  #3  
Old 05-08-2007, 04:05 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: I want to remove 'Help,Specials'News' form home.tpl.

Nick,

You're 90% there is you're using webmaster mode...

You're 98% there since you identified that you want to edit /customer/home.tpl

The code you want to comment out will include:

{include file="help.tpl" }
{include file="customer/special.tpl"}
{include file="news.tpl" }

To comment out code, use {* before the code to comment out and *} after.

Example: to comment out JUST the help menu, it would look like this:

Code:
{* {include file="help.tpl" } *}

The key here is to understand why you're commenting something out... in this case, you're telling the template to IGNORE the "include file". Using comments is a good way to work with code in home.tpl, since you may want to bring it back.

Always have backups before you make any changes!

Hope this helps.

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote