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)
-   -   How to change look of one side column menu box (https://forum.x-cart.com/showthread.php?t=10212)

magder 11-05-2004 04:19 AM

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

shan 11-05-2004 04:59 AM

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

magder 11-05-2004 09:23 AM

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??

shan 11-05-2004 10:51 AM

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

magder 11-05-2004 02:54 PM

Now I understand. It makes sense now.

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


Thanks Shan.

magder 11-08-2004 09:51 AM

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.


All times are GMT -8. The time now is 04:49 AM.

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