| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
I want to remove 'Help,Specials'News' form home.tpl. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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:
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 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|