Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hey,
I added a field to an existing table and edited the suitable model as well in order to retrieve my new field.
I just figured out I edited the core and I wish to achieve the same thing without doing it.
So, I went through the documentation and only found a way to override classes and modules and didn't find a way to override models.
Can somebody help me with this?
Thanks
Offline
Hi nightf ,
welcome on the live helper chat forum , thank you for your interest.
Sorry but models cannot be overriden at the moment.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
So, that means that i can override models myself, but i'll have to watch the code if i'd like to update the core.
Am I right or is it not recommended to override models at all?
Offline
Hi nightf ,
i believe you are right. Maybe before do any edit made a full folders and database backup so you can resume the installation in the issue case.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Pages: 1