Fórum
Display Dynamics element (link_to_layout) variables in theme
Samuele Veneruso, modificado 12 Anos atrás.
Display Dynamics element (link_to_layout) variables in theme
New Member Mensagem: 1 Data de Entrada: 01/07/11 Postagens Recentes
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.