Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Using includes with static pages?

Quote Reply
Using includes with static pages?
I'm trying to use an include to display dynamic information. I added it to the templete file I'd like it to be in, but it's processing the information when it builds and not adding the actual include code into the document. Is there a way to get around this?


I'm guessing I would use a global for this, but not sure what to use.

---------------------------
Administrator
Webmaster Directory Network
Webmaster Stop
Webmaster Focus Network

Last edited by:

Ice Man: Sep 5, 2003, 9:59 AM
Quote Reply
Re: [Ice Man] Using includes with static pages? In reply to
You would probably need to write a Perl script, and use SSI to include it. The static pages get their information created at runtime, i.e when you run the build, so dynamic content will only show up correctly when being used with page.cgi.

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] Using includes with static pages? In reply to
That's what I'm doing. But I added the SSI into one of the template files. But like you said when it builds it's processing the ssi and displaying the information in the static pages. I want to the SSI to not be processed with builds.

---------------------------
Administrator
Webmaster Directory Network
Webmaster Stop
Webmaster Focus Network
Quote Reply
Re: [Ice Man] Using includes with static pages? In reply to
You sure its processing it? nph-build.cgi only parses <%tags%>, not <!-- exec --> etc tags.... Unsure

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] Using includes with static pages? In reply to
Let me check again.

---------------------------
Administrator
Webmaster Directory Network
Webmaster Stop
Webmaster Focus Network
Quote Reply
Re: [Andy] Using includes with static pages? In reply to
Ok your right, it's not. It must be my script, I thought Links was processing it when I built. Sorry for the troubles.

---------------------------
Administrator
Webmaster Directory Network
Webmaster Stop
Webmaster Focus Network