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 (Moderator: Donald Lobo) »
  • What file is tied to crmURL p='civicrm/ajax/eventlist'
Pages: [1]

Author Topic: What file is tied to crmURL p='civicrm/ajax/eventlist'  (Read 342 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
What file is tied to crmURL p='civicrm/ajax/eventlist'
October 03, 2014, 05:37:46 am
I am trying to troubleshoot Ajax error that occurs when trying to register a participant in the back office. The Javascript in question is generated by the following code in a .tpl file: {crmURL p='civicrm/ajax/eventlist' h=0}

How can I determine which PHP file this URL maps to?  Also is there a way to limit the number of records returned by that Ajax call?
« Last Edit: October 03, 2014, 05:40:28 am by epg »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: What file is tied to crmURL p='civicrm/ajax/eventlist'
October 03, 2014, 06:01:04 am
if you search the code for "civicrm/ajax/eventlist" you'll find a menu.xml file in which that url is mapped to a class or class method, which can then be used to find the file.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: What file is tied to crmURL p='civicrm/ajax/eventlist'
October 03, 2014, 06:28:34 am
Just save yourself a lot of trouble and upgrade to 4.5 which has a radically improved way of selecting events on that screen.
(but might want to wait for 4.5.1 next week it has a lot of bug fixes over 4.5.0)
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • What file is tied to crmURL p='civicrm/ajax/eventlist'

This forum was archived on 2017-11-26.