Forums / Setup & design / right sidebar context infos dependent. How to ?

right sidebar context infos dependent. How to ?

Author Message

Ekkehard Dörre

Thursday 14 April 2005 2:04:37 am

Sorry, no idea anymore,

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

laurent le cadet

Thursday 14 April 2005 2:23:50 am

No problem ;))), thank you very much for your help and your time.

if it's not too much...you were talking above about my futur needs and you were right because I need to print, in toolbar, context infos (class infos) which are store at the root of a folder even if the current node is a subitem of this folder (e.g. article).

I read the different threads but I can't reproduce that.

At this point, toolbar/full/infos.tpl looks still like this :

{section name=Enfants loop=fetch(content, list, hash(
parent_node_id, $DesignKeys:used.node,
class_filter_type, include,
class_filter_array, array( 'infos' ) ) )}
{node_view_gui view=full content_node=$Enfants:item}
{/section}

My problem is that I don't really understand how to step back from $DesignKeys:used.node.

Laurent

Ekkehard Dörre

Thursday 14 April 2005 2:47:31 am

Never tried. Worked for me like in example:
http://ez.no/ez_publish/documentation/incoming/how_to_find_the_parent_and_grandparent_of_an_object

You can look, what result you get in template.

module_result <br />{$module_result|attribute(show,2)}
designkeys <br />{$DesignKeys:used|attribute(show,2)}
view_parameters <br />{$view_parameters|attribute(show)}
uri_string {$uri_string} <br />
site <br />{$site|attribute(show)}
ezinfo <br /> {$ezinfo|attribute(show)}

http://www.ez.no/ez_publish/documentation/reference/template_operators/miscellaneous/attribute

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing