Forums / Developer / Empty $DesignKeys:used

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)