留言板
Display Dynamics element (link_to_layout) variables in theme
Samuele Veneruso,修改在12 年前。
Display Dynamics element (link_to_layout) variables in theme
New Member 发布: 1 加入日期: 11-7-1 最近的帖子
HI!
I've this problem.
I create the follow structure:
and i make a template with associated the structure and a content with the data.
If I call $journalContentUtil.getContent()) i correctly get the defined values merged with the template.
I would like to know if it's possible to access the single variables values in the theme (portal-normal.vm) without render the content? I mean, like this:
$link1.getUrl()
So I could handle the content defined variables separately.
How can i make this? It is possibile ?
Thank you very much.
I've this problem.
I create the follow structure:
<!--?xml version="1.0" encoding="UTF-8"?-->
<root>
<dynamic-element name="link1" type="link_to_layout" index-type="" repeatable="false" />
<dynamic-element name="link2" type="link_to_layout" index-type="" repeatable="false" />
</root>
and i make a template with associated the structure and a content with the data.
If I call $journalContentUtil.getContent()) i correctly get the defined values merged with the template.
I would like to know if it's possible to access the single variables values in the theme (portal-normal.vm) without render the content? I mean, like this:
$link1.getUrl()
So I could handle the content defined variables separately.
How can i make this? It is possibile ?
Thank you very much.