Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Main categories ordering

Quote Reply
Main categories ordering
Is there a way to order the main categories that way you want?

For example if you have Arts, Business, Computers, Internet, Society categories, links will automatically alphabetize them for you on your entry index page as I have them listed. But can one manually set these categories the way they want them to appear on the main index page?
Quote Reply
Re: [curman] Main categories ordering In reply to
You can change the order but only by field name ascending/descending.

It isn't possible to order them individually.

Take a look at.... Setup > Build Options > build_sort_order_category

Last edited by:

RedRum: Feb 21, 2002, 10:37 AM
Quote Reply
Re: [curman] Main categories ordering In reply to
Not currently, easily, but hopefully Alex will work the code for GossamerForum into this for at least the top-level categories in a future release :)

It should be as easy as adding a new field to the Category table, and sorting on that field. Basically, not only specifying a sort order, but a sort field -- Name or Order --


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Main categories ordering In reply to
Actually, thinking about it, if you use the <%loop%> construct, you could probably use a global to take the array of hash refs, and reorder the array based on a field of the hash, and return a <%loop_sorted%> tag to use.... Hmmm....


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Main categories ordering In reply to
How about simply suppressing the index page from NOT building and HTML coding it manually to get your categories the way you want them to be seen?
Quote Reply
Re: [curman] Main categories ordering In reply to
anybody found a solution for this problem?
Quote Reply
Re: [Essam] Main categories ordering In reply to
Hi,

Yes, you could add a column to the Category table called 'Sort_Order' and set the order you want the categories to be listed in. Then goto Setup->Build Options and change build_category_sort to Sort_Order and it will list the categories based on the order you enter.

Cheers,

Alex
--
Gossamer Threads Inc.