Perlfect Solutions
 

[Perlfect-search] multiple templates for the search result page

Daniel Naber daniel.naber at t-online.de
Wed Dec 1 18:58:07 GMT 2004
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