Modifying core modules.
Created 6 years ago by azraai

Hi, I need override some table and form in core modules. Eg. add boolean fields to post or add image to menu links. Is there any recommendation to override the streams settings without editing the core file directly.


piterden  —  6 years ago

Yes. You could add bindings to the Service Provider of your addon to achieve this.

piterden  —  6 years ago

Also, your migrations could easily extend existing tables.

azraai  —  6 years ago

I understood I can use service provider binding to modify PostEntryFormSections.

For the migration, I can use normal Laravel migration or is the any specific way to add fields for streams module.