This documentation relates to CiviCRM version 3.1. It's not maintained anymore.
Current version of documentation.

List of Upcoming CiviEvents or Feed of Events

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


Documentation Search


CiviCRM 3.1 Documentation

Support and Participation

Developer Resources


CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

How do you publish links to events?

For Drupal, you can create a block and configure it to support PHP code. The following code snippet should work for listing upcoming events. This solution organizes them by date, so modify if that does not suit you.

Upcoming CiviEvents.block

Of course there are other ways to do this as well. This just being one of them

Default fields are fetched if you do not specify the return fields that you want. Prior to 3.1.4 or after 3.1.4 (there was a bug in 3.1.4 specifically) you could opt to replace the $params above with these just these $params and civicrm_event_search() will return default values.

[Source. ]

Getting a feed of events without using the API

The iCalendar feed is the only "built-in" mechanism for getting a list of events. You can reference the iCal link for your site at this URL:

http://servername.domain/civicrm/event/ical?reset=1&page=1

Subscribe to your CiviEvent Feed

Within a calendar application (such as Apple iCal), subscribe the the URL listed above and it will pull in the events from CiviEvent.

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.