Events showing on the date they were posted and not on the event date
hufnmouth - January 3, 2008 - 23:31
| Project: | Calendar |
| Version: | 6.x-2.2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Using Drupal 5.3 with Date 1.8 and Calendar 1.7
When I post an event it does not appear on the date it will occur; it appears on the date it was posted. For example, if the event is on January 14 and I post it on January 3, it appears on January 3 and not January 14. I have a feeling this is a simple remedy but I could not find a similar issue in the Issue log. Please help.

#1
It sounds like you have the wrong field in your view. Edit the view and see what you have in the 'Fields' section. If you have 'Node: Updated', or 'Node: Created' remove that field and add the date field you want to show in the calendar. Also check the 'Sorts' to be sure the wrong date field is not in there either.
#2
Thanks KarenS,
That worked!
#3
Automatically closed -- issue fixed for two weeks with no activity.
#4
I am using Drupal 6.14 and Calendar version 6.x-2.2. I have only the following additional modules installed: Calendar, Date, CCK, Views, and DHTML Menu. I am having the same issue with posting an event and it showing up on the calendar on the date it was created, not the date it is taking place.
I edited the view and when I look under the "Fields" section, I made sure that "Content: Event Date - From date" was there. I did not at first and followed #1 to make it correct. Unfortunately, I still get the event showing in the date it is created and not when it is actually taking place.
Any help you can give would be great. Thanks
John
#5
You also need to modify the view's argument settings to use the correct date field (it defaults to node creation date).
See this screencast for more info:
http://vimeo.com/6544779
#6
Yes, I did that already and it still shows up in the calendar under the date created. Here are my settings below:
View settings
Tag: Calendar
Basic settings
Name: Defaults
Title: Calendar
Style: Calendar
Use AJAX: No
Use pager: No
Items to display: Unlimited
More link: No
Distinct: No
Access: Unrestricted
Caching: None
Link display: Calendar page
Exposed form in block: No
Header: None
Footer: None
Empty text: None
Theme: Information
Relationships
None defined
Arguments
Date: Date (node) Content: Event Date and Time (field_event_datetime) - From date
Fields
Node: Title Title
Content: Event Date - From date Default
Sort criteria
Content: Event Date - From date asc
Filters
Node: Published Yes
Node: Type = Group Event
I have tried following 3 different "tutorials" and all of them lead me to the same problem. I have also tried making some regular "Page" content and those show up on the calendar too. Very annoying and I can't seem to stop it from happening.
#7
Just noticed the status was listed incorrectly
#8
Looks like you have the view configured right...
Sorry if I am stating the obvious, but here goes:
Are you sure you saved the view? Views can be changed & locked, but not saved.
Did you start with the default calendar view created by the calendar module, or did you create the calendar view from scratch?
Did you apply changes to the Default Display? Do any of the displays have overridden values?
Try clearing the cache.
Also, did you go through the tutorial I posted above? It is the latest one (I know of), and it goes through the setup on a fresh site step-by-step. (At least I like to think it is pretty good, I created it :)
#9
I had the same issue tonight but after watching the video (http://vimeo.com/6544779) and making the appropriate changes to the Field section (Content: date - From date Default), everything started working as it should.
For all intents and purposes, my Calendar Views config looks almost exactly like yours (just one small difference in the field name).
#10
I followed a couple different tutorials actually. The one you posted I can't get to at work. I will have to look at it when I get home tonight. Unfortunately, when I am at work, there are a lot of sites that we can't get to.
The tutorials that I followed are:
http://drupal.org/node/326061#comment-1077193
&
http://heim.ifi.uio.no/inf5270/tutorials/calendar.html
I also tried viewing this "tutorial" at http://www.drupaltherapy.com/date, but nothing comes up for me....although it could be a blocking issue at my work again.
I will be working from home tomorrow so I can look up some of this stuff there.
Are you sure you saved the view? Views can be changed & locked, but not saved. - I did save the view after I made all the modifications to it.
Did you start with the default calendar view created by the calendar module, or did you create the calendar view from scratch? - The tutorial at http://drupal.org/node/326061#comment-1077193 is the first one I followed so I cloned the view.
Did you apply changes to the Default Display? - I did apply changes to the default display
Do any of the displays have overridden values? - That I am not sure of and not sure what you mean here, can you elaborate?
Try clearing the cache. - I cleared the cache several times hoping that it would fix it, but no luck.
Thanks for your help, I will look into the tutorial you posted when I get home and try following it to see if it makes a difference.
John
#11
arlinsandbulte - Thank you for the link to the video tutorial, it really helped. Still not sure what I did wrong from the other tutorials I followed, but that one worked. I uninstalled the calendar and date mods and then followed the tutorial from home, where I could actually view it, as it was playing. It was extremely helpful. I am now working correctly.
Thanks again, and thank you mcdazz for your help too.
John
#12
Glad to hear you got it working....
#13
Automatically closed -- issue fixed for 2 weeks with no activity.