Send variable value to block from PageLayout.tpl

Author Message

Gianfranco Forlino

Tuesday 04 March 2008 3:15:24 am

I, excuse for my bad english. How can i send value from variable (for example node_id and $node.name) from my pagelayout.tpl to generic block (.tpl)? I tested with global variabile but the result are nothing.

Cheers

André R.

Tuesday 04 March 2008 4:26:00 am

What do you mean by "generic block (.tpl)" ? Node template?
If so: this is not possible since the content (content view for nodes or system pages) is generated before pagelayout.

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

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