jQuery full calendar wrapper.
Yii 1.1.5 or above.
1 Add in config/main.php:
'modules' => array( 'cal' => array( 'debug' => true // For first run only! ),
2 Check & set user privileges in modules/cal/components/ChangeUser.php
protected function renderContent() { $isAdmin = true; // check admin privileges if (true == $isAdmin) $users = array(// create you own users list
For delete event save it as text-empty message.
Unlike a widget:
Sample controller is present under controller folder.
Total 13 comments
If you're going to use the cal extension v1.1 with JQuery 1.6+ there's a bug on cal/components/fullCal/eventCal.js related to checkboxes.
In JQuery 1.6+ the checkbox parameters are set using this syntax:
but the file uses the older:
so in this file you must change all
to
A ctrl+f / crtl+h and replace all will do the job.
This solves:
Hope this will help others.
that was my fault, i already installed a jquery ui(old version) manually in my project, when i remove that from my project, the module worked fine as i want, thanks again very much to the developer who created this for us :-)
hello sir, the demo is working perfectly, but when i installed the module in my project , the ok and cancel button is not showing but 0 and 1 showing instead, and when i clicked them, nothing heppens, but the cross icon of that dialog box is worked, im using yii 1.1.8 . what am i supposed to do ?
o another thing, how can i delete an event, as you mentioned above, save as empty-text msg, i dont get it, what does that mean, please can you give me some suggestion\/ ?
again thanks in advance, it really an useful module.
Hi I'm trying to change the 'backgroundColor' => '#EF1D1D' of an event , when I do this in the Json demo on the array of an event it works fine but when I do the same in on the events in actionList MainController, it is never applied. how to get this great feature to work ?
i did notice that, but i thought it was not really user friendly... it's not really intuitive and it takes more time to edit the event then to press a button :D
Delete button is not need here. Simple modify your event and save it without any text. Empty events will delete from DB.
i downloaded this and just love it, but there was no delete button on the event.
i added the button, integrated the new function in the eventcal.js file and added a new delete action to the controller.
if you want to i can send you the changed files ^^
Simply impressive. That's a HUGE work, and it's released opensource. Thank you, thank you, thank you.
Thanks Gustavo of the forum, I found out how-to.
it depends of your url rules: if you use path then http://localhost/cal, if you use index.php in the name http://localhost/index.php/cal if you dont use path http://localhost/?r=cal
Hi,
Can you provide some more info how to install and kick-start this module.
I followed all the above steps but without any success.
What's next? How do I surf to my the calendar pages?
This is impressive! Keep posting valuable extensions!
Good job!
Yes. Yii 1.1.5 release upgrade jQuery UI to new version.
It looks like a nice extension of the "artshaw's fullcalendar" but I'm experiencing some troubles with the jquery libraries: On event inserting while using the ui-dialog pop up: - 'OK' and 'Cancel' buttons showing '0' and '1' instead - by clicking one of these buttons, a javascript error raise: "h.apply is not a function" in jquery-ui.min.js line 337.
I'm using YII 1.1.4 and the script libraries are loaded in that order: jquery, jquery-ui.min, fullcalendar.min, eventCal.
Have I to upgrade to Yii 1.1.5 ???
Leave a comment
Please login to leave your comment.