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)
-   -   seperate menu template for categories not working (https://forum.x-cart.com/showthread.php?t=40250)

peterstagg 06-03-2008 02:23 PM

seperate menu template for categories not working
 
OK
This one is doing my head in as I have created so many like it, but I just can't put my finger on where I am going wrong.

I created a special menu template called menucat.tpl.

I called it in the categories.tpl as
{include file="menucat.tpl" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

but it does not resolve and appear on the page.
It is in the same directory as menu.tpl.
It is pretty much the same as menu.tpl but I altered one of the styles to make the padding 0.
If I change the call back to menu it appears again.

You can see it here.
http://dev.midnight-online.co.uk/phones/home.php

Anyone want to point out the obvious to me?

paul@dimoda.com.au 06-03-2008 08:24 PM

Re: seperate menu template for categories not working
 
how about giving us a clue as to what you would like it to do....

peterstagg 06-03-2008 09:01 PM

Re: seperate menu template for categories not working
 
Hi Paul
I thought the clue was there.
It does exactly what the normal menu template does, except I changed one of the styles to set the padding to 0.

peterstagg 06-03-2008 10:23 PM

Re: seperate menu template for categories not working
 
fixed it.
I just gave it a different name and it resolved itself


All times are GMT -8. The time now is 11:18 PM.

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