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) »
  • civievents in drupal
Pages: [1]

Author Topic: civievents in drupal  (Read 3166 times)

nunodonato

  • Guest
civievents in drupal
May 21, 2007, 03:03:37 am
Hello,

I'm setting up a website for a social-service organization i'm working with. CiviCRM is really being useful, i'm just having some problems with CiviEvent.. I dont know if i'm trying to do things which it is not capable to do yet, or if i'm just doing something wrong.

Setting up and displaying events will be a big part of this website. So, i need to access them in many different ways (node, views, calendars). The problem being, an event created in CiviEvent is not really a drupal node. So i cant access it.
I tried installing civinode, but i still cant get access to it.

I would really like to avoid the situation of having to create an event in drupal, and then doing the same thing again in civicrm (i need it in civicrm to register participants, contributions, etc...)

Is there a way to do it? Any plans for an integration in the Drupal Event module?

thanks,
nuno

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: civievents in drupal
May 21, 2007, 07:22:51 am
You can do this already if you are using Drupal 5, and if you aren't using Drupal 5, it is probably time to upgrade if you really need this feature.

CiviCRM 1.7 and Drupal 5 (with calendar module installed -- you will thus probably also need to install event, date, and views) will pull your CiviEvents directly into the Drupal calendar. Then you can enable the calendar block and see your CiviEvents there, as well in any of the calendar views.

You can see this in action on http://demo.civicrm.org/drupal (log in and then look on the left side of the page for the calendar).

There is detailed info on how to get this working here:
http://forum.civicrm.org/index.php/topic,135.msg476.html#msg476

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: civievents in drupal
May 21, 2007, 08:28:19 am
However, as noted in my discussion with Emily linked below - there is an issue with how date/times are being "translated" between CiviEvents and the Calendar module... which I really hope someone with more experience with Views and Calendar can help us resolve.  ???

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

nunodonato

  • Guest
Re: civievents in drupal
May 21, 2007, 09:48:24 am
hello and thanks for the replies

yes i'm aware that the integration with calendar can be done, i saw the examples too. but i still cant get it to work with views.
for example, i want a view that lists the next events of a particular type. but when creating the view, the only content available for selecting filters in nodes, pages and stories (drupal core). there's no data for selecting and filtering these civicrm events.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: civievents in drupal
May 21, 2007, 12:22:19 pm
I'm not sure if this will solve your problem (not an expert on Views) - however...

You can tell the CiviEvent iCalendar feed to filter by event type and/or date range by passing in additional URL params. I "think" this may allow you to set up different calendar views ...

From CiviCRM Manage Events 'help':

"By default, the ical feed gets all events whose starting date is greater than or equal to the current date. However, you can modify this by passing additional parameters in the URL:

    * start=YYYYMMDD - Specify a different starting date range for the events to be listed
    * type=N - Specify a particular Event Type using the event_type_id value. (You can find these values by browsing the listing at Administer CiviCRM » Event Types.)

EXAMPLE: Given the default event types, this URL will retrieve all events with start dates on or after January 1, 2007 whose event type is "Fundraiser":

http://demo.civicrm.org/drupal/index.php?q=civicrm/event/ical&reset=1&page=1&type=3&start=20070101"
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • civievents in drupal

This forum was archived on 2017-11-26.