Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [jeffb] Category Template - Don't want subs to inherit

Quote Reply
Re: [jeffb] Category Template - Don't want subs to inherit In reply to
You'll probably want to remove the line:
<%if Category_Template and Category_Template ne 'navcategory.html'%><%include $Category_Template%><%endparse%><%endif~%>
from your templates anyways since it isn't needed (it was old template code that was left in).

There's currently no easy way to disable the inheritance, but it's on my todo list. In the meantime, You could just use what I suggested above for the upper level categories and clear out the Category_Template values for the categories.

Another thing you could do is create a new column and use that old line of template code at the top of your category.html template:
<%if COLUMNNAME%><%include $COLUMNNAME%><%endparse%><%endif~%>

Adrian

Last edited by:

brewt: Oct 3, 2006, 4:14 PM
Subject Author Views Date
Thread Category Template - Don't want subs to inherit Chrisp 4613 Sep 4, 2005, 8:21 AM
Thread Re: [Chrisp] Category Template - Don't want subs to inherit
brewt 4493 Sep 4, 2005, 2:42 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
Chrisp 4472 Sep 4, 2005, 2:55 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 4349 Oct 3, 2006, 6:25 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 4368 Oct 3, 2006, 4:13 PM
Thread Re: [brewt] Category Template - Don't want subs to inherit
jeffb 4354 Oct 4, 2006, 5:04 AM
Thread Re: [jeffb] Category Template - Don't want subs to inherit
brewt 4326 Oct 4, 2006, 6:06 PM
Post Re: [brewt] Category Template - Don't want subs to inherit
jeffb 4343 Oct 5, 2006, 8:20 AM