Gossamer Forum
Home : Products : Links 2.0 : Customization :

Using SSI in cgi pages

Quote Reply
Using SSI in cgi pages
I need to use an SSI call in my templates. Is there any way that i can add this to site_html_temp so that it will build when i create the pages? I was thinking something like the way webadverts used to do with the old mod. Any ideas?

Michael McCurley
Revenue-Sources.com

Quote Reply
Re: Using SSI in cgi pages In reply to
Again...if you are thinking of the CGI based template files (like add.html, modify.html, etc.), then you will have to use the WebAdverts modification, which codes, again, can be found in this forum.

In fact, there is a recent Thread in the Forum homepage that again talks about WebAdverts...I believe the topic is entitled SSI and Subcategories. WebAdvert codes are in that Thread.

And, btw, I already responded to your duplicate post.

Regards,

Eliot Lee
Quote Reply
Re: Using SSI in cgi pages In reply to
Eliot,
I am always thankful for your help. I am wanting to use an SSI call in all template files, add.html, modify, html, category.html, new.html and the rest. The webadverts code wont work, i am not wanting to use webadverts with this. This is for a totally different script. I just need to find a way to do this, i mentioned webadverts as a similiarity as to what i need.

And, btw, This is not a duplicate post. This is for a totally different reason than the post you are referring to.

Michael McCurley
Revenue-sources.com

Quote Reply
Re: Using SSI in cgi pages In reply to
In Reply To:
The webadverts code wont work, i am not wanting to use webadverts with this.
Okay...listen, if you want to include other CGI scripts within CGI scripts, then you will have to use WEBADVERTS MOD for the CGI-based templates.

If you simply want to INCLUDE files, then you could simply create other global variables...search this forum for header footer Bobsie.

In Reply To:
And, btw, This is not a duplicate post. This is for a totally different reason than the post you are referring to.
I beg to differ. Wink


Regards,

Eliot Lee
Quote Reply
Re: Using SSI in cgi pages In reply to
Ok, I am wanting to include an SSI call to a tracking script. include virtual="/cgi-bin/track.cgi" --> So you are saying the only way to do this is with webadverts?

The post you were referring to earlier i was looking for the webadverts mod, as i will be using it for ads. This particular post is for a tracking program i wish to use. I know there is one in the resources, but i prefer to use this if possible. There has to be an easier way to do this than using two webadverts mods (one for the ads, and one for the tracking), got to be an easier way.

Thanks for your help so far Eliot.

Michael McCurley
Revenue-Sources.com



Quote Reply
Re: Using SSI in cgi pages In reply to
In Reply To:
So you are saying the only way to do this is with webadverts
For CGI-generated template files (add.html, modify.html, etc.)...YES!

For your other template pages, you will have to use:

Code:

< !--#exec cgi="/cgi-bin/tracker.cgi"-- >


no spaces.

If you try to create a global variable called, let's say "tracker" using the WEBADVERTS mod, and you try to use this tag in the non-CGI generated template files (like home.html, category.html, etc.), then the following WILL appear at the top of the pages:

Code:

Content-Type: text/html


Basically, it is a duplication of headers within the non-CGI generated pages.

In Reply To:
The post you were referring to earlier i was looking for the webadverts mod, as i will be using it for ads. This particular post is for a tracking program i wish to use. I know there is one in the resources, but i prefer to use this if possible. There has to be an easier way to do this than using two webadverts mods (one for the ads, and one for the tracking), got to be an easier way.
My point is that you seem to be going around in circles and this issue has already been addressed in this forum.


Regards,

Eliot Lee
Quote Reply
Re: Using SSI in cgi pages In reply to
Ok, i guess i will have to do it with WebAdverts then. Thanks for your help Eliot!

I aplogize if the outcome of this was a duplicate post. It was not my intention when i posted. I guess sometimes i get to doing to much at once.

Michael McCurley
Revenue-Sources.com

Quote Reply
Re: Using SSI in cgi pages In reply to
Hi,

Where can i get the WebAdvert Mods ?

Quote Reply
Re: Using SSI in cgi pages In reply to
One very important word:

The SSI EXEC Tag can be used within every generated Page, but not within Dynamicpages like search, add, modify, newsletter etc.

Because these pages are generated trough the CGI scripts when you call them.

I've heard, that the INCLUDE tag could be included everywhere when your server allowes it and some special configs are made on the server.

For the normal SSI you only must change the Extension and thh index file in the links.cfg to index.shtml and .shtml

On my page I included the Poll, the hitcounter and NewsPro via SSI =)

Hope you now know little bit more.

[ :: http://www.muyo.de :: ]
[ :: today a good day to die, let's install Windows ME :: ]