I would like to not render markup and code editor for certain pages in CMS.
I lockated this one -> cms/classes/page/fields.yaml it is loaded in cms/controllers/Index.php and it is used to create formwidget.
When i click on certain Page to show - this method in Index controller is triggered: function index_onOpenTemplate() and inside this method formwidget ($widget) is created from config file field.yaml
How can i modify widget created from field.yaml config. I would like to somehow manualy edit loaded config before it goes to form widget creations but it cant be done because there is no acces to that.
How can i achieve this goal without editing original fields.yaml file.
Last updated