[
https://issues.apache.org/jira/browse/OFBIZ-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175921#comment-14175921 ]
Deepak Dixit commented on OFBIZ-5823:
-------------------------------------
Thanks Pierre,
ContentMapFacade have different way to render the content.
You can refer the HtmlHead.ftl for this.
{code}
<meta name="description" content="${(decoratedContent.subcontent.metaDescription.render)!}"/>
<meta name="keywords" content="${(decoratedContent.subcontent.metaKeywords.render)!}"/>
{code}
IMO we can close this task.
> Add CMS metadata into renderer context
> --------------------------------------
>
> Key: OFBIZ-5823
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5823> Project: OFBiz
> Issue Type: Improvement
> Components: content, specialpurpose/cmssite
> Affects Versions: Trunk
> Reporter: Gaudin Pierre
> Priority: Minor
> Fix For: Trunk
>
> Attachments: CMSMetadata.patch
>
>
> In website CMS, for a page, you can specify metadata.
> Unfortunatly those metadata are not availables into the cms page context.
> This patch add metadata into context of all pages. Thus you can use them.
> To test this patch, add metadata associated to a cms page (ie metaDescription).
> Edit the cms page to add ${metaDescription}.
> Then display the page
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)