Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Inserting a category into a webpage?

Quote Reply
Inserting a category into a webpage?
I'm totally new to this and i've search the forums and help but i'm a little confused.

I'll try and keep this simple. I'm trying to insert a category into a webpage. I understand how to make the templates but my problem is that each webpage is different.

What i need is a way to call up certain categories and place them into the webpages manually. I thought maybe SSI includes would work but i had no luck in finding anything that explains in detail how to do that.

The only other way i can think of how to do this, is bye making each category its own unique template but that would be very time consuming.
Quote Reply
Re: [Camelman] Inserting a category into a webpage? In reply to
I image you could do this using SSI and page.cgi. Just put

<!--#include virtual="path/to/your/cgi-bin/page.cgi?g=the name of your category" -->

Obviously you would have to do this with a .shtml extension.

If you have php installed on your server, you could use a .html extention with

<? include "path/to/your/cgi-bin/page.cgi?g=the name of your category"; ?>

Hope this helps,

- Jonathan
Quote Reply
Re: [jdgamble] Inserting a category into a webpage? In reply to
I tried <!--#include virtual="path/to/your/cgi-bin/page.cgi?g=the name of your category" --> it worked with the .shtml extension :)

Thanks