Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Home page category sort order

Quote Reply
Home page category sort order
It seems the build_home routine is ignoring the category sort parameter.

I had to add:

my $sort_order = 'ORDER BY ' . $CFG->{'build_category_sort'};
$cat_db->select_options($sort_order);

To the Build.pm sub build_home (right above the select statement) to make it sort the categories in a non-random order (the order I added them).

I did not update my configuration files automatically (did it by a compare) so I don't know if that makes a difference... but shouldn't the options be set in that routine, regardless?

PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Subject Author Views Date
Thread Home page category sort order pugdog 2021 Dec 16, 2000, 12:02 AM
Post Re: Home page category sort order
Alex 1944 Dec 18, 2000, 7:15 PM