You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an onBeforeWrite() call these values will save into:
MetaTitle
MetaKewords
Additionally the getCMSFields() call attempts to place these new fields next to the corresponding field they will override. The problem is, however, MetaTitle and MetaKeywords are not standard fields. They do not exist on VirtualPage or SiteTree and it cannot be assumed that they will exist in Page.
The result is fields that get dumped out at the bottom of the editor view, and which do not have the stated effect of overriding existing fields.
Is this a carryover from SilverStripe 3? An unstated dependency on another module which adds these fields?
The text was updated successfully, but these errors were encountered:
SubsitesVirtualPage defines the following fields:
In an onBeforeWrite() call these values will save into:
Additionally the getCMSFields() call attempts to place these new fields next to the corresponding field they will override. The problem is, however, MetaTitle and MetaKeywords are not standard fields. They do not exist on VirtualPage or SiteTree and it cannot be assumed that they will exist in Page.
The result is fields that get dumped out at the bottom of the editor view, and which do not have the stated effect of overriding existing fields.
Is this a carryover from SilverStripe 3? An unstated dependency on another module which adds these fields?
The text was updated successfully, but these errors were encountered: