override match conditions

Author Message

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

Andrew Kelly

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.

Andy

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:09:07
Script start
Timing: Jan 19 2025 00:09:07
Module start 'layout'
Timing: Jan 19 2025 00:09:07
Module start 'content'
Timing: Jan 19 2025 00:09:07
Module end 'content'
Timing: Jan 19 2025 00:09:07
Script end

Main resources:

Total runtime0.0230 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 587.9141152.6250
Module start 'layout' 0.00740.0037 740.539139.4453
Module start 'content' 0.01110.0094 779.984489.4453
Module end 'content' 0.02050.0025 869.429730.3047
Script end 0.0230  899.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003916.7959140.0003
Check MTime0.00229.6742140.0002
Mysql Total
Database connection0.00104.554710.0010
Mysqli_queries0.003916.934730.0013
Looping result0.00000.087110.0000
Template Total0.00208.510.0020
Template load0.00135.524710.0013
Template processing0.00072.995010.0007
Override
Cache load0.00073.056110.0007
General
dbfile0.00229.515680.0003
String conversion0.00000.052940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs