Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Sort links by rating?

Quote Reply
Sort links by rating?
hello,

just a quickie, how do you sort links by rating?

thank you,

eddie
Quote Reply
Re: [eddie123] Sort links by rating? In reply to
Hey man

For category, new, and cool page sorting go to Setup > Build Options

Right under "Page Display and Sorting Options:" you'll see:

build_sort_order_category
build_sort_order_new
build_sort_order_cool

If you like to sort your categories by votes your build_sort_order_category field sould look something like this...

Votes,isNew DESC,isPopular DESC,Title

You would just need to add "Votes" in front of whatever sort order you like. This way all of your links with the highest number of votes go to the top.

You'll also find you can sort your search results by going to Setup > Search options.

Hope that help ya out.

LaterWink
Quote Reply
Re: [Jonze] Sort links by rating? In reply to
hey jonze,

thanks for the help. do you know how to only display 10 links on a page, and if there's more then 10, then it'll start a new page.

thanx,

eddie
Quote Reply
Re: [Jonze] Sort links by rating? In reply to
hmm.. how would you sort by rating.

i'm using the star system.. like 5 stars good, 1 star bad..

i would like to sort my links by the highest score..

thanks,

eddie