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

Creation of front-end menu items for Personal Contribuiton Page Create and View is broken

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.4.1, 4.0.1
    • Fix Version/s: 3.4.3, 4.0.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If you try to create a new front-end menu fo:
      CiviCRM :: Personal Campaign Pages
      CiviCRM :: Personal Campaign Information Pages

      You get various errors in the Basic Options block (depending on j1.6 or j1.5 and which menu type:
      J 1.5 : Warning: Invalid argument supplied for foreach() in /var/www/joomla.demo.civicrm.org/public/libraries/joomla/html/html/select.php on line 68
      J 1.6 : Warning: Invalid argument supplied for foreach() in /var/www/j16.sandbox.civicrm.org/public/libraries/joomla/html/html/select.php on line 509

      Ideally when we fix this we should also check and fix the behavior for each of these when there are no eligible Contribution Pages (w/ PCP enabled) - item 1; and when there are no viewable PCP's (item 2)

      As a side note, I think we should change the layout title, name and description for these to be a bit clearer.

      For php.xml:
      <layout title="Personal Campaign Page - Create" >
      <name>Personal Campaign Page - Create</name>
      <description>Link to create a new CiviCRM Personal Campaign Page</description>

      For phpinfo.xml:
      <layout title="Personal Campaign Page - View" >
      <name>Personal Campaign Page - View</name>
      <description>Link to view an existing CiviCRM Personal Campaign Page</description>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mcsmom Elin Waring
                Reporter:
                dgg David Greenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: