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

Build_Detailed Plugin on ratings page

Quote Reply
Build_Detailed Plugin on ratings page
Hi Andy,
I'm using your Build_Detailed Plugin.
It works fine except on the ratings page.
There are some links on the ratings page set detailed page to NO but there is still the link to
cgi-bin/unterricht/jump.cgi?Detailed=xxxxx
And the detailpages are built too?

Thanks
Matthias


Matthias
gpaed.de
Quote Reply
Re: [Matthias70] Build_Detailed Plugin on ratings page In reply to
Hi Andy,
I have played with the code and changed
Code:
<td><%if detailed_url%><a href="<%detailed_url%>"><%elsif URL ne 'http://'%><a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>"><%endif%><%Title%><%if detailed_url or URL ne 'http://'%></a><%endif%></td>

to

Code:
<td><%if Build_Detailed_Page%><a href="<%detailed_url%>"><%elsif URL ne 'http://'%><a href="<%URL%>"><%endif%><%Title%><%if detailed_url or URL ne 'http://'%></a><%endif%></td>

Is this right or did I miss something?

Thanks
Matthias

Matthias
gpaed.de

Last edited by:

Matthias70: Aug 23, 2007, 11:10 AM
Quote Reply
Re: [Matthias70] Build_Detailed Plugin on ratings page In reply to
Hi,

I think what you need, is:

Quote:
<%if Build_Detailed_Page eq "1"%>

Hope that helps.

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] Build_Detailed Plugin on ratings page In reply to
Hm, at the moment this code runs fine

<%if Build_Detailed_Page%><a href="<%detailed_url%>"><%elsif URL ne 'http://'%><a href="<%URL%>"><%endif%><%Title%><%if detailed_url or URL ne 'http://'%></a><%endif%>

I will try your code, when I find some problems
Thanks
Matthias

Matthias
gpaed.de