The way to edit additional db table fields in CMS is to overwrite getCMSFields function. I want to fill some fields automaticly and disable them from editing by cms users. How can I make this? I see to solutions:
1) worse - in getCMSFields fill fields witah values, and disable them from editing in cms
2) better - catch save action called when button "save & publish" pressed and set fields
First solutions is quite easy to implement. But I've no idea how make second solution.
Thx for any help