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) »
  • Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
Pages: [1]

Author Topic: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2  (Read 3990 times)

fyhllj

  • Guest
Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
December 02, 2008, 12:38:01 pm
Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2.1?

I can do it on drupal5 anc civicrm1.9.

Thanks a lot!


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
December 02, 2008, 01:09:33 pm

You'll have to help lead the way here and figure out how to get drupal calendar to accept an iCal (or rss) feed.

I dont think anyone has gotten that working as yet

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

joemaine

  • I post occasionally
  • **
  • Posts: 114
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1
  • PHP version: 5.2
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
December 04, 2008, 07:38:14 am
Views with CiviEvent may be your best long term solution.

You might want to spend some time investigating the event, date and calendar modules in Drupal - I think they're still in RC mode. Views with CiviEvent is looking stronger and better than other options, plus having the ability to modify the ical feed in a template seems to make everything work - though we're still testing.
--
Joe

Ed Ropple

  • Guest
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 13, 2009, 11:37:15 pm
Quote from: joemaine on December 04, 2008, 07:38:14 am
Views with CiviEvent may be your best long term solution.
Apologies for bumping an old topic, but it seemed smarter than starting a new one.

The problem with Views 2 and CiviEvent is that CiviEvent does not actually expose its dates in a way Drupal understands. The Calendar module expects a Date argument, but CiviEvent exposes its dates as...well, something, but it's sure not a Drupal-format date. It seems that proper Views integration with Calendar will come from adding a dependency to the Date package and exposing start/end dates, etc. as Drupal-format dates.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 13, 2009, 11:50:16 pm
Hi,

I've been playing with this & seem to be winning but need to have some more time before I'll be sure. Definitely following the publish to event which is then published to ics feed and then published to calendar route
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 14, 2009, 07:36:47 am
Quote from: Ed Ropple on March 13, 2009, 11:37:15 pm
It seems that proper Views integration with Calendar will come from adding a dependency to the Date package and exposing start/end dates, etc. as Drupal-format dates.

Would be good to get a patch that does it. Since the views2 module is already a drupal dependency adding a date dependency to the views2 integration is not a biggie

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Ed Ropple

  • Guest
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 14, 2009, 09:10:09 am
Been looking at the Views integration with CiviEvent. Looks like the problem is not in CiviEvent; Calendar is by default strictly node-based. Might want to have someone get on this patch for Calendar to get the ball rolling--

http://drupal.org/node/385886

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 18, 2009, 03:05:50 pm
This is the write-up on getting the feed from civi into a calendar. Works OK but a bit of mucking around to patch up the feedmapper module.

Make sure you set the permissions when you install it - will add more notes later

http://drupal.org/node/341716
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Ed Ropple

  • Guest
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 18, 2009, 03:29:08 pm
Quote from: Eileen on March 18, 2009, 03:05:50 pm
This is the write-up on getting the feed from civi into a calendar. Works OK but a bit of mucking around to patch up the feedmapper module.

Make sure you set the permissions when you install it - will add more notes later

http://drupal.org/node/341716
That's not a good method for doing it, however. You should not have to hack around it with something like feedapi. Hence why I suggested that people subscribe to that issue and demonstrate a demand for it.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 20, 2009, 03:46:43 am
OK,

WRT the drupal issue you posted

Do I correctly understand that they are trying to integrate user-based and comment-based fields but that their efforts don't extend to civiCRM fields as yet?

I have gone as far as I can for now with the event feeds. It does successfully add items to the calendar based on the ICS feed (I haven't worked through refreshing issues to see if it's all good) BUT in the case I'm working on the ICS feed is not available to anonymous users and I can't see how to pass through a username & password) so my dreams of making it work without having to get into the code seem to be crushed.

In which case I'm thinking maybe I should change tack & join you in the direction you are working on. One concern I have (both ways) is that the group I am working for has particular interest in OG_calendar which is based on the event module and appears to me to be less integrated as it's start / end fields don't seem to be exposed through views. Do you have any knowledge in this area?

Eileen
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 20, 2009, 03:59:39 am
Actually it looks like we'd need to add something like this

   $data['civicrm_event']['date_argument'] = array(
     'group' => t('Date'),
     'title' => t('Date'),
     'help' => t('Filter any Views date field by a date argument'),
     'argument' => array(
       'handler' => 'date_api_argument_handler',
       'empty name field' => t('Undated'),
     ),
   );

into here civicrm.views.inc

plus install development patches
http://drupal.org/node/385880
and
http://drupal.org/node/385886



« Last Edit: March 20, 2009, 04:09:08 am by Eileen »
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
March 20, 2009, 04:08:09 am
But of course just doing that didn't work
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
update - handling for 'non-node date fields' has been released
March 31, 2009, 05:51:51 pm
The new version of calendar has the non-node date field handling required to get civiEvent dates into the calendar. Note I haven't tested yet & there might be some patching required on the civi side

http://drupal.org/node/413444
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
May 02, 2009, 07:46:46 am
As promised I am working on a patch for DATE API/CivicRM event implmentation.  I have made some progress.  Though, there is a fundamental issue with the way Date API allows for custom modules to implement data fields, I have proposed a change here

http://drupal.org/node/385880#comment-1545416

http://www.rootyhollow.com

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2
July 16, 2009, 09:23:38 am
for others reading this post, docs are now here: http://wiki.civicrm.org/confluence/display/CRMDOC/Using+Drupal+Calendar+with+CiviEvent

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Need help. How can I add civievent into drupal calendar in drupal 6 and civicrm2

This forum was archived on 2017-11-26.