Forums / General / Question about variables scope

"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".

Question about variables scope

Author Message

Sébastien Antoniotti

Monday 24 September 2007 5:04:24 am

Hi,

I would like to define a variable into the pagelayout.tpl and use it into all my content view template file.

is there a way to to this ?

eZ Publish Freelance
web : http://www.webaxis.fr

André R.

Monday 24 September 2007 6:16:54 am

No, module views (including content/view) are generated befrore pagelayout is generated.

About scope:
http://ez.no/developer/forum/developer/what_is_variables/re_what_iare_variables__2

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

Sébastien Antoniotti

Monday 24 September 2007 6:32:11 am

Ok thank you !

eZ Publish Freelance
web : http://www.webaxis.fr