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

Categories Menu - Showing Subcategories

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #61  
Old 02-24-2006, 08:47 PM
  Raptor's Avatar 
Raptor Raptor is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 131
 

Default

How can I make sure the subcategories list in the order I set them rather than alpabetically?

Anyone found a way of doing it yet?
__________________
X-Cart Gold Plus v4.7.12
ReBOOT ReDUX Theme
Reply With Quote
  #62  
Old 03-04-2006, 05:13 AM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default

Hi gfiebich

Great Mod. Thanks for the same.

Have been looking for this one for a while.

Cheers
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #63  
Old 03-09-2006, 11:56 AM
  Hyperdelicious's Avatar 
Hyperdelicious Hyperdelicious is offline
 

Senior Member
  
Join Date: Sep 2002
Location: In the Middle of Nowhere
Posts: 138
 

Default subnav work in 4.1.0

I'm trying to add this mod to x-cart gold vs. 4.1.0 .. without luck... does not list categories or subcategories... only bullets and horizontal rules ... any ideas?

Does this mod work with 4.1.0?
Reply With Quote
  #64  
Old 03-13-2006, 11:55 AM
 
clipperpro clipperpro is offline
 

Member
  
Join Date: Feb 2006
Posts: 13
 

Default

I know this is off the original topic but...

inVINCEible, I really like your search engine, did you mod this yourself?

Ray
__________________
Ray Slocum
clipperpro@gmail.com
http://www.lvssales.com
Reply With Quote
  #65  
Old 03-21-2006, 09:00 AM
 
gfiebich gfiebich is offline
 

Senior Member
  
Join Date: Feb 2003
Location: St. Paul, MN
Posts: 108
 

Default

Regarding the subcategory sorting: It looks like the problem could be fixed if the {section} loop was converted to a {foreach} loop in categories.tpl. I don't have time to futz with this today, but thats as much as I was able to figure out by looking at subcategories.tpl.
-Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS
Reply With Quote
  #66  
Old 03-23-2006, 03:02 AM
 
stevebag stevebag is offline
 

Member
  
Join Date: Jul 2003
Posts: 23
 

Default

If you comment out the following line in include/categories.php then the allcategories 'subcategories' will be sorted by their assigned sort_order and not alphabetically...

usort($all_categories, "func_categories_sort");

(about line 160) for me

I hope this helps

Steve
__________________
Version 4.0.18
Reply With Quote
  #67  
Old 03-23-2006, 09:37 AM
  proboscidian's Avatar 
proboscidian proboscidian is offline
 

Senior Member
  
Join Date: May 2005
Location: Clearwater, FL
Posts: 146
 

Default That did it!

Worked like a charm!
__________________
Industrial Webworks
Various xcart versions from 4.1.19 gold - 4.7 gold
http://www.industrialwebworks.net
Reply With Quote
  #68  
Old 03-23-2006, 11:55 AM
 
gfiebich gfiebich is offline
 

Senior Member
  
Join Date: Feb 2003
Location: St. Paul, MN
Posts: 108
 

Default

Thanks, Steve! Worked for my site too (Gold 4.0.16).
-Glen
__________________
NO LONGER USING X-CART - NOT ACTIVE IN THESE FORUMS
Reply With Quote
  #69  
Old 03-24-2006, 06:36 AM
  Hyperdelicious's Avatar 
Hyperdelicious Hyperdelicious is offline
 

Senior Member
  
Join Date: Sep 2002
Location: In the Middle of Nowhere
Posts: 138
 

Default

Anyone have luck getting this mod to work with x-cart gold vs 4.1.0?

I added this mod to x-cart 4.0.13 and it worked great ... now that I upgraded to 4.1.0 (via fresh install) ... I can't seem to get this mod to work .... any ideas?
Reply With Quote
  #70  
Old 03-24-2006, 06:38 AM
  proboscidian's Avatar 
proboscidian proboscidian is offline
 

Senior Member
  
Join Date: May 2005
Location: Clearwater, FL
Posts: 146
 

Default

Isn't 4.1 still beta?
__________________
Industrial Webworks
Various xcart versions from 4.1.19 gold - 4.7 gold
http://www.industrialwebworks.net
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 06:35 PM.

   

 
X-Cart forums © 2001-2020