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

How to change look of one side column menu box

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2004, 04:19 AM
 
magder magder is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 51
 

Default How to change look of one side column menu box

I need one right side menu to look different from all of the others. Can I do that using css with an ID tag in home.tpl

Or should I just create a separte template altogether and include it in home.tpl
__________________
x-cart 3.8
Reply With Quote
  #2  
Old 11-05-2004, 04:59 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

copy menu.tpl and call it menu_right.tpl

then look at the bottom of the file that calls the new menu_right.tpl and change the call to menu.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 11-05-2004, 09:23 AM
 
magder magder is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 51
 

Default

Quote:
Originally Posted by shan
then look at the bottom of the file that calls the new menu_right.tpl and change the call to menu.tpl

Shan you lost me here.
do you mean in home.tpl? what file that calls the new menu_right.tpl??
__________________
x-cart 3.8
Reply With Quote
  #4  
Old 11-05-2004, 10:51 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

if for example you want the news box to be unique find this bit


Code:
{ include file="menu.tpl" dingbats="dingbats_news.gif" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu }

and change menu.tpl to the menu2.tpl

then make a copy of menu.tpl call it menu2.tpl and edit to suit your needs
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 11-05-2004, 02:54 PM
 
magder magder is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 51
 

Default

Now I understand. It makes sense now.

Everything about X-cart is so intuitive. Just like a labarynth


Thanks Shan.
__________________
x-cart 3.8
Reply With Quote
  #6  
Old 11-08-2004, 09:51 AM
 
magder magder is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 51
 

Default

I got that working using the menu_right.tpl. Thanks.

BUT

Now the differently styled box is only appearing on home page and on the single product pages.

If I browse to a category page the box dissapears.

Was there something I missed. I can't figure you what is changing on the category pages.
__________________
x-cart 3.8
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 10:39 AM.

   

 
X-Cart forums © 2001-2020