Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Build 'Cool' links using different field?

Quote Reply
Build 'Cool' links using different field?
I am developing a site where the URL field for links is redundant. Clicking on a link takes the user to the detailed page (using pugdog's detailed page plugin).

Is it possible for the links designated as 'Cool' to use the value in the Detailed_Hits column instead of the standard Hits? I am not using jump.cgi to link to the detailed pages - detailed page URLs are rewritten to appear as static links.

I think this might be in the too hard basket but if someone can tell me otherwise it would be appreciated Wink.
Quote Reply
Re: [aus_dave] Build 'Cool' links using different field? In reply to
Links are 'cool' when they have their isPopular column set. isPopular is set when you build, and is done in Links::Build::build_cool_flags. To do what you want to do, you'll have to change that bit of code to use the different column (but remember it'll be overwritten on upgrades).

Adrian
Quote Reply
Re: [brewt] Build 'Cool' links using different field? In reply to
Thanks Adrian, that's given me a few ideas on how to approach it anyway Wink.