Gossamer Forum
Home : Products : Links 2.0 : Customization :

newest links to top??

Quote Reply
newest links to top??
Is there any way to get the newest links to the top of the first page of a category?

any help greatly appreciated.
Quote Reply
Re: [arthurdavid] newest links to top?? In reply to
Erm, doesn't it already?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] newest links to top?? In reply to
no - at the moment mine adds alphabetically, rather than with new at the top. Is it possible to change this? where?
Quote Reply
Re: [arthurdavid] newest links to top?? In reply to
anyone got an idea? help please?
Quote Reply
Re: [arthurdavid] newest links to top?? In reply to
Look for the following variable in your links.def file:

# Field number to sort links by:
$db_sort_links

You will need to set that variable to the field number of your isNew field....

like the following:

$db_sort_links = 8;

Change 8 to the field number that you have for isNew field.

If that doesn't work, then you'll need to edit the sub build_sorthit in the db_utils.pl file. Search this forum for build_sorthit and you should find relevant threads.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] newest links to top?? In reply to
thanks Stealth - that seems to organise by new/date but it doesn't put the newest to the front, but to the back.

Is there anyway to get the new links to the top of a first page?