on ‎2019 May 20 10:09 AM
Can I enter Meta Description & Key Words for the pages that I create via SmartEdit and if yes how?
Request clarification before answering.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.