Gossamer Forum
Home : Products : Links 2.0 : Discussions :

SSI and rate.html in Links

Quote Reply
SSI and rate.html in Links
Since I wanted to make the navigation little bit easier to maintain, I decided to use SSI in my site. It works just fine, SSI is implemented with my home.html and category.html -pages. However, when I tried to use SSI with my rate.html -page, the whole navigation bar just doesn't show up. Do I need to modify rate.cgi somehow or what should I do? I used include virtual command to implement the navigation and I have checked many times already, that the path points to right file. Any ideas ?
Quote Reply
Re: SSI and rate.html in Links In reply to
Sounds like you are included text files via SSI, right?

Two solutions:

1) Use the Header and Footer Mod in the FAQ section of LINKS2.0 in the Resource Center. I wrote the FAQ and I have it working on all my template and non-template pages in my LINKS directory.

Wink

2) Download the Enhanced Template.pm codes and put them into your Enhanced Template.pm. This will allow you to include files (like the <!---#include virtual="/path/to/text.txt"---> ), in the following manner:

Code:
<%include <%text.txt%>%>

There are explicit examples of the codes you can use in the Mod.

BTW: You cannot use SSI calls in .cgi scripts, like rate.cgi!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. Smile
----------------------










[This message has been edited by Eliot (edited January 30, 2000).]