We use metadata extensively on our website to optimise for search engines (the Title and Description tags being most useful along with the actual page name). However, the way metadata is entered on the Options tab when adding/amending a page seems quite clunky and prone to end-user error compared to other parts of CMSMS. The User Handbook says the following:
==> To add Metadata, surround with tags, for example: -- and --
Presumably though, a more user friendly way of capturing the data could by adding {capture} tags to the page template to prompt the user to enter them on the main tab and then write these into the HEAD area?
If this is the case, and given the importance of putting metadata into our pages, is there a way to make the entry of data like this compulsory?
Thanks in advance.
Making metadata and other fields compulsory
Re: Making metadata and other fields compulsory
you could add {content block="description" online="true"} to your template. this gives you one more edit field when editing a page (and I think its required as default)
hope this helps
hope this helps
-
Anastasis
Re: Making metadata and other fields compulsory
TSW - Many thanks for your thoughts on this. I tried it but unfortunately leaving the field blank and pressing the Submit button just accepts it and saves the blank.tsw wrote: you could add {content block="description" online="true"} to your template. this gives you one more edit field when editing a page (and I think its required as default)
hope this helps
Maybe there is something that can be set into the configuration of the way the page is validated when it is saved. I see if you fail to add both a Title and Menu Text it is displays an error message requiring you to enter something.
----------------------------------------
* No Title given!
* No Menu Text given!
----------------------------------------
Re: Making metadata and other fields compulsory
those checks are hardcoded in editcontet.php..
I think extra content blocks could be set as required (with one more parameter) but I have to consult the code
I think extra content blocks could be set as required (with one more parameter) but I have to consult the code

