Just for the record, I tried the code using freemarker:
[code][#if content.image?has_content]
Image: <img
src="${cmsfn.linkForWorkspace(content.image,content.imageDmsUUID)}" />
[#else]
Image: No image uploaded yet.
[/#if][/code]
But I get this Error message:
FreeMarker template error!
Expression cmsfn.linkForWorkspace is undefined on line 3, column 28 in
templates/components/ServicesParagraph.ftl.
The problematic instruction:
----------
==> ${cmsfn.linkForWorkspace(content.image,content.imageDmsUUID)} [on line
3, column 26 in templates/components/ServicesParagraph.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression cmsfn.linkForWorkspace is
undefined on line 3, column 28 in templates/components/ServicesParagraph.ftl.
I'm not getting it...I thought I don't have to declare the cmsfn taglib so why
is "cmsfn.linkForWorkspace" undefinied?!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=2b969df8-d962-45e4-a2fd-ebae14ba2fa7
----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------