Share » Forums » General » Variables in the extension templates

Variables in the extension templates

Variables in the extension templates

Wednesday 22 August 2007 5:00:49 am - 2 replies

Author Message

André R.

Wednesday 22 August 2007 10:18:49 am

yes, look up kernel/content/view.php for how it's done.

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

Sergei Chusmah

Thursday 23 August 2007 1:01:28 am

Many thanks!

I'm still having a problem, though...
I have followed view.php and now the vars are available in the content of my extension pages, but I need some of the vars to be present in the header template (called from pagelayout.tpl) and they are not (e.g. languageCode)

By the way, is there some docs about the way pages are built? i.e. from index.php to including modules' code and setting the vars to the templates, etc. it would be great so i could learn these kind of things...

Thanks!

EDIT: i solved the problem, just waas lacking some setVariable statements... But I still would like to see some docs about page biulding mechanism anyway...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu