eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

Snippet: Template Variable Scope / Passing Variables to Template

|
|
Next article
 »

Question

Is there anything like $module_result.content_info.persistent_variable

I could use instead of it? Something to pass data from tpl of shop to pagelayout.tpl

Solution

Found out I can use {set-block scope=global variable=NAME}VALUE{/set-block}

References

Article provided by eZpedia

All text is available under the terms of the GNU Free Documentation License

Powered by eZ Publish 6.0.2stable

Hosted by USA eZ Publish Community Partner : Brookins Consulting