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

Second category name

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2005, 02:12 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default Second category name

Just noticed that some of my category names display twice on some pages... One with the correct style, the other just plain text...
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #2  
Old 09-21-2005, 09:02 AM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default

This line of code in subcategories.tpl was creating duplicate category name:

Code:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" "} {/if}

I've commented it out an am wondering what is it suppose to do anyway?
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #3  
Old 09-21-2005, 09:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Did you have the category name as the description of the category?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 09-21-2005, 09:30 AM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default

Not really. I have modified subcategories file and must've left this artifact.
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
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 07:39 AM.

   

 
X-Cart forums © 2001-2020