Skip to main content.
home | support | download

Back to List Archive

RE: Swish.cgi not seeing my template

From: Aaron Bazar <aaronb(at)not-real.spamcop.net>
Date: Fri Apr 02 2004 - 23:06:56 GMT
 
I have mine set up with the entire path to the template file. 

Regards,

Aaron Bazar
http://www.buythroughus.com/

-----Original Message-----
From: swish-e@sunsite.berkeley.edu [mailto:swish-e@sunsite.berkeley.edu] On
Behalf Of Jody Cleveland
Sent: Friday, April 02, 2004 3:40 PM
To: Multiple recipients of list
Subject: [SWISH-E] Swish.cgi not seeing my template

Hello again,

I've got swish-e 2.4.2 indexing and searching properly, now I just need to
get it to see my template. In /usr/local/share/swish-e I've got a file
called lifeinwinnebagoland.tt for my template. In the swish.cgi file, I've
got this:
Xtemplate => {
	package	=> 'SWISH::TemplateToolkit',
	file		=> 'lifeinwinnebagoland.tt',
	options	=> {
		INCLUDE_PATH	=> '/usr/local/share/swish-e',
	},
},

I've also got HTML::Template installed on the Redhat 3 AS machine.

When I view the search page:
http://199.242.176.170/cgi-bin/search/liw_swish.cgi

I just see the default page. It's as if it doesn't know the template is
supposed to be used. What am I missing?

--
Jody Cleveland
Computer Support Specialist
cleveland@winnefox.org
Received on Fri Apr 2 15:06:56 2004