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

Where to edit menu_content

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2005, 11:15 AM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default Where to edit menu_content

Hey I can't seem to figure out how to edit the content inside my categorie menu. I went to menu.tpl but that does not seem to be it. I want to be able to edit the individual tables inside of the menu box other than just editing the text, I think it has something to do with menu_content, but I cannot find this anywhere.
__________________
X-Cart version 4.0.14
Reply With Quote
  #2  
Old 09-20-2005, 11:38 AM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

I don't know if this would help, but have you tried editing skin1/customer/categories.tpl?

Good luck!
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote
  #3  
Old 09-20-2005, 12:17 PM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

Yes, I went to categories.tpl and I don't think it's what I need. It includes the file menu.tpl. I might be able to edit it from there but I am just not sure how to because the menu content is not physically in menu.tpl, rather it seems to call a string {$menu_content}...and I don't know what to edit. What I want to do is put a line in my categories menu between each category, seems simple enough, don't know why I can't figure it out.
Thanks for your reply though! Let me know if you can think of anything else.
__________________
X-Cart version 4.0.14
Reply With Quote
  #4  
Old 09-20-2005, 12:33 PM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

I just tried this out on the site I am working on and it worked, editing in this section:

Code:
{section name=cat_num loop=$categories} <FONT class="CategoriesList">{$categories[cat_num].category}</FONT> {/section} {else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT> {/section}

The HTML for the formatting of the links is there. For example, to add an image between each main category, you would add the the <img> tag (I put some extra blank space around to make it easier to see):
Code:
{section name=cat_num loop=$categories} <FONT class="CategoriesList">{$categories[cat_num].category}</FONT> [img]{$ImagesDir}/myimage.gif[/img] {/section} {else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT> {/section}

Let me know if it works.
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote
  #5  
Old 09-20-2005, 12:42 PM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

It works PERFECT! I was looking in the complete wrong direction!
Thanks!!!
__________________
X-Cart version 4.0.14
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 12:31 PM.

   

 
X-Cart forums © 2001-2020