View Single Post
  #7  
Old 07-06-2006, 11:18 AM
 
Hunabku Hunabku is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 47
 

Default

Quote:
Originally Posted by Jerrad
Thanks for this usefull mod!
Is it possible to see it somewehere in 'action'?

Well thanks Jerrad but perhaps not so useful - just yet. There is a category sorting step(s) that needs to be added.

In my test I put a sub-sub category into the very last sub category and it worked fine - it showed up where it should - at the end. Recently however when I entered a sub-sub category to a sub category in the middle of my list it also showed up at the end - since the defaut sort order for categories is the time they were added.

One of the things I like about this code so far is that it only searches the catagory table once and then works with the array. I have a feeling that inorder to have nested subs with proper ordering it will require multiple (looped) searches of categories table - unless there is a way to cleverly reorder the array - that might be some involved programming though.

Back to the drawing board.... Can anyone help?

PS: I'll give you the URL to my store as soon as this is cleared up.
__________________
Version 4.1.3
Reply With Quote