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) »
  • API/ Rest & Anonymous access
Pages: 1 [2]

Author Topic: API/ Rest & Anonymous access  (Read 8131 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: API/ Rest & Anonymous access
August 15, 2009, 03:11:24 am
Hmm - just re-visiting how to make my Rest call URL persist through upgrades. At the moment I can add an extra xml file into Civicrm/Core/xml/Menu with the characters I want in it  but I have to remember to re-instate it after an upgrade (and to rebuild the menus afterwards).

I'm wondering if we could have the ability to store our xml customisations outside our CiviCRM install in the same way we store our php and tpl file customisations? Any thoughts?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: API/ Rest & Anonymous access
August 15, 2009, 06:12:21 am

use the hook_civicrm_xmlMenu hook to inject your xml file into the menu rebuild routine

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • API/ Rest & Anonymous access

This forum was archived on 2017-11-26.