I’d hate to reinvent the wheel on this one if it’s out there somewhere, but has anyone extended or modified the codigniter calendar to handle multi-day events and multiple events per day or is it there a module available somewhere?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This can be easily modified in the file
system/libraries/Calendar.phpwith the following addition of code. I know that editing any system file is considered taboo, but this helped me out in my application a ton. Take note of theforeach()loop in the commented section that says//If more than one event on the same day.This is the code that needs to be added to the Calendar.php library file. This resource can be futher elaborated on at the following link.Calendar.php modified code:
Keep in mind that I’ve shown more than just the edited code above to help you locate it within
Calendar.php. I hope this helps!