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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Event Listing Filter
Pages: [1]

Author Topic: Event Listing Filter  (Read 401 times)

Kimball

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: 1.5
  • MySQL version: 5
  • PHP version: 5.2
Event Listing Filter
August 28, 2015, 08:37:39 am
I want to modify the frontend Event Listing pages to add a filter by Event Type (labeled as Category on the events listing page). Preferably I'd pass in an Event Type ID, via URL on the link to the listing.  I'm having trouble finding the component Joomla is using. Can you tell me where to look to find this code? I'm running: Joomla 3.4.3, CiviCRM 4.6.5 (upgrading soon)

I found this two components, but they are both pretty much empty:

  • /administrator/components/com_civicrm/civicrm/joomla/site/views/Events/tmpl/eventlisting.php
  • /components/com_civicrm/views/Events/tmpl/eventlisting.php

Once I find the component, will the SQL statement be in there? Or might there be a hook to add a filter, or append to the WHERE clause?

Also can you point me to instructions for overriding a Civicrm/Joomla component like this? Google wasn't any help. 

Thanks for any help. I'm new to CiviCRM, but not PHP, SQL, or Joomla.
- Kimball
« Last Edit: August 28, 2015, 11:57:26 am by Kimball »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Event Listing Filter

This forum was archived on 2017-11-26.