Gossamer Forum
Quote Reply
Include in static pages
Hello.

I want include a different file in each category.
This files are stored in the folders of the categories.

In dynamic modus it works. But not in static.

For include I use this.
<%include /path/to/menu.txt%>

Knubbel

Quote Reply
Re: [Knubbel] Include in static pages In reply to
Is this meant for GLinks, not GMail? Tongue

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] Include in static pages In reply to
Oooops, the wrong category.... Angelic

It means GLinks.
Quote Reply
Re: [Knubbel] Include in static pages In reply to
Can you give me a few more examples? i.e real file names / actual example of the "call" you are using to try and get the file to show.

BTW: I've moved the thread into the right forum for you ;)

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] Include in static pages In reply to
I'm using this in the category template:

<%include /homepages/21/d28782445/htdocs/www/test/Pets/test.txt%>

Pets is the category where I want the file test.txt include. In dynamic it does work, but not in static...
Quote Reply
Re: [Knubbel] Include in static pages In reply to
Hi,

Mmm.. if it works in dynamic, it should work fine in static too.

You don't get any error messages in the template, where the "include" should be? (on static pages)

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] Include in static pages In reply to
It runs!! Laugh

I forgot a folder in the path.... Blush

Thanks for spending your time...
Quote Reply
Re: [Knubbel] Include in static pages In reply to
Np - glad you got it working Wink

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!