I'm building a webapp in Codeigniter version 3. I'd like to add an event calendar. Therefore I used the default Codeigniter calendar library.
I can display the calendar and even show multiple events a day.
But I also need to show events which starts a day and ends some days later. By now, I create a single event for each day, which is in the timespan. But I like to show this multi-day event in the calendar, so that the visitor can see, that this events takes multiple days. I'd like to add a colorful bar over each day, the events takes. So that there is a color bar. How can I do this?
Related
I want to create repeating Events like gmail. IF any idea, Please let me know? Thanks in advance.
You can setup/install the Date module on your site. Then, in the Event content type, configure your event date field with the repeat option enabled (see screenshot in Lullabot's blog post about the date module)
Also, here are a few considerations about dates during your Event content type and views setup process:
Once you configure the date field and add event content with those fields defined, you won't be able to modify the field settings to a more restrictive state. (For example, if you enable repeat and then decide to disable repeat). A work around for this is to create a new date field with desired settings, use views bulk operations to copy the data from obsolete date field to new date field, then delete obsolete date field.)
When working with repeating or ongoing events, you'll need to determine how you want them to appear in chronological event listing views. (For example, ongoing events may wind up showing at top of list if your sort is based only on start date. If your view is limited to very few listings/results, and all your events repeat- make sure there's enough variety of events to avoid showing the same repeating event back to back in the view. You may want to consider showing only distinct results in the view.)
When working with repeating dates, do the times also repeat? If not, you may want to also install the Node Clone module and configure so content managers can copy event nodes and edit/modify times.
If showing times, do you need to show timezones associated with them?
I need to change the calendar week view, to be more user friendly.
Please check this screenshot, I am explaining the goal to reach on it:
https://www.diigo.com/item/image/4otf9/eb3r
https://www.diigo.com/item/image/4otf9/1qcb
The website has some dates for events, that are mainly during night. So, there are some events starting at 2AM for exemple. It doesn't make sense displaying these events in next day. For exemple, if the party starts on saturday night at 2AM, then it could me confusing for the user to display it on Sunday.. How can I adapt the week templates to start the day at 5AM (instead 00:00) and finish at 24:00 (instead 24:00)
And about multi-day dates, how to display them next to the single day dates??
Change the Settings of the Calendar format in the Views and set the time grouping to custom. In the box, specify the intervals/start times that you want to show up starting at the hour you want to start at. See illustration below:
You can change the Week display like this too.
I am using this template to build a website for a church.
The church wants a really good calendar entry point to add events.
With the calendar on the current template it's nice and simple and you can drag the events onto the corresponding date. What I need is a way to get the date where the event has been dragged onto so I can update the MySQL database.
Here is the link to the direct calendar http://usman.it/themes/charisma/calendar.html
The code for showing the calendar is just
<div id="calendar"></div>
Basically the calender is loaded through javascript.
If you take a look at the charisma.js inside the themes folder you should be able to see that the calendar will be invoked for example as follows,
$('#calendar').fullCalendar({ << some options here >> });
you can go through the documentation for the full calendar at the following site :
http://arshaw.com/fullcalendar/
I guess you want to use datepicker, see:
http://jqueryui.com/datepicker/#inline
Since you're usig draggables (jquery), you can hook into their events to collect the data: http://jqueryui.com/draggable/#events
check out the api documentation for the possiblities: http://api.jqueryui.com/draggable/
I need to build a simple calendar to embed in my PHP application.
Basically I have a bunch of recurrent events whose iCal recurrent rule (rrule) is known (e.g.: "FREQ=MONTHLY;INTERVAL=2;BYDAY=SU" or "FREQ=WEEKLY;BYDAY=SU").
Basically I need a function that given
_ an event iCal rrule
_ a certain day (e.g. 04/10/2011)
returns a boolean telling me whether the event is on at that date.
Obviously I can build it myself but it would take ages: is there any reliable library already available for that?
Thanks,
Dan
Although I am at the end of my own calendar project and I am not using iCal, perhaps this will help.
My own experience is that I could not find any sort of library and I coded my own backend from scratch.
For the front-end, I would urge you to use FullCalendar, it is an amazing calendar with what you can do with it. All you need to then, is concentrate on the backend.
For the db, I would go the route of having only 1 database row per event and when that event is modified, if it is recurring then you amend the existing event and create a new event with the change.
For the back-end logic, in conjunction with fullcalendar it gives you a window to work with. Within this window, I would then work out when the event occurs and then show, if the event is recurring to then work out when it should be shown on the calendar. It can get a bit complex but you can do it.
I'm attaching pics of what I have done, sadly this project isn't open source.
Add New Recurring Event
Calendar with Recurring Events
Amend Recurring Event
Agenda List View
Cheers
Edit: This is for the FullCalendar jquery plugin(http://arshaw.com/fullcalendar/).
Is there a way to move an event from one calendar(in month mode) to another calendar(in month mode) that are both on the same page? I know there is a demo on the fullcalendar home page that shows dragging events onto a calendar, but when you try to drag an event off the calendar onto another calendar, this does not work. The event gets hidden behind the calendar container element. Any ideas on how to get something like this to work? Thanks.
this issue http://code.google.com/p/fullcalendar/issues/detail?id=550, though not yet implemented, will handle this.