[quote]How get page properties in .ftl file of area or component?[/quote]
You could use the cmsfn.page() templating function to get the page on which the
component or area resides. The function will return a ContentMap of the page
which you can then navigate with dot notation.
Example:
[code]
[#assign myPage = cmsfn.page(content)!]
<p>Keywords on this page are: ${myPage.keywords!}</p>
[/code]
https://documentation.magnolia-cms.com/display/DOCS/cmsfn
https://documentation.magnolia-cms.com/display/DOCS/Rendering+context+objects
--Antti
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=c3a0a298-dfed-46ac-8839-54130bb323bb
----------------------------------------------------------------
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]>
----------------------------------------------------------------