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) »
  • Showing events on Drupal 7's Calendar
Pages: [1] 2

Author Topic: Showing events on Drupal 7's Calendar  (Read 2796 times)

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Showing events on Drupal 7's Calendar
June 17, 2012, 06:54:21 pm
CiviCRM is a well developed piece of software. However, my clients need to see the events on their calendar. I tried, but there's no default view to enable. Can it be done?

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: Showing events on Drupal 7's Calendar
June 17, 2012, 08:08:54 pm

If you have the drupal modules date_views and calendar enabled, then the default civicrm event view is exposed with the views civicrm integration. Check:

drupal/modules/views/civicrm.views_default.inc

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

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 17, 2012, 10:06:14 pm
I did the view integration. I can make a page view, with latest events. But, no calendar view.

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 17, 2012, 11:09:29 pm
Attempted it again, no success. The lack of this feature is the show stopper.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 05:13:10 am
See

http://wiki.civicrm.org/confluence/display/CRMDOC41/Using+Drupal+Calendar+with+CiviEvent

and

http://drupal.org/project/civicrm_events
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 07:42:37 am
Thank you, Hershel and Donald. But, I've tried all what you all recommended, they don't accomplish my goals. Thanks for you help, though.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 07:46:22 am
You can't make a Calendar type View? Can you make one not related to CiviCRM? Just a regular Drupal View using Calendar for the style.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

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: Showing events on Drupal 7's Calendar
June 18, 2012, 08:03:16 am

1. Might also want to check this: http://drupal.org/project/civicrm_events

2. In general CiviEvent does need better and more extensible calendar integration. If your consulting firm can work on this and/or get your client to help fund more work on this that would be great

thanx

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

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 10:30:34 am
Thanks for your help, both of you. I'm not a developer. I help nonprofit organizations build websites and I was looking for a platform, for the future. CiviCRM was perfect. But, event calendars are such an integral part of a nonprofit website, that the lack of this feature alone is reason not to use CiviCRM.

Apart from that, CiviCRM is a masterpiece; tremendous piece of software, thanks for the kindness your team showed, by taking the time to develop CiviCRM.
« Last Edit: June 18, 2012, 10:34:18 am by bconsulting »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 10:52:04 am
I'm sure the team appreciates your kind words.

Quote from: bconsulting on June 18, 2012, 10:30:34 am
But, event calendars are such an integral part of a nonprofit website, that the lack of this feature alone is reason not to use CiviCRM.

This feature is not lacking. There are probably thousands of CiviCRM sites that have event calendars. I myself have set up such views for more sites than I can remember.

Drupal, Views and CiviCRM are all complicated software packages and each has its own learning curve. This feature exists and is in production on many sites. Sounds like you simply may need more assistance or training in getting it set up.

I noticed that you didn't answer my last question. If the answer is no, then the issue you are facing is actually still at the Drupal level, not the CiviCRM one. Can you clarify if you have Calendar style Views working at all?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 11:08:39 am
Yes, I do, Hershel. With Drupal 7 + Calendar, Date, Views and an Event custom content type, I can easily display Calendar views, and display views based on just about anything that concerns My Drupal config can, possibly, be the issue, but I doubt it. I'll leave that possibility open.

But, it seems as if I'm not the only one, who's experiencing issues with Drupal 7's Calendar and CiviEvents. BUt, as I said before, I'm not a hardcore developer only a Drupal user (since D5) so, there can be something I'm overlooking.

Thanks.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 11:29:49 am
OK, based on what you wrote it could well be that this integration is not ready for CiviCRM 4.1. I indeed haven't tried on 4.1 yet. I will try to soon.

Our Views Integration specialist had to curtail his activities with this project so, as far as I understand, development in this particular area is a bit behind the rest of the project. :(
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 18, 2012, 11:39:38 am
Thanks for the explanation, it means a lot to me. I'll hang around the community and look for other ways which I can help. It's tough to turn my back on such a good product.

Thank you for your help, thus far.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Showing events on Drupal 7's Calendar
June 19, 2012, 06:47:28 am
I tried using Views and indeed it doesn't work--I got the same errors reported here http://forum.civicrm.org/index.php?topic=8911.30 in fact.

But I tried with http://drupal.org/project/civicrm_events and it worked fine for me:

http://demo.civihosting.com/events/calendar

You must follow the installation instructions there of course, but this worked fine, first time.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bconsulting

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Showing events on Drupal 7's Calendar
June 19, 2012, 08:22:23 am
That solution seems fine, for now. I'm thinking that not every nonprofit client will require CiviCRM, as they might need to simply display events, without online registration. In those cases, Drupal's Calendar + Date + Event content type + Views, etc, will suffice.

However, when clients need online registration though CiviCRM this is the only solution, at the moment, for Drupal 7 users, and it's not a bad one.

How easy will it be, to switch over from this calendar, to the Calendar + Views + CCK combo, when it becomes operational?

And, here's another issue, if you are testing the Date + Calendar + Views combo, on Drupal 7, you need to use the 7.x-3.3 version of the Calendar module, else you'll get errors. The creator of the Calendar module warns:

Quote
I added a warning a couple releases ago that that class was going away and should not be used. CivicCRM should be using the replacement class, the generic row class that works with all types of entities, not that one that only worked with nodes.

The release notes and project page have had a warning for several releases about this.

The class still exists in 7.x-3.3 if you want to roll back. Which is not the solution I recommend. I recommend CivicCRM update their code.

http://drupal.org/node/1595246

Thanks for your help and solutions.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Showing events on Drupal 7's Calendar

This forum was archived on 2017-11-26.