Empty $DesignKeys:used

Author Message

Viktor Juhász

Saturday 12 September 2009 11:55:42 am

Hi!

I have a problem: the "$DesignKeys:used" variable is empty on my all eZ pages - when I try listing it with $DesignKeys:used|attribute("show") command, the result is a table header only (Attribute, Type, Value), but nothing else.

I'm using eZ 4.1.3 with eZ Components 2009.1.2.

Any idea?

André R.

Sunday 13 September 2009 2:14:44 am

Could you try to update one file from svn? (backup the one you have first):
http://pubsvn.ez.no/nextgen/stable/4.1/kernel/classes/datatypes/ezxmltext/ezxmloutputhandler.php

As in, I think it's maybe caused by this:
http://issues.ez.no/IssueView.php?Id=14328&activeItem=44

Btw, what are you using $DesignKeys:used for? It's highly undocumented, so if your looking for node or view params its maybe better to get them directly using $#node and so on(global variable).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Viktor Juhász

Monday 21 September 2009 5:45:04 am

Thanks for the answer, the new version of ezxmloutputhandler.php is working for me.

I'm using the $DesignKeys:used out of sheer habit... (:o)

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 18 2025 16:10:49
Script start
Timing: Jan 18 2025 16:10:49
Module start 'layout'
Timing: Jan 18 2025 16:10:49
Module start 'content'
Timing: Jan 18 2025 16:10:50
Module end 'content'
Timing: Jan 18 2025 16:10:50
Script end

Main resources:

Total runtime0.8710 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.0234152.6094
Module start 'layout' 0.00550.0029 741.632839.4141
Module start 'content' 0.00840.8609 781.0469533.3984
Module end 'content' 0.86930.0016 1,314.445312.1875
Script end 0.8709  1,326.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3845160.0002
Check MTime0.00130.1509160.0001
Mysql Total
Database connection0.00070.074910.0007
Mysqli_queries0.825394.7537570.0145
Looping result0.00050.0617550.0000
Template Total0.838996.320.4195
Template load0.00190.213120.0009
Template processing0.837196.106420.4185
Template load and register function0.00020.027910.0002
states
state_id_array0.00090.102510.0009
state_identifier_array0.00140.164220.0007
Override
Cache load0.00150.1759170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.082020.0004
Fetch class attribute name0.00110.123840.0003
XML
Image XML parsing0.00070.077820.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00070.0801170.0000
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs