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

seperate menu template for categories not working

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-03-2008, 02:23 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default 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?
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #2  
Old 06-03-2008, 08:24 PM
 
paul@dimoda.com.au paul@dimoda.com.au is offline
 

Senior Member
  
Join Date: Aug 2007
Location: Perth, Australia
Posts: 148
 

Default Re: seperate menu template for categories not working

how about giving us a clue as to what you would like it to do....
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5
Reply With Quote
  #3  
Old 06-03-2008, 09:01 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default 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.
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #4  
Old 06-03-2008, 10:23 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: seperate menu template for categories not working

fixed it.
I just gave it a different name and it resolved itself
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:59 AM.

   

 
X-Cart forums © 2001-2020