Posted by marcoBauli on February 13, 2008 at 6:26pm
Jump to:
| Project: | Calendar |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
howdy,
this could be normal as Calendar is still work-in-progress ATM, but i wasn't able to output my nodes to the Calendar view (the Calendar does show up, but contains no events/nodes).
Does this still need to be coded or is an issue somehow?
In case it is, please report back and i'll add all the details.
thx
Comments
#1
We use calendar on production sites. Add the date field(s) to the view's filter.
#2
Well, I can confirm this issue for 5.x-2.x-dev. What's interesting the same server and the same version of drupal, the same views, date, calendar, cck is working on fresh install. But on the other site which contains some CCK nodes created, the problem exists. I found out that in build_views function the queries are exactly the same but the result (nodes/items) are not being extracted from DB. Any clues what could be wrong? It seems some problem with views module not recognizing date field...
#3
Thanks.
#4
Josh: yes, the date field is already in the view, but still no events are extracted..
i installed Date+Calendar on a "almost" fresh Drupal 5.7 install (Views, CCK and couple other modules installed) with MySQL 5.0.41 and PHP 5.2.3.
#5
I experience the same thing. As soon as you have a solution, please let us know. Thank you very much
#6
I just install calendar on a "non fresh install" ... works perfectly
Some steps has to be followed, did you read this http://drupal.org/node/133341 ?
#7
The current code should work fine and works fine for me and others. It's hard to tell anything about situations where you don't see nodes without knowing what kind of events you're trying to display that you aren't finding. At a minimum, I need an export of a view that isn't working to see how it is set up, along with an explanation of what kind of node and date you think that view should be displaying.
And #2 is pretty confusing, if the queries are the same and the data is the same, the results must be the same.
#8
nope, actually there was some difference in the queries executed by the views module: in one query I had double %% and in the other query single % before the arguments. The query with double % was not returning any results though the other query (single %) was working ok. I've solved this problem by writing a few lines of code, but unfortunately I can't post it right now, I'll do it a little bit later. I'm not sure if this is the best way, but that did a trick.
#9
trying again on a clean install (and clean morning mind maybe) i noticed that database timezones are required to run the module..!
enabling timezones on my SQL (more about how to do it here) things do work fine now and events appear in the calendar :)
For others having the same issue:
check if your database has timezones enabled at /admin/logs/status first :P
so maybe this is more a support thing, and a memo about possibly adding a line in the README when the module will be ready? cheers
(changing status too)
#10
Automatically closed -- issue fixed for two weeks with no activity.