Thanks Jozef, that works! I didn't think of config as a workspace.

I have another issue. Let's say I have built a string formatted with the label 
I'm interested in retrieving.

something like this:

[#assign mgLangLabel = '/server/i18n/system/languages/' + cmsfn.language()]
[#assign userLangLabel = 'label_' + lang]
[#assign optionLangLabel = "${" + "(cmsfn.contentByPath('" + mgLangLabel + "', 
'config')." + userLangLabel + ")" + "!}"]


<p>${mgLangLabel}</p>

<p>${userLangLabel}</p>

<p>${optionLangLabel}</p>

At the end ${optionLangLabel} is just a string and it just prints itself. What 
can be done to convert it to a command and retrieves the value from the JCR?

Thanks for your help,

Luis

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=7f9c82d2-93ad-4b1c-8462-fffc630405bb


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to