Gossamer Forum
Home : Products : Gossamer Links : Discussions :

build_detailed

Quote Reply
build_detailed
hello all,

I have the following question:

in Build.pm in sub build_detailed {

you wil see something like this:

if (! $CFG->{build_detailed}) {
return Links::SiteHTML::display ('error', { error => Links::language('BUILD_DETAILED_DISABLED') } );
}

this returns an error message in error.html when build_detailed is disabled.

I don't want to have this message, but I want to automatically forward the user to detailed.cgi (from Pugdogs plugin.)

How can I do this?
Quote Reply
Re: [ericho] build_detailed In reply to
Just change; (in link.html)

<%if build_detailed%><a href="<%detailed_url%>">details</a><%endif%>

...to;

<a href="<%db_cgi_url%>/details.cgi?ID=<%ID%>">details</a><%endif%>

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 In reply to
Andy,

Pardon me if I'm wrong but wouldn't it be :

<a href="<%db_cgi_url%>/detail_page.cgi?ID=<%ID%>">details</a><%endif%>

rather than :

<a href="<%db_cgi_url%>/details.cgi?ID=<%ID%>">details</a><%endif%>

if the person is using pugdog's detailed page plug-in ?

John
Significant Media
Quote Reply
Re: [Jag] build_detailed In reply to
It probably is - but you can rename the detail_page.cgi file to whatever you like.
Quote Reply
Re: [afinlr] build_detailed In reply to
Hi Laura,

Good point. I often get stuck on small things like that so thought I'd mention it.

John
Significant Media
Quote Reply
Re: [Jag] build_detailed In reply to
In Reply To:
Pardon me if I'm wrong but wouldn't it be :

<a href="<%db_cgi_url%>/detail_page.cgi?ID=<%ID%>">details</a><%endif%>

rather than :

<a href="<%db_cgi_url%>/details.cgi?ID=<%ID%>">details</a><%endif%>

if the person is using pugdog's detailed page plug-in ?

Yes, you are correct... it should have been detail_page.cgi Blush

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!