1

I'm using CiviCRM 5.1.2 on Joomla 3.8.10. I'm trying to create a menu item for an event info page, and the drop-down in the Joomla menu manager is only displaying past events. The drop-down for the Event Registration Page shows the currently active and upcoming events - there are only 2 of them. But the most recent events in the drop-down for the Event Info page are from 2015. We've been using CiviCRM since 2010, so there are a lot of old events.

I'm assuming there's an issue with where the menu item drop-down is pulling the events from. I've turned on debugging and emptied caches, but otherwise I'm at a loss for what to try next. Any assistance is appreciated.

1 Answer 1

3

The drop-down shows 100 active events but does not filter by 'upcoming'.

As a quick-fix, edit the file administrator/components/com_civicrm/civicrm/joomla/site/elements/civievents.php Look for the line that reads 'rowCount' => 100, (line 62) and add a new line after that reads: 'start_date' => array('>' => 'today'), Save that and try again.

Issue: https://lab.civicrm.org/dev/joomla/issues/1
PR: https://github.com/civicrm/civicrm-joomla/pull/46

4
  • That did it, thanks so much for finding the quick fix!!
    – LMK Web
    Jul 2, 2018 at 15:20
  • @LMKWeb could you help by testing the version in the PR which is slightly different and then adding a comment on the ticket that you have tested it - and (hopefully!!) that it works.
    – Aidan
    Jul 3, 2018 at 7:59
  • @LMKWeb the PR has been merged so it will be in 5.4.0. It would be great if you could test the 5.4 rc
    – Aidan
    Jul 4, 2018 at 9:38
  • I just tested the updated files - still works great!
    – LMK Web
    Jul 4, 2018 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.