Forums / Setup & design / Send variable value to block from PageLayout.tpl

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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