2

I am using a module called "Calendar" that puts a calendar on the sidebar, and allows you to add events using a cck, which will be displayed on the calendar so that you can click the date, and it will bring you to the event (along with any other event that day.) the problem is, that i don't want to have to create all new content using the cck that was part of the Calendar module. when installing the module, it added a field type called "Date", which is what the calendar events are sorted by. this allowed me to add other cck events that had that field, into the calendar. The problem is, that it puts in onto the wrong date. instead of putting it onto the date that it is set at, it is put onto the date that it was created. is there a way to fix this?

1

You need to change the calendar view's Contextual Filter (Under "Advanced") to use the new date field, instead of the post date.

enter image description here

  • I am looking in that, but I don't see any of the (field_date) options. the only options I see are: 1. Content: Last comment timae 2. Content: Post date 3. Content: Updated date 4. User: Created date 5. User: Last access 6. User: Last login – Ephraim Jul 14 '11 at 16:13
  • Have you added your own date field to the content type? – user842 Jul 14 '11 at 16:13
  • yes, I added the "date" field type to several content types. – Ephraim Jul 14 '11 at 16:15
  • 1
    I recall that I had this issue where my date fields were not showing up. See drupal.org/node/1181196 for follow up. Basically it says, "Make sure you have the very latest dev code for Date, Calendar (if you use it), Views, and CTools. That means the -dev versions of everything." – user842 Jul 14 '11 at 16:19
  • 1
    See drupaltherapy.com/date_d7 for a step by step walkthrough to see if you missed any steps. Or take a look of an export of my view drupalbin.com/19208 – user842 Jul 14 '11 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.