I am new to the yii framework and is trying to extend the "cal" extension with my own attributes.
I added a new attribute “note” to my database table, the controller and the model but “cal” isn’t able to save the event when i try to. I get no errors or anything. Shouldn’t it be possible to add new attributes, og use a different database table as long as the original attributes are intact?
I have added the attribute to the mainController for “cal” like all the others but it doesn’t work
I can confirm that when i manually add information to the "note" attribute in the database the model contains the attribute note and it contains the right information, but i am not able to save the events
It is still not working for me, i have add my attribute everywhere and it still dont save the events. I am using the calendar as a module not as a controller, is that ok? I have tried to use it as a controller but i dont understand how i make use of the calendar as a controller. How does that work? Thx in advance!
I do modify the actionUpdate method. Finally i found out that my new attribute “note” isn’t a part of the post into actionUpdate for some reason? I dont quite get why it’s missing!
I finally solved the problem, i didn’t know that i hat to delete the eventCal.js from assets folder before it copies the new one Anyway, thanks for the help!