Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Search result template(s)

Quote Reply
Search result template(s)
Itīs possible to give each category a special category-template.

What about search? Maybe there is a way to use also different search-result-templates,
maybe like ...search.cgi?query .......&t=template2

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Search result template(s) In reply to
Hi,

Yes, you could specify a different template set with t= in the url.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Search result template(s) In reply to
I tried it, but without success

In case of having a template category_galerie.html
should &t=category_galerie.html work?

I tried it wihtout result ...

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Search result template(s) In reply to
Hi,

No, you can only pass in t=template_set, as in t=yahoo or t=av.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Search result template(s) In reply to
Yes this works, but then I need to create the template globals, header and footer files twice. For the default-templates and the second template-set.

Can I make a setting that the second template-set will use the same infos as default do.

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Search result template(s) In reply to
Hi,

No, unfortunately not. You will be able to do this in 2.1, as Jason has added a great "inheritance" feature (where if you can find a template in one set, it will load it from another).

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Search result template(s) In reply to
Sounds good. I hope it will work for different search-result-templates.

Michael

--
Michael Skaide

http://www.cycle24.de