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) »
  • Looking for event_id
Pages: [1]

Author Topic: Looking for event_id  (Read 1036 times)

maarten

  • Guest
Looking for event_id
February 06, 2008, 02:22:56 pm
I have a question about the next piece of help info, that shows up when you want to add a url to an iCal feed:

Quote
"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.)

I have a question about the "(You can find these values by browsing the listing at Administer CiviCRM » Event Types.)". I can only find the "weights" and not the actual id. I can change the weights in the table, without changing the event_type_id in civicrm_event. So where can I find the real event_id of an event?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Looking for event_id
February 06, 2008, 11:39:01 pm
I am assuming you are using CiviCRM v1.9. We have added "Value" column in CiviCRM v2.0, that displays event_type_id.
So i think you will have to check database, "civicrm_option_value" table and the check "value" field corresponding to your event type.

Quote
SELECT * FROM `civicrm_option_value` where `option_group_id` = 14;
Above sql will give you all event types.

HTH

kurund
« Last Edit: February 06, 2008, 11:41:47 pm by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

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

This forum was archived on 2017-11-26.