[jira] [Commented] (OFBIZ-5823) Add CMS metadata into renderer context

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5823) Add CMS metadata into renderer context

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175964#comment-14175964 ]

Gaudin Pierre commented on OFBIZ-5823:
--------------------------------------

Many thanks Deepak, I was on the wrong way !!

But i think that we should change the way CMS tree view of a website stores metadata because it is store into DataResource entity, not  into ContentMetaData.
I'd like to provide a patch to fix this.

Do you agree with it?

Many thanks,

Pierre




> 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)