Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: Changing COOL sort to 'hits' only

Quote Reply
Re: Changing COOL sort to 'hits' only In reply to
This mod still works with the 1.11 version, the only difference is that Alex has added some code to build_cool_page

Code:
($LINKS{build_pop_cutoff} > 1) and ($total == $LINKS{build_pop_cutoff}) and last;

To check for the number of links being written out. Hopefully, to limit the links to the number specified. Just make sure to leave this right before the closing curly brace at the end of the while loop.

To see it in action, check out the what's cool page at:


http://www.postcards.com/pcSQL/pages/Cool/



The links are sorted by HITS but the category name is pre-pended to it. I also added the extra commentary... (I think I posted that in a thread on HTML bugs...).



------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/







Subject Author Views Date
Thread Changing COOL sort to 'hits' only pugdog 3073 Oct 18, 1999, 7:48 PM
Post Re: Changing COOL sort to 'hits' only
widgetz 2990 Oct 18, 1999, 8:14 PM
Post Re: Changing COOL sort to 'hits' only
pugdog 2990 Oct 18, 1999, 10:55 PM
Post Re: Changing COOL sort to 'hits' only
Alex 2991 Oct 19, 1999, 6:55 AM
Post Re: Changing COOL sort to 'hits' only
pugdog 2987 Oct 19, 1999, 8:16 AM
Post Re: Changing COOL sort to 'hits' only
widgetz 2989 Oct 19, 1999, 11:06 AM
Post Re: Changing COOL sort to 'hits' only
pugdog 2990 Oct 19, 1999, 12:30 PM
Post Re: Changing COOL sort to 'hits' only
pugdog 2993 Dec 22, 1999, 12:06 AM