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

Joomla Mailing List menu subscription item missing parameter

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None

      Description

      This is a bug directly related to the patch created in http://issues.civicrm.org/jira/browse/CRM-7069 . The patch doesn't appear to have been thoroughly tested, as it throws an error due to a critical missing parameter.

      The problem exists when creating a Joomla menu item for a mailing list subscription. At no point in the process are you requested to identify the "gid" value, which results in CiviCRM returning an error after visiting the link for the new menu item.

      The solution is to add the missing parameter and it's respective Joomla element list to the Mailing List view XML file. Change line 16 of components/com_civicrm/views/MailingList/tmpl/default.xml from:

      <params>

      to:

      <params addpath="/administrator/components/com_civicrm/civicrm/joomla/site/elements">
      <param name="gid" type="civiprofiles" label="Select Profile" description="Configured CiviCRM Profile" />

      Similarly, there appears to be a duplicate of this file (which doesn't serve a function for Joomla's actual operations) in administrator/components/com_civicrm/civicrm/joomla/site/views/MailingList/tmpl/default.xml
      which will also need this same change. However, unless this serves a function that I am not aware of, this entire directory is a duplication from the Joomla installation package and really ought to be removed to avoid confusion.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              bizzynate Nathan West
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified