Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Switching templates by parameter ??

Quote Reply
Switching templates by parameter ??
Hi,

is it possible to change the template by parameters, for example if I click the link
....search.cgi?template=default&... I want to see the results in the default-Style and if I use
....search.cgi?template=myTemplate&... I will see the results in the design of myTemplate??

Which parameter shall I take instead of "template"?? Is it possible??

Thanks for helping,
Tina
Quote Reply
Re: [tga] Switching templates by parameter ?? In reply to
Nice an easy :)

page.cgi?t=template_set_name;d=1 ===> /local/templates/template_set_name/home.html

page.cgit=template_set_name;d=1;p=something ===>
/local/templates/template_set_name/something.html

Hope that helps Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!