Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Variable search templates

Quote Reply
Variable search templates
Has anyone got any ideas as to how to best implement the following thing?

I would like be able to display the results of a search with different templates. The templates are chosen according to some hidden input field. E.g if I pass searchtype=normal I want to use the normal template, and if I pass searchtype=special I want to use a different template.

Should I do this using plugins (elegant solution, but I don't know how to select the output template), or should I use a different template set (using t=templateset)?

Thanks for your help.


Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Post Variable search templates yogi 2051 Jan 7, 2002, 12:33 PM