From 2f7f62ddf1891256f86ed92ca0b73a191ac9642d Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Tue, 28 May 2013 19:43:46 -0700 Subject: [PATCH] CRM-12691 remove references to Create PCP URL from help files since the page id was not available. Add this info inline to the forms, and generically to the Manage PCP page. Also added the example URL for WordPress, which was missing. ---------------------------------------- * CRM-12691: Create PCP link is hard to discover and link in user guide is incomplete http://issues.civicrm.org/jira/browse/CRM-12691 --- .../CRM/Contribute/Form/ContributionPage/PCP.hlp | 14 -------------- templates/CRM/PCP/Form/Contribute.hlp | 14 -------------- templates/CRM/PCP/Form/Contribute.tpl | 2 +- templates/CRM/PCP/Form/Event.hlp | 14 -------------- templates/CRM/PCP/Form/Event.tpl | 2 +- templates/CRM/PCP/Form/PCP.tpl | 12 +++++++++++- templates/CRM/PCP/Page/PCP.hlp | 9 +++++++++ 7 files changed, 22 insertions(+), 45 deletions(-) diff --git a/templates/CRM/Contribute/Form/ContributionPage/PCP.hlp b/templates/CRM/Contribute/Form/ContributionPage/PCP.hlp index 7b7d2943b4..9f83954b82 100644 --- a/templates/CRM/Contribute/Form/ContributionPage/PCP.hlp +++ b/templates/CRM/Contribute/Form/ContributionPage/PCP.hlp @@ -28,12 +28,6 @@ {/htxt} {htxt id="id-pcp_intro_help"} {ts}When Personal Campaign Pages are enabled, constituents will see a link inviting them to create their own fundraising page after making a contribution.{/ts} -{if $config->userSystem->is_drupal} - {ts}You can also place additional links (or menu items) allowing constituents to create their own fundraising pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=contribute"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}You can also create front-end links (or menu items) allowing constituents to create their own fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this contribution page.{/ts} -{/if} {/htxt} {htxt id="id-approval_needed-title"} @@ -79,12 +73,4 @@ {/htxt} {htxt id="id-link_text"} {ts}Text for the link inviting constituents to create a Personal Contribution Page. This link will appear on the Contribution Thank-you page as well as on each Personal Campaign Page.{/ts} -

-{if $config->userSystem->is_drupal} - {ts}When Personal Campaign Pages are enabled, you can also place additional links (or menu items) inviting constituents to create personal fundraising pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=contribute"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}When Personal Campaign Pages are enabled, you can create front-end links inviting constituents to create personal fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this contribution page.{/ts} -{/if} -

{/htxt} diff --git a/templates/CRM/PCP/Form/Contribute.hlp b/templates/CRM/PCP/Form/Contribute.hlp index 4b4fb20667..b789dd9c73 100644 --- a/templates/CRM/PCP/Form/Contribute.hlp +++ b/templates/CRM/PCP/Form/Contribute.hlp @@ -28,12 +28,6 @@ {/htxt} {htxt id="id-pcp_intro_help"} {ts}When Personal Campaign Pages are enabled, constituents will see a link inviting them to create their own fundraising page after making a contribution. Contributions from people who come in through a Personal Campaign Page are recorded as "soft credits" for the supporter who created that campaign page.{/ts} -{if $config->userSystem->is_drupal} - {ts}You can also place additional links (or menu items) allowing constituents to create their own fundraising pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=contribute"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}You can also create front-end links (or menu items) allowing constituents to create their own fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this contribution page.{/ts} -{/if} {/htxt} {htxt id="id-approval_needed-title"} @@ -79,12 +73,4 @@ {/htxt} {htxt id="id-link_text"} {ts}Text for the link inviting constituents to create a Personal Contribution Page. This link will appear on the Contribution Thank-you page as well as on each Personal Campaign Page.{/ts} -

-{if $config->userSystem->is_drupal} - {ts}When Personal Campaign Pages are enabled, you can also place additional links (or menu items) inviting constituents to create personal fundraising pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=contribute"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}When Personal Campaign Pages are enabled, you can create front-end links inviting constituents to create personal fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this contribution page.{/ts} -{/if} -

{/htxt} diff --git a/templates/CRM/PCP/Form/Contribute.tpl b/templates/CRM/PCP/Form/Contribute.tpl index 0ae4b184bd..feed87f5f9 100644 --- a/templates/CRM/PCP/Form/Contribute.tpl +++ b/templates/CRM/PCP/Form/Contribute.tpl @@ -33,4 +33,4 @@
{ts}Allow constituents to create their own personal fundraising pages linked to this contribution page.{/ts} {help id="id-pcp_intro_help"}
-{include file="CRM/PCP/Form/PCP.tpl" context="Contribute"} \ No newline at end of file +{include file="CRM/PCP/Form/PCP.tpl" context="contribute"} \ No newline at end of file diff --git a/templates/CRM/PCP/Form/Event.hlp b/templates/CRM/PCP/Form/Event.hlp index 085f0608c2..b38573c6af 100644 --- a/templates/CRM/PCP/Form/Event.hlp +++ b/templates/CRM/PCP/Form/Event.hlp @@ -28,12 +28,6 @@ {/htxt} {htxt id="id-pcp_intro_help"} {ts}Personal Campaign Pages provide your constituents with the ability to promote this event or a related fundraising effort. When Personal Campaign Pages are enabled constituents will see a link after registering for this event which invites them to create their own page to promote the event (or promote a related online contribution page). Event registration fees (or contributions) from people who come in through a Personal Campaign Page are recorded as "soft credits" for the supporter who created that campaign page.{/ts} -{if $config->userSystem->is_drupal} - {ts}You can also place additional links (or menu items) allowing constituents to create their own fundraising pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=event"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}You can also create front-end links (or menu items) allowing constituents to create their own fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this event.{/ts} -{/if} {/htxt} {htxt id="id-approval_needed-title"} @@ -79,14 +73,6 @@ {/htxt} {htxt id="id-link_text"} {ts}Text for the link inviting constituents to create a Personal Campaign Page. This link will appear on the Event registration Thank-you page as well as on each Personal Campaign Page.{/ts} -

-{if $config->userSystem->is_drupal} - {ts}When Personal Campaign Pages are enabled, you can also place additional links (or menu items) inviting constituents to create personal campaign pages using the following URL:{/ts}

- {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$params.pageId`&component=event"} -{elseif $config->userFramework EQ 'Joomla'} - {ts}When Personal Campaign Pages are enabled, you can create front-end links inviting constituents to create personal fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this event.{/ts} -{/if} -

{/htxt} {htxt id="id-target_entity_type-title"} diff --git a/templates/CRM/PCP/Form/Event.tpl b/templates/CRM/PCP/Form/Event.tpl index 5e9349e62b..f545f8a989 100644 --- a/templates/CRM/PCP/Form/Event.tpl +++ b/templates/CRM/PCP/Form/Event.tpl @@ -33,4 +33,4 @@
{ts}Allow constituents to create their own personal fundraising pages linked to this event.{/ts} {help id="id-pcp_intro_help"}
-{include file="CRM/PCP/Form/PCP.tpl" context="Event"} \ No newline at end of file +{include file="CRM/PCP/Form/PCP.tpl" context="event" pageId=`$eventId`} \ No newline at end of file diff --git a/templates/CRM/PCP/Form/PCP.tpl b/templates/CRM/PCP/Form/PCP.tpl index 8a37260bfa..8ec1ccb6ac 100644 --- a/templates/CRM/PCP/Form/PCP.tpl +++ b/templates/CRM/PCP/Form/PCP.tpl @@ -75,7 +75,17 @@ {$form.link_text.label} - {$form.link_text.html|crmAddClass:huge} {help id="id-link_text"} + + {$form.link_text.html|crmAddClass:huge} {help id="id-link_text"}
+ + {if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'} + {ts}You can also place additional links (or menu items) allowing constituents to create their own fundraising pages using the following URL:{/ts}
+ {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=`$pageId`&component=`$context`"} + {elseif $config->userFramework EQ 'Joomla'} + {ts}You can also create front-end links (or menu items) allowing constituents to create their own fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this event.{/ts} + {/if} +
+ {/crmRegion} diff --git a/templates/CRM/PCP/Page/PCP.hlp b/templates/CRM/PCP/Page/PCP.hlp index 5d2f977844..e1b63b09ad 100644 --- a/templates/CRM/PCP/Page/PCP.hlp +++ b/templates/CRM/PCP/Page/PCP.hlp @@ -30,5 +30,14 @@

{ts}Personal Campaign Pages (PCPs) allow your constituents to create their own fundraising page for your organization. This means that a donor, after donating to your organization, can elect to create a page with her own photo, text, and personal information. She can then send a link to the page to her friends, soliciting support for your organization. This is a powerful way to widely and quickly spread the message about your campaign.{/ts}

{ts}When someone donates through a personal campaign page, a soft credit is given to the owner of the page to recognize the role she played in the contribution. CiviContribute has a section that allows you to administer all of the PCPs for your organization. You can require approval before a PCP goes 'live', and disable or delete any campaign pages you don't approve of.{/ts} {docURL page="user/contributions/personal-campaign-pages"}

+ +

+{if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'} + {ts}You can also place additional links (or menu items) allowing constituents to create their own fundraising pages using the following URL:{/ts}
+ {crmURL a=true p='civicrm/contribute/campaign' q="action=add&reset=1&pageId=&component="} +{elseif $config->userFramework EQ 'Joomla'} + {ts}You can also create front-end links (or menu items) allowing constituents to create their own fundraising pages using the Menu Manager. Select Contributions » Personal Campaign Pages and then select this event.{/ts} +{/if} +

{/htxt} -- 2.25.1