Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.4.1, 4.0.1
-
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
- is duplicated by
-
CRM-8239 joomla pcp menu items don't retrieve option lists correctly, or set params correctly
- Done/Fixed