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

Mixed | Direct and Jump links

Quote Reply
Mixed | Direct and Jump links
Hello Again

Wondering if it is possible to assng an enum to each link with the default being y or no and dependiong on which type of link either track it via jump or link straight to it. It may seem simple but I dont wish top break it :)

Quote Reply
Re: [ukseo] Mixed | Direct and Jump links In reply to
Should be as simple as that. Just add the ENUM field , and then in link.html, have something like;

<%if Field_Name eq 'Yes'%>
<a href="<%URL%>" target="_blank"><%Title%></a>
<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank"><%Title%></a>


Andy (mod)
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!