There was lots of good discussion in the DrupalCon presentation on Date + Calendar. Based on Earl's suggestion to make sure the Calendar arguments will work with any view and requests from the audience to be able to combine calendar and traditional views in the page and block, I've reworked the argument handling to make the Calendar arguments work independently of the calendar theme. So in the latest commit to the 5.x and HEAD versions, you can now add calendar arguments to any view (list, table, teasers, etc) and get date-based back/next navigation just like the calendar view has. You can have a mini calendar in the block view and a list in the page, or any other combination you like, just be sure the date field(s) you want to use as the filter are listed in the Fields list.
I tried to make the arguments smart enough to do the right thing if you handle them in a logical way. If you put them in year, year/month, or year/month/day order they should work fine. If you try something like year/day or month/year, it tries to guess what you are doing but you will probably get unreliable results.
The original handling for arguments only worked right if you used it with the calendar view, mainly because it took me a while to find any method that worked and once I found one, I just quit looking any further. At the time I wasn't even sure anyone else but me was going to be interested in this module. But my baby is growing up now, so it's time to start cleaning the code up :-)
Other changes/fixes:
The mini block calendar now has its own navigation which is independent of the page navigation so you can flip through months in the block calendar while viewing a different month in the full page.
The ical export got broken somewhere in the updates I made right before DrupalCon but it should be fixed now with the latest commits, so both ical import and ical export should be working right now.
One last change is that I have hidden the week view because there are a few really sticky bugs in the week view that only happen for some people and never happen for me that I can't replicate, so I can't fix them. The week view will still work if you type the url in manually (it would look like calendar/2007/W10), but you won't see any links to it on the calendar.
I'm using this as a way to announce updates to users. There was a discussion on d.o about how best to do that and I think the consensus was to make a group on g.d.o and do it there. I'm not sure if we really need a separate group for the Calendar module, so I'm hitting the most logical related groups -- Views and Events -- but if by doing this I'm spamming people who don't want to see messages like this, let me know and I'll set up a separate group instead.
Comments
"[...]let me know and I'll
"[...]let me know and I'll set up a separate group instead"
I think like you did was just fine, this seems better than using Issues, other posts or creating more groups. Maybe an Update Group for all modules would be the best solution?
schnizZzla
BerlinerStrassen.com
- Support Your Local Heroes!
Karen..
Would you have any live examples that demonstrate the new features you've mentioned above?
I'm trying to get a visual on how this is used in the real world
thanks
I have a demo site at
I have a demo site at http://www.elderweb.com/demo/ where I have a calendar with a couple different ical feeds. Just bear in mind that I break that site on a regular basis since that's where I try things out :-)
Calender: block view to pop up node titles on dates
Hi there,
Thanks for sharing updates. I am wondering if Calender views has ability to show node/event title pop-up when user mouse over the date, especially in block view showing date for a month. something like here: http://itforchange.net/blog/
This site is in word press I want to know if similar functionality is possible with calender, date, date API, Jquery, views and cck modules
Karen: I tried to check above mentioned site http://www.elderweb.com/demo/, unfortunately it is not working.
Thanks,
Leena