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) »
  • Issues with iCal and Views Calendar
Pages: [1]

Author Topic: Issues with iCal and Views Calendar  (Read 3261 times)

JuliaKM

  • Guest
Issues with iCal and Views Calendar
September 24, 2007, 07:25:01 am
I'm using an iCal feed from CiviEvent to populate events with Drupal's view_calendar module. When I first imported the iCal feed, the events showed up. However, now, after deleting the CiviCRM test events and creating new ones, no events are showing up at all. My events are all public. When I download and check my CiviEvent iCal feed, it appears to be correct.

I don't think that this is a matter of refreshing the iCal feed. I have deleted the iCal feed link from the calendar view and then re-added it a few times. I would really appreciate any help you can offer. If there is an easier way to get CiviEvents outputted as a calendar, I would be happy to try it.

Thanks,
Julia

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Issues with iCal and Views Calendar
September 24, 2007, 09:40:24 am
There's a caching setting in the Calendar module iCal settings screen - ...drupal/calendar/ical
Perhaps that's the issue?

Also check the discussions below for other tips/issues:

http://forum.civicrm.org/index.php/topic,895.0.html
http://forum.civicrm.org/index.php/topic,135.msg476.html#msg476
Protect your investment in CiviCRM by  becoming a Member!

JuliaKM

  • Guest
Re: Issues with iCal and Views Calendar
September 25, 2007, 02:53:46 pm
Thanks for your help. I have switched the caching options multiple times but nothing seems to happen. I am starting to wonder if this is a Views problem. Another strange quirk is that I have been able to add a multi-day event but not a single-day one.

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Issues with iCal and Views Calendar
September 25, 2007, 04:00:26 pm
I continue to have similar problems.  It seemed to work at first, although the calendar did not update unless I clicked on the 'iCal' link, then submitted it again, regardless of the cache setting.   Now however nothing works.  I think it stopped working when I opened up the view settings and saved them (but didn't change anything).  Also like JuliaKM my multi-day event works but not single day events.  Very odd.

A related question -- is there supposed to be any linkage between the drupal events module and CiviEvent?   I have an 'Upcoming Events' block on my page, but it never shows anything.

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Issues with iCal and Views Calendar
September 25, 2007, 04:42:35 pm
I played around with our setup on Demo a bit just now. I noticed that the Events being displayed were stale (i.e. didn't match the current CiviEvent data). I logged in with admin rights and did two things - one of which seemed to cause the Calendar (views) to pickup the latest feed from CiviEvent (not sure which one :-( ).
* From Calendar >> iCal  - I set the Cache to 0 minutes and saved those settings
* From Calendar >> Setup >> Edit - I just resaved my existing settings. (I recall that I had to do this originally to get things to work - but not sure why)

Beyond these experiments - I think you'll need to try and get some support from the Calendar module maintainer (and of course make sure you've got the latest version of that module). Let us know what you discover.

Quote from: twowheeler on September 25, 2007, 04:00:26 pm
A related question -- is there supposed to be any linkage between the drupal events module and CiviEvent?   I have an 'Upcoming Events' block on my page, but it never shows anything.

There is no integration between the Drupal Events module and CiviEvent (at least not that I'm aware of from the CiviCRM side). The only potential connection is that the Calendar module can potentially show events from both sources (assuming that the iCal feed from CiviEvents is working properly).
Protect your investment in CiviCRM by  becoming a Member!

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Issues with iCal and Views Calendar
September 25, 2007, 07:48:52 pm
Meaning no disrespect to anybody, but reading the drupal.org pages for a while certainly gives one the impression that the event and calendar module development is somewhat chaotic.  Lots of people there seem to be complaining about bugs and general confusion. That's a shame, because CiviCRM (which seems to be produced by a prussian army by comparison!) depends on these external modules for calendar functionality.

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Issues with iCal and Views Calendar
September 25, 2007, 08:32:38 pm
Drupal development does tend to be chaotic. But there are plenty of other ways to display your CiviCRM events on a Drupal site.

The easiest is to embed a Google calendar that sucks down a CiviCRM event feed.

Here is an example of the CiviCRM Demo event feed:
http://www.google.com/calendar/embed?src=mbnduk6lhog62ga956nfp8g2n8g1b81k%40import.calendar.google.com

And you can embed the calendar:
http://www.google.com/support/calendar/bin/answer.py?answer=41207
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

JuliaKM

  • Guest
Re: Issues with iCal and Views Calendar
October 08, 2007, 10:28:19 am
Using the latest version of Views Calendar(5.x-1.x-dev), I now have the events displaying. Yippee!

However, I cannot seem to get the start and end times to display correctly. I decided that the easiest solution was to just hide them. I did so with the following css:

Code: [Select]
.calendar-calendar .start {
display: none;
}

.calendar-calendar .end {
display: none;
}


Julia

twowheeler

  • I post occasionally
  • **
  • Posts: 115
  • Karma: 11
    • Harrisburg Christian Performing Arts Center
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Issues with iCal and Views Calendar
October 08, 2007, 07:19:19 pm
Quote from: geilhufe on September 25, 2007, 08:32:38 pm
The easiest is to embed a Google calendar that sucks down a CiviCRM event feed.

That is pretty cool!  Maybe this will fill in until the drupal calendar module gets fixed.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Issues with iCal and Views Calendar

This forum was archived on 2017-11-26.