I have a calendar month view that I'm using to show CCK nodes with date fields. I have the view args set up to show the current month by default, but it shows nothing if there are no dates corresponding to the current month. I'd like it to display an empty calendar instead.
Any suggestions?
Comments
Comment #1
karens commentedThis is the intended behavior and I *thought* it was working. Can you paste an export of your view so I can see how you've got it set up?
Comment #2
RayZ commentedWell I thought it was the intended behavior too after a quick look through the code, but it doesn't seem to be working for me with the following view ...
Comment #3
karens commentedWhat happens if you remove $view->view_args_php? It looks like that is some custom code of yours and it keeps me from importing your view (plus I don't know how to evaluate its impact). The module is trying to create some values for year and month and it might be interferring with that. If you can't get the calendar working with that code removed, try removing the taxonomy filters and see what happens. I basically want to try to get this down to the minimum view that won't work so I know what to focus on.
Comment #4
RayZ commentedThe args handling just makes the year and month default to the current, rather than showing the summary view listing all years with events. Removing it didn't affect this issue. Neither did removing the taxonomy filter.
I have events with dates in Sep 2006, but not Aug 2006. So if I click on 2006, then September I get a calendar view for September. However, if I click the "prev" link to go back to August, the view is blank. (It will show the empty text if I have some entered for the view).
I'm happy to help debug this if you have more pointers (IRC?).
Comment #5
karens commentedI need to play around with this a bit and I probably won't get it done until tomorrow, so let me get back to you. Yes, we can use irc once I think of something for you to try :-)
Comment #6
karens commentedI think I found this problem. Change committed to HEAD and 4.7 branches.
Comment #7
RayZ commentedFix confirmed. Thanks Karen.
Comment #8
(not verified) commented