Gossamer Forum
Home : Products : Gossamer Links : Discussions :

detailed.html static and dynamic

Quote Reply
detailed.html static and dynamic
I want to use detailed.html with different "backlinks" depending of detailed is builded as a static page or as a dynamic page (using search.cgi).

something like that ....

<%if static%>
<%title_linked%>
<%endif%>

<%if dynamic%>
<%backlink%>
<%endif%>

<%backlink%> would be a template global

sub {
my $referer = $ENV{HTTP_REFERER};
return $referer;
}



Is there a way to make something like that?

Michael


--
Michael Skaide

http://www.cycle24.de

Last edited by:

Michael Skaide: Dec 30, 2001, 10:12 AM
Quote Reply
Re: [Michael Skaide] detailed.html static and dynamic In reply to
Ok,

I found a way. I created a second detailed.html > detailed2.html.

Changed the settings in page.pm and added a subroutine in build.pm
so that dynamic pages use the special detailed-page.

Michael

--
Michael Skaide

http://www.cycle24.de