Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Admins need a way to create a front-end menu item for "Create a Personal Campaign Page" - using the new mechanism (as we now have for Online Contribution Pages, Event Info and Register, etc.).

      The view "title" s/b "Create Personal Campaign Pages".

      The URL is: civicrm/contribute/campaign
      Params are: action=add&reset=1&pageId=$contributionPageId

      In the new default.xml for this, I think the main param line is:

      <param name="id" type="sql" default="10" label="Create Personal Campaign Page for" query="SELECT cp.id, cp.title FROM civicrm_contribution_page cp, civicrm_pcp_block pcp WHERE cp.is_active =1 AND pcp.is_active =1 AND pcp.entity_id = cp.id AND pcp.entity_table = 'civicrm_contribution_page' ORDER BY cp.title" key_field="id" value_field="title" />

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified