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 with Drupal Calendar
Pages: 1 2 3 [4]

Author Topic: Integrating CiviEvents with Drupal Calendar  (Read 56993 times)

DicE

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5.1
  • CMS version: Drupal 7.latest
  • MySQL version: 5.5.25a
  • PHP version: 5.3.15
Re: Integrating CiviEvents with Drupal Calendar
August 19, 2012, 11:29:24 pm
Sonicthoughts,

your change in the \sites\all\modules\civicrm\drupal\modules\views\civicrm\civicrm_handler_field_event_link.inc file seemed to help in my case too. a lot of those errors were removed when activating a view block. :)

Thanks!
DicE

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: Integrating CiviEvents with Drupal Calendar
August 20, 2012, 08:23:22 am

committed this fix to v4.2 in svn

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

Michael

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 2
  • Isn't this just terrific?
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7.23
  • MySQL version: 5.3.19
  • PHP version: 5.5.30
Re: Integrating CiviEvents with Drupal Calendar
March 19, 2013, 03:16:15 pm
If there's a way to pull CiviCRM 4.2.8  Event fields into a Drupal 7.21 View, please let me know how to do it. I am trying to follow the instructions to create a View of fully-booked events as per:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Event+listing+showing+fully-booked+result+using+Drupal+Views+PHP

Whenever I try to create a View and select CiviCRM Events from the Show pulldown, it automatically reverts to CiviCRM Relationships and I can't get past that point.

Any and all help is appreciated, I've been trying to make this work for over a week and have read everything  I can find (and tried most of it) without success. This topic here on the forums seems to be the most up-to-date information on the subject, but the challenge hasn't been met yet as far as I can tell.

Only one database in this case. I don't know if this is related (but it seems like it could be) ... whenever I try to get the Views array information to display as per:

civicrm/admin/setting/uf?reset=1

... no array information at all is displayed. Should I be seeing any array info or is this a change in CiviCRM version 4.2.8?

Any and all help will be very much appreciated.

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: Integrating CiviEvents with Drupal Calendar
March 19, 2013, 04:22:51 pm

might not be exactly what you are looking for, but might want to check this one:

http://civicrm.org/extensions/civicrm-events-calendar

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

Michael

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 2
  • Isn't this just terrific?
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7.23
  • MySQL version: 5.3.19
  • PHP version: 5.5.30
Re: Integrating CiviEvents with Drupal Calendar
March 19, 2013, 04:55:27 pm
Thank you, I already did try it but it doesn't do what we need. (Maybe I should move this question to a different topic?) We need to be able to run queries on civicrm events to create a page showing events with vacancies remaining as per:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Event+listing+showing+fully-booked+result+using+Drupal+Views+PHP

But, as per my previous post I can't select (it changes it immediately after) CiviCRM Events from the Show pulldown, it automatically reverts to CiviCRM Relationships it changes it immediately after I select it. There's nothing drastically customized on the site, there's no custom hooks or anything like that.

I haven't altered the settings files for either drupal or civicrm. The fact that I can't display the civicrm array data is disturbing but I don't know if this is a bug in either Drupal, an installed module, or a change in Civicrm. Can you tell me please if I should be seeing the array data at:

(website URL)/civicrm/admin/setting/uf?reset=1

... using D7.21 and Civi .4.2.8?

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: Integrating CiviEvents with Drupal Calendar
March 19, 2013, 09:12:42 pm

if you are using the same DB for civicrm and drupal, the array data is not needed and hence now shown

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

Michael

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 2
  • Isn't this just terrific?
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7.23
  • MySQL version: 5.3.19
  • PHP version: 5.5.30
Re: Integrating CiviEvents with Drupal Calendar
March 20, 2013, 06:46:56 am
Thank you, that's one less concern which leaves the original issue:

"We need to be able to run queries on civicrm events to create a page showing events with vacancies remaining as per:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Event+listing+showing+fully-booked+result+using+Drupal+Views+PHP

But, as per my previous post I can't select (it changes it immediately after) CiviCRM Events from the Show pulldown, it automatically reverts to CiviCRM Relationships it changes it immediately after I select it. There's nothing drastically customized on the site, there's no custom hooks or anything like that. I haven't altered the settings files for either drupal or civicrm."

I assume the documentation referred to above is correct. Is there some change in recent versions that are causing this behavior or is the documentation accurate for 4.2.8? We're stuck until we can resolve this problem.

Thanks very much for the help.

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 with Drupal Calendar
July 19, 2013, 12:51:23 pm
Just and FYI, Date iCal module https://drupal.org/project/date_ical has a new release and complete rewrite.  It now supports importing of iCal feeds using teh Feeds module and the iCalLibrary modules (extensions if you prefer, symantics). This is huge news for those looking to show all sorts of events from all sorts of places in one calendar view.  Figured I would share the news with everyone.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Michael

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 2
  • Isn't this just terrific?
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7.23
  • MySQL version: 5.3.19
  • PHP version: 5.5.30
Re: Integrating CiviEvents with Drupal Calendar
July 19, 2013, 12:53:16 pm
Thank you, that's useful to know.

Pages: 1 2 3 [4]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Integrating CiviEvents with Drupal Calendar

This forum was archived on 2017-11-26.