Skip to main content.
home | support | download

Back to List Archive

[swish-e] Using more than one template

From: Kake Lol <kakelol(at)not-real.gmail.com>
Date: Fri Jun 15 2007 - 06:40:13 GMT
Hi.

I'm using swish.cgi, and I'm trying to use more than one template
(multiple designs, one CGI).

I'd like to send a "<input type="hidden" name="template" value="3">"
from the search form.

I'm using this config:

template => {
   package         => 'SWISH::TemplateToolkit',
   file            => 'swish.tt',
     options         => {
       INCLUDE_PATH    => '/var/www/',
     },
},

How can I change 'file' after which template sent in the search form?
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Jun 15 02:40:16 2007