CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
Pages: [1]

Author Topic: Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3  (Read 13199 times)

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
February 28, 2012, 11:36:13 am
Okay, I have been through countless articles, postings and so forth about integrating CiviEvent items into a calendar.

Option 1: Use CiviEvent view type to display events in it's own calendar. Great solution if you only want to populate a calendar view with ONLY CiviEvents items. This is not my goal as we have other outside organizations that give us iCal Feeds to post on the "Calendar" (Really everyone should think of this as just a view, as in blog, article so forth, Calendar is a view in Drupal 7 and in 7.3 was completely overhauled so things may change).

Option 2: Use jQuery Plugin and CiviEvents http://drupal.org/project/civicrm_events this is a nice start but doesn't really provide the flexibility of Feeds integration

Option 3: Drupal modules and CiviEvents iCal feed (the grey icon everyone talks about NOT the green one, but I have tried both sine I feel that the green iCal icon says feed when hovering over it in CiviEvent - Manage Events)

Drupal 7.3+ Calendar view
Views 3
CTools
Feeds(for dealing with URLs as content)
Custom content type (this is to store each event as a individual content item once importing takes place. Also, I named mine "events", you can call it whatever you want)
Date and Date iCal (formerly Calendar iCal but it was depreciated and moved to new module since dependancy on Calendar was removed and can be used by any "Views" type)
iCal Feeds Parser

Where I have gotten thus far:

Calendar view works without issue

Content Type "events" able to create items on calendar, able to modify Calendar view types to display the event content items correctly (by default the item shows on calendar by the posting date not the event date, you can change this in the views structure settings for "Month" and then duplicate the change across all calendar view types.

Feeds setup correctly and test with importing users using csv export method for creating drupal user accounts via the CiviCRM recommended method.

iCal Feeds Parser installed and able to select from the options in Feeds importer.

Feeds Importer Settings:

Basic Setup - Attached to content type "events" that I created above, only field I have beyond Title and Feed for this content type is Date fields

Fetcher - HTTP Fetcher

HTTP Fetcher - Neither of the options are selected (Auto Detect Feeds or Use PubSubHubbub)

Parser - Tried both Date API iCal parser (which should be right) and iCalCreator parser) Neither have any configurable settings

Processor - Node Processor since it is the only one that should be chosen

Settings for Node processor - Update existing nodes (that way if anything changes after event creation it is reflected on the calendar views, Text Format is set to Plain Text (not sure this is right but I figure iCal items are in plain text without any HTML markup, please correct me if I am wrong), Content type set as "events", Expire nodes set to Never.

Node Processor Mapping - Date start mapped to same Date end mapped to same and Summary mapped to Title (based on what I could see from the feed itself, please correct me if I am wrong)

RESULTS: Every time I setup a new content item with either URL (green or grey iCal icons) I get the following error

"An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /?q=batch&id=44&op=do StatusText: Internal Server Error ResponseText:"

This is where I am stuck. Any help would be greatly appreciated as I know many here are wanting to do the same thing as I trying to do.  This method is really a great way to display our calendars in a single view (calendar view mostly, lol) method when we have multiple calendars to display (i.e. CiviCRM, Google Calendar feeds, associated organizations and so forth).

Thank you any and all helpers out there on this.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
February 29, 2012, 02:59:03 pm
It appears as though this method should work but due to development of the iCal Feeds Parser it is not ready for primetime.  The error I was getting was that it started the import process and then errored out at the timezone import according to the import log of feeds.  Looks as though this method might be on hold till one of two things happens. The module gets updated to fix the parsing issues or Date iCal module which only currently creates iCal items is updated to parse feeds, which according to the dev page on drupal is the next goal of the module.  Calendar iCal module has been fully deprecated in D7 in favor of Date iCal module because there is no longer any dependencies upon Calendar for the view of iCal items.  If anyone gets this working please let me know.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
June 27, 2012, 07:26:09 am
I think this may finally be working - see http://drupal.org/node/1643468 and good luck!

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
January 03, 2013, 06:06:24 am
Just wondered if anyone had achieved anything with this. Judging by the state of the Feeds module I guess not...
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3
July 19, 2013, 12:48:58 pm
I hadn't checked in on this project in quite some time and happened to see that the Date iCal extension for Durpal now has a 2.x track which SUPPORTS iCAL FEED IMPORTS.  This means everyone looking for a one stop shop to get all your feeds into a single calendar view within Drupal can NOW BE DONE!!!! YEAH!

I have been waiting on this for some time now and this is great news. Hope this is good news for others as well.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Integrating CiviEvents iCal Feed into Drupal 7 Calendar Views 3

This forum was archived on 2017-11-26.