X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Edit one Side block so it looks different then the other (https://forum.x-cart.com/showthread.php?t=14234)

taltos1 05-27-2005 10:02 AM

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

balinor 05-27-2005 01:59 PM

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?

taltos1 05-28-2005 07:01 AM

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.

balinor 05-28-2005 08:18 AM

Correct :)


All times are GMT -8. The time now is 02:49 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.