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

improve how Joomla menu items are built

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.8
    • Fix Version/s: 4.7
    • Component/s: Joomla Integration
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      there are several improvements we should make to how menu items are built in Joomla. specifically:

      • the asset being selected (event, profile, contrib page, etc.) should be a required field. if a menu item is built without selecting an option it leads to an error (for obvious reasons).
      • move the asset selection to the main configuration tab. currently it's in a second "Options" tab, which is easily overlooked. since in each case it's only one field we're working with, we should just include it on the main tab.

      doing so will also change how the values are passed to civicrm for invoking. currently we retrieve the params for the menu item. by placing them on the main config tab they become part of the $_REQUEST variable, and so we must retrieve them differently.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: