Re: multiple templates for the search result page

Daniel Naber <[email protected]> Wed, 1 Dec 2004 19:58:07 +0100
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
On Wednesday 01 December 2004 10:13, Yves Hanotiau wrote:

> I'm using Perlfect Search 3.31.
> Is it possible to have different templates for the "search result" page
> ?

You can use the language feature to define several templates:

$SEARCH_TEMPLATE{'en'} = $TEMPLATE_DIR.'search.html';
$SEARCH_TEMPLATE{'de'} = $TEMPLATE_DIR.'search_de.html';

The 'lang' parameter will then be used to select a template.

Regards
 Daniel

-- 
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search