Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Re: [rgbworld] Can different category use differnt link template?

Quote Reply
Re: [rgbworld] Can different category use differnt link template? In reply to
In Reply To:
Is the list of templates that get used from the Category_Template directory just: category, subcategory, link and detailed?
That's right.

In Reply To:
Why doesn't Category_Template also take add.html, modify.html and the cooresponding success/failure/landing pages
from the specified template directory? THAT would make distinct categories very easy (I think).
Since by default, the template passes the category ID along to add.cgi, you could do this, except you would have to sort of force the template to be used. One way of doing it would be to write a plugin that hooked onto the add/modify, and using the ID, looked up what template should be used and set $IN->param(t => $template).

In Reply To:
I am just getting to detailed pages and I am trying to determin if I should be utilizing Category_Template field?
Well, there's many ways of doing it. It depends on if what's built in fits your needs. If not, you can easily add your own column and write a bit of code to handle it yourself. What don't you understand about the Category_Template field? I'll give an explanation about the field anyways:

As you know, setting the Category_Template will change the template set that will be used for the category, link and detailed templates. However, if you specify a template name (ie. not a template set), then that template will be only used for the category template instead of category.html and there will be no effect on the other templates. You can also specify a template theme (ie. template_name.template_theme_name) if you wish to just use a different style sheet for the category.

Adrian
Subject Author Views Date
Thread Can different category use differnt link template? drname 12193 Sep 10, 2002, 8:00 AM
Post Re: [drname] Can different category use differnt link template?
yogi 11960 Sep 10, 2002, 8:07 AM
Thread Re: [drname] Can different category use differnt link template?
Alex 12009 Sep 10, 2002, 1:00 PM
Thread Re: [Alex] Can different category use differnt link template?
drname 11985 Sep 10, 2002, 5:23 PM
Thread Re: [drname] Can different category use differnt link template?
pugdog 11905 Sep 16, 2002, 9:21 PM
Thread Re: [pugdog] Can different category use differnt link template?
rgbworld 10834 Apr 10, 2006, 4:59 PM
Post Re: [rgbworld] Can different category use differnt link template?
brewt 10831 Apr 10, 2006, 5:31 PM
Thread Re: [Alex] Can different category use differnt link template?
hcom 11573 Mar 27, 2003, 4:52 PM
Thread Re: [hcom] Can different category use differnt link template?
Alex 11538 Mar 29, 2003, 12:35 PM
Thread Re: [Alex] Can different category use differnt link template?
hcom 11610 Mar 29, 2003, 2:43 PM
Thread Re: [hcom] Can different category use differnt link template?
klauslovgreen 11557 Mar 29, 2003, 8:28 PM
Post Re: [klauslovgreen] Can different category use differnt link template?
hcom 11508 Mar 30, 2003, 6:05 AM
Thread Re: [hcom] Can different category use differnt link template?
pugdog 11529 Mar 30, 2003, 7:00 AM
Thread Re: [pugdog] Can different category use differnt link template?
hcom 11499 Mar 30, 2003, 7:10 AM
Post Re: [hcom] Can different category use differnt link template?
pugdog 11460 Mar 30, 2003, 7:35 PM
Thread Re: [hcom] Can different category use differnt link template?
Paul 11494 Mar 31, 2003, 1:49 AM
Thread Re: [Paul] Can different category use differnt link template?
mb 11420 Mar 31, 2003, 6:16 AM
Post Re: [mb] Can different category use differnt link template?
Andy 11419 Mar 31, 2003, 8:29 AM
Post Re: [mb] Can different category use differnt link template?
Paul 11484 Mar 31, 2003, 9:33 AM