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

Edit one Side block so it looks different then the other

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2005, 10:02 AM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default Edit one Side block so it looks different then the other

Hello,
I could really use some help. I am trying to edit one side block
(menu_cart.tpl) and leave the other ones alone.

I know that menu.tpl, dictates how ALL the side block look in general, but I am not sure how edit one? Should I edit menu_cart.tpl directly, but in that template it is all smarty coding, and not much html.

I know what css controls ALL the side blocks (VertMenuTitle, VertMenuBorder etc..) I would ideally like the menu side block to use different CSS then the other blocks.

Thanks so much
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #2  
Old 05-27-2005, 01:59 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just create a copy of menu.tpl. Call it menu2.tpl and change the colors/layout to the way you want it. Then in the actual 'box' that you want to change, just change the include at the bottom to use the new one:

include file="menu2.tpl"

Make sense?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-28-2005, 07:01 AM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

I think so...are you saying that menu_cart.tpl CALLS menu.tpl at the bottom of it coding and that dictates it look? So all I need to do is make it call a new .tpl I make, menu2.tpl?

Thanks again.
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #4  
Old 05-28-2005, 08:18 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Correct
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:34 AM.

   

 
X-Cart forums © 2001-2020