Calendar and OP?

Events happening in the community are now at Drupal community events on www.drupal.org.
ithacaindy's picture

Can someone suggest how to use the Calendar module with OP? I've seen a number of screencasts and they all revolve around creating a content type of "event", but OP already reserves that machine name. How do I create events and then display them on the Calendar?

Comments

Just create a new content

resveld's picture

Just create a new content type called calender or something else, doesn't really matter what :)

The clone the calendar standard view and name it something else. Keep the original calendar disabled.
Set the content type to view as what you called the content type.

Here's my implementation of calendar within op :) http://www.altior.nl/op_calendar.png

-Ronald

Ah. Thanks.

ithacaindy's picture

Ah. Thanks.

I'm not sure what you meant

ithacaindy's picture

I'm not sure what you meant by "set the content type to view as what you called the content type." Do you mean set to new content type's type to "view" or to my new calendar (IndyCal) or what? Excuse the density.

sry for the late reply

resveld's picture

sry for the late reply :)

Create a content type called (for example) "calendaritem".
Clone the calendar view
Name it to what you want (let's say ithacal)

In the view set the filters to:

Node: Published -> Yes
Node: Type -> calendaritem

Under "Fields" set the following:

Node: Title
Content: Data - Startdate

You then get the calendar I have :0

Ronald

I keep running into the

ithacaindy's picture

I keep running into the problem of events listed on the calendar based on the date the node was created, rather than when the event itself starts.

My cloned calendar has this argument: Date: Date (node) Node: Updated date

As for "Fields" I could not find Content: Data - Startdate. I used Content: Event Date - From date

When I change the "Arguments" to Date: Date (node) Content: Date (field_date) - From date

I get this error:

The date argument date fields must be added to this query. You can exclude them if you do not want them displayed in the calendar.

for this, do the

resveld's picture

for this, do the following:

In your view go to "Arguments". And select add

For Arguments, choose "Date", "Date:Node" and then "Ok"
After that, choose "Provide default argument", "Current Date" and for "Date fields", choose "Node updated date".

That should be your setting

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: