I'm looking for a mod that will allow me to assign a number to each listing in a category and sort the listings by this number, in order to control which listing is listed first second and so on. Any help is apprecitated.
Jun 23, 2001, 9:47 AM
Veteran / Moderator (18441 posts)
Jun 23, 2001, 9:47 AM
Post #2 of 4
Views: 2138
Why not use the ID?
In links.def find;
# Field number to sort links by:
$db_sort_links = 1;
Change to
# Field number to sort links by:
$db_sort_links = 0;
Or whatever number is associated to the ID number
That is much easier than making your own number!
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
In links.def find;
# Field number to sort links by:
$db_sort_links = 1;
Change to
# Field number to sort links by:
$db_sort_links = 0;
Or whatever number is associated to the ID number
That is much easier than making your own number!
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
Jun 23, 2001, 10:27 AM
Veteran (19537 posts)
Jun 23, 2001, 10:27 AM
Post #3 of 4
Views: 2119
Its not as easy as that, you also have to edit sub build_sorthit.
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com