Gossamer Forum
Home : General : Perl Programming :

SSI On search error page of links 2.0

Quote Reply
SSI On search error page of links 2.0
I want to add some text in to the search error page through SSI. I have tested the code on a normal HTML page but when I put it in the search error template and rebuild the page loads up to that point and then just stops and hangs... I tried changing the file extensions to ".shtml"(my server requires it) but it still don't work. :\

Anyone know why?

Steven


------------------
Steven Bond
Webmaster for:
Search4info.com and Blur-online.com
"The real danger is not that computers will begin to think like men, but that men will begin to think like computers."
-Unknown

Quote Reply
Re: SSI On search error page of links 2.0 In reply to
SSI codes won't work in a cgi file. The search template files are all called directly from the search.cgi file. What you could attempt is create a sub-routine either in site_html_templates.pl and create a global variable OR create a sub-routine in search.cgi and place &Insert_Something in the query sub-routine of the search.cgi file.

Just a suggestion.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us