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) »
  • Use Event Types to categorize your events.
Pages: [1]

Author Topic: Use Event Types to categorize your events.  (Read 603 times)

lbdclub

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: WordPress 3.8.2
  • MySQL version: 5.5.36-cll
  • PHP version: 5.4.21
Use Event Types to categorize your events.
July 24, 2014, 07:33:37 pm
The Event Type configuration screen says you can "Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria."

How do I do this? The url for an event feed looks like this:

?page=CiviCRM&q=civicrm/event/ical&reset=1&list=1&html=1

I'm assuming there must be another parameter?

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Use Event Types to categorize your events.
July 28, 2014, 05:43:16 am
You can filter the results by event type on civicrm/event/manage&reset=1
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Use Event Types to categorize your events.
July 28, 2014, 06:20:28 am
On that specific URL, you need to add type=[id] where [id] is the ID of the event type, e.g. when logged in to http://drupal.demo.civicrm.org/

http://drupal.demo.civicrm.org/civicrm/event/ical?reset=1&list=1&type=1 gives no events
http://drupal.demo.civicrm.org/civicrm/event/ical?reset=1&list=1&type=3 gives some events

https://github.com/civicrm/civicrm-core/blob/f5721b079302a20e27d003e3ebd74fe496550230/CRM/Event/Page/ICalendar.php#L51 line 51 to 61 is the code that calls this in case you are interested in what the other parameters that you can add are / you want to dig much deeper.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Use Event Types to categorize your events.

This forum was archived on 2017-11-26.