The following doesn't work anymore in Magnolia 5. Is this on purpose? Is it a
bug? Is the second way recommended?
1.
[code]
- /server/rendering/freemarker/sharedVariables/myfn
- class = info.magnolia.templating.functions.TemplatingFunctions
[/code]
${myfn.link(content)} throws an error
[code]Caused by: info.magnolia.rendering.engine.RenderException:
freemarker.core.InvalidReferenceException: Expression myfn is undefined on line
23, column 8 in templating-kit/pages/main.ftl.[/code]
Should we now place our custom variables under
/modules/rendering/renderers/freemarker/contextAttributes/ like the already
existing cmsfn and cms?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=26416137-7bc4-4b02-8aea-f3f1afa90bd0
----------------------------------------------------------------
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]>
----------------------------------------------------------------