Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

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

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-08-2007, 03:18 AM
 
NickC NickC is offline
 

Senior Member
  
Join Date: May 2007
Posts: 134
 

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

Hi

I hame struggling to identify what script/text to remove from home'tpl so that 'Help, Specials and News' do not apear on my home screen. I am getting to grips with navigating with webmaster and debug tool, but could do with some suggestions on how to identify common commands.

Just to say forum is good, but would rather be helping myself.

Cheers
NickC
__________________
4.1.9
X-Magnifier
X-FAQ's Manager
Skin-'Fashion Mosaic'
Links Manager
Meta Tag Pro
A-O-M
RSS Feed
SnS Live Help
Marketing Manager Pro
Banner Manager
Reply With Quote
  #2  
Old 05-08-2007, 03:23 AM
 
NickC NickC is offline
 

Senior Member
  
Join Date: May 2007
Posts: 134
 

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

Hi

If some one could include screen shot of highlighted text to remove from home.tpl as seen in editing mode, would be fantastic..!

Cheers
NickC
__________________
4.1.9
X-Magnifier
X-FAQ's Manager
Skin-'Fashion Mosaic'
Links Manager
Meta Tag Pro
A-O-M
RSS Feed
SnS Live Help
Marketing Manager Pro
Banner Manager
Reply With Quote
  #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
  #4  
Old 05-08-2007, 04:09 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.

PS - although it is possible to edit templates in webmaster mode, I STRONGLY suggest using an ftp client w/ an integrated or linked text editor. You really want to use more advanced text features, such as find/replace - and the better text editors will colorize your code to make it easier to read.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:42 AM.

   

 
X-Cart forums © 2001-2020