How can I re-enable jmix:keywords in Content Editor?
Question
How can I re-enable jmix:keywords in Content Editor?
Answer
With Jahia 8.2, starting with jcontent 3.1.0 and site-settings-seo 3.2.0, jmix:keywords
field has been replaced by the new Meta description tag (seoKeywords
) field for displayable node types (See this SEO metadata documentation for usage of this new field).
The old jmix:keywords
field is now hidden by default since it is not i18n and cannot be used for SEO, and therefore the usage is limited.
However, users can make it re-appear if needed by overriding existing JSON override for hiding the field:
{
"nodeType": "jmix:keywords",
"priority": 3.0,
"sections": [
{
"name": "metadata",
"fieldSets": [
{
"name": "jmix:keywords",
"rank": 0.0,
"hide": false
}
]
}
]
}
Here we set a higher priority than the existing JSON override (source) to be able to unhide the field. Keywords fieldset should again be visible under Classification and Metadata section.
Also users can run a migration script (link) if needed for migrating values in jmix:keywords
into the new seoKeywords
field.