Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6380

Add a Joomla! helper to make it simpler to access the API from Joomla components.

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.3.alpha
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      This helper file should be placed in administrator/components/com_civicrm/helpers.

      It provides the basis for accessing the CiviCRM API throughout the Joomla! applciation.

      For example I am attaching a file that is part of a Joomla! plugin that uses the helper to put the contact_id of the logged in user into the session. (civicontact.php).

      This is used in the second attached file (mod_my_civigroups) in a frontend module that displays the groups for a logged in user.

        Attachments

        1. api.php
          1 kB
          Elin Waring
        2. civicontact.php
          1 kB
          Elin Waring
        3. mod_my_civigroups.php
          0.9 kB
          Elin Waring

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mcsmom Elin Waring
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: