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

          [CRM-7466] Joomla Mailing List menu subscription item missing parameter
          Elin Waring added a comment -

          There is a bug with this link type, but it's something a little different.I'm using this link here http://friendsofeagleisland.org/subscribe-to-the-email-list.html so I can tell you it works to give you a list of all mailing lists. The problem is that when you make a link and there are no active mailing lists rather than give a blank page with a message like "There are no mailing lists" it gives fatal error.

          It might be nice to add a single mailing list sign up similar to the relationship between the list all events and the show single events types but that's really more of a feature request.

          Nate, I think what you are seeing is the files that are used to create the Joomla front and back end during packaging, thats why there are two copies once the Joomla package is generated.

          Donald A. Lobo added a comment -

          based on a chat with elin w, who knows more about this than we do

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Nathan West

              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