cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Meta description and keywords on smartedit pages

Former Member
0 Likes
1,108

Can I enter Meta Description & Key Words for the pages that I create via SmartEdit and if yes how?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Smartedit does not allow you directly to enter metadata and description for a page. Code changes needs to be done to enable the same. You need to re declare the bean 'defaultCmsStructureTypeBlacklistAttributeMap'. Inside this bean, there is a key - ContentPage. And keywords and description is blacklisted for this key. So this can be re-declared by removing this two like below -

<alias name="xxxxCmsStructureTypeBlacklistAttributeMap" alias="cmsStructureTypeBlacklistAttributeMap"/>

<bean id="xxxxCmsStructureTypeBlacklistAttributeMap" scope="singleton" parent="defaultCmsStructureTypeBlacklistAttributeMap">

<property name="sourceMap">

<map key-type="java.lang.String" value-type="java.lang.String" merge="true">

<entry key="ContentPage" value="homepage, labelOrId, navigationNodes, linkComponents, bannerComponets, flashComponents"/>

</map>

</property>

</bean>