View Single Post
  #4  
Old 01-30-2007, 06:04 AM
 
balinor balinor is offline
 

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

Default Re: Display subcategories that sort by position below each main category?

I did read the post, and I understand that you have the subcategories in place already and just want to change the order. The mods in the Custom Mods forum discuss this as well, and you will see that you need to open up include/categories.php and make some adjustments to the ORDER BY variables. By default, they are alphabetical, so you would need to change them to POS. I don't have the specifics in front of me, but look for instances like this:

ORDER BY $sql_tbl[categories].order_by, $sql_tbl[categories].category";

That would default to order by first, alphabetical second. Make sure order_by is first for all of the different options in that file.

Also, please keep all discussion to the forum itself. PMs to moderators should only be used if there is a problem with the forum. Thank you
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote