I always forget to add a teaser when I create new News articles, and I would like to try and make it a required field. Is there a backend template for the form where I can do that? Or would I actually have to find where the form is actually handled?
I always forget to add a teaser when I create new News articles, and I would like to try and make it a required field. Is there a backend template for the form where I can do that? Or would I actually have to find where the form is actually handled?
Hi etsauer
you can add to system/config/dcaconfig.php the following line
this will override the default behaviour that is defined in system/modules/backend/dca/tl_article.phpCode:$GLOBALS['TL_DCA']['tl_article']['fields']['teaser']['eval']['mandatory'] = true;
hope this helps
Consulenza Contao CMS https://www.intco.it
Bookmarks