CiviCRM

Enable Joomla / Standalone to use the mighty power of hooks

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed/Completed
  • Affects Version/s: 2.2.3
  • Fix Version/s: 2.2.4
  • Component/s: CiviEvent
  • Labels:
    None

Description


without any hacks to core.

We are most of the way there, except for loading the files where the hook is defined.

Activity

Hide
Donald A. Lobo added a comment -

if the hook function name does not exist, we load a file called: civicrmHooks.php. All hooks should be defined in this file (can be a simple wrapper file)

The path can be set from administer civicrm >> global settings >> directories

we recommend folks store this file OUTSIDE of civicrm root (and maybe even joomla root) to avoid issues during upgrade
Show
Donald A. Lobo added a comment - if the hook function name does not exist, we load a file called: civicrmHooks.php. All hooks should be defined in this file (can be a simple wrapper file) The path can be set from administer civicrm >> global settings >> directories we recommend folks store this file OUTSIDE of civicrm root (and maybe even joomla root) to avoid issues during upgrade
Hide
Kurund Jalmi added a comment -
Batch move to verification
Show
Kurund Jalmi added a comment - Batch move to verification
Hide
Yashodha Chaku added a comment -
assigning for 3.0 QA
Show
Yashodha Chaku added a comment - assigning for 3.0 QA
Hide
Shailesh Lende added a comment -
Tested and verified for v3.0 rev-23302.
Show
Shailesh Lende added a comment - Tested and verified for v3.0 rev-23302.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: