Is there a way to make the day of the month value clickable in the month view?
I would like it so when a user clicks on a day in the month, the fullCalendar would switch to the day view of that particular day.
Assuming you meant changing to day-view when user clicks on a day-number in month view, please check this fiddle:
http://jsfiddle.net/100thGear/AP9Ns/
Let me know if this helps.
Related
Is it possible to remove the fc-more tag from fullcalendar for the current day in month view? Ex: the previous day still have the possibility of having the button of more events and the current day not having the button
I am trying to find out how to disable the date click within a cell while in the month view. I cannot find it in the documentation on the site. I only see dayRender and disabling the entire cell. I just need the date itself not the cell. I needed selectable to be true for the calendar just not this piece.
Is there a event/render that I can get to in full calendar to stop this from going to the day view? Thanks for any help that is provided.
I want to be able to view 3 large months at a time using FullCalendar by Adam Shaw in my WP site. Possible? In other words, current month, plus two more. A 90 day events Calendar starting with the if the current date falls in a given month. Example, today is July 26, so display July, Aug, Sept.
Any ideas? I am calling it for use in a WP Events manager application.
Thanks,
Create three FullCalendar instances next to each other:
Set the defaultView for all three to 'month'.
Disable the previous and next buttons for two of the three calendar instances by manipulating their headers.
Disable any other views (like agendaDay, agendaWeek, etc.) in all calendar headers.
Whenever the viewDisplay callback is called on the calendar with the previous and next buttons, update the other calendar's date using gotoDate.
If you also need to use a week and/or day view, you may wish to set them up in a similar way, although I can imagine that would be confusing. You could also hide (using CSS) two of the three calendars when the user navigates to day or week view, and make them reappear when the user selects month view again. You probably need some CSS hocus pocus anyway to make it all look slick, but I think it should be doable.
I have a particular condition if which fulfills,
then if I click on my calendar UI image, a small popup calendar opens up but
with only last date of each month enabled. Rest all the dates are
supposed to be disabled. But I have no idea how to enable only the last date
of each month as it is supposed to be kept dynamic as the last date of each month is different. So, delayedDates doesn't seem to be an option for me.
I am working on a project which has events calendar. I am using date and calendar module for that.
On calendar month page, we can display titles of events on that day. That is simple. But suppose there are 10 events on one day, then that day column becomes too long. So, instead of displaying titles, I want to display no. of events on that day and place a link on it which will go to the day view.
Using custom php code module for views, i created one field where I am entering this code
<?php
$view = views_get_current_view();
$view->set_display(day_view);
print count($view->result).' events';
?>
"day_view" is the id of the view which display events on that particular day.
If I am not using $view->set_display(day_view); it willk display no. of events for that month. But I want to disply no. of events for that day only.
My logic is since day view displays events from that day only, it will return correct number, if I call its display for month view. But it's not doing so.
Also how to generate link for day view?
Please help!