Forums / Developer / override match conditions
Andrew Kelly
Thursday 19 October 2006 2:22:51 am
Hi all,anybody ever been able to get the 'class_group' match condition to function?
The docs say it's a valid match in node/view/full.tpl, but it won't hit for me. This a bug?
Andy
Claudia Kosny
Thursday 19 October 2006 10:48:16 am
Hi Andrew
I found this in the docu:
By default the "class_group" always returns a boolean FALSE value because the class group override feature is turned off. It can be turned on by setting the "EnableClassGroupOverride" directive in the [ContentOverrideSettings] block of a configuration override for "content.ini" to "true".
So make sure that you have this override enabled. Also try to print the content of the class_group variable - does it have any content?
Greetings from Luxembourg
Claudia
Monday 23 October 2006 3:48:48 am
Hi Claudia, thanks for the tip.
Now I just need to figure out how I didn't see that last line in the docs the first 4 times I read them.
..must be losing my marbles.