Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

sort with two links that go together

Quote Reply
sort with two links that go together
Has anyone been able to develop a way to sort so that two links show up together?

Ex.

For one of my sites I use jokes instead of links, and two jokes need to be read one after the other.

Quote:
What do you call a blind dinosaur? - do-you-think-he-saw-us

What do you call a blind dinosaur's dog? do-you-think-he-saw-us rex

This would be two different links and I would like to sort them so they go together.

Would this be difficult to do or create a way to do this? Any ideas would be appreciated.

Thanks,

- Jonathan
Quote Reply
Re: [jdgamble] sort with two links that go together In reply to
Just add a new field in the Links table, called SortOrder - and have it going through a scale of 1, through to whatever - and then edit build_cat_sort_order in Setup > Build Options, and add something like

SortOrder DESC

Then, just edit the link you want (in the other you want), and voila :)

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] sort with two links that go together In reply to
Thanks Andy,

Yeah, I am trying to sort by Rating first, then by that. But I think I got it all figured out for now.

- Jonathan