CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Personal Campaign Pages
Pages: [1]

Author Topic: Personal Campaign Pages  (Read 1042 times)

jrthor2

  • Guest
Personal Campaign Pages
October 07, 2009, 07:19:32 pm
Is it possilbe to require a minimum donation amount in order for a user to have the option to create their own personal campaign page?  Also, is it possible to have a member donate say $20, and if they find 4 others to donate $20, then they could create a "Team Page" since the 5 users together would have met the minimum donation amount of $100 to create a personal campaing page?

Thanks

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Personal Campaign Pages
October 07, 2009, 08:45:31 pm

You can potentially do point 1 (option to create PCP for min donation), by customizing the Thank you template. You will also need to add some hook / custom template to the dashboard to show only users who have donated a certain amount the PCP option

the second issue adds more complexity and i cant think of an easy way to do it

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jrthor2

  • Guest
Re: Personal Campaign Pages
October 08, 2009, 04:35:12 pm
I'm completely new to using CiviCRM (and Joomla for that matter).  What do you mean about creating a hook/custom template for the dashboard?  Also, what would I need to do to the thank you template?

Thanks for your help.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Personal Campaign Pages
October 08, 2009, 05:34:13 pm
Elaborating a bit on the "what"...
1. Customize Thank-you page template so that it ONLY displays the "Create your own campaign page" link IF the donation amount is > $X.  This change would require you to edit the "Smarty" template which is a mix of simple code and HTML. More info at:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customizing+CiviCRM+Screens

The template you'd need to customize is : templates/CRM/Contribute/Form/Contribution/ThankYou.tpl

2. IF you're exposing the "Contact Dashboard" to your users, and you don't disable the Personal Campaign Pages section - it will "invite" any user to create a new PCP page. So then you'd need PHP programming skills to implement a "hook" which would tell that page NOT to only show this to some users (based on their contribution level). More info on hooks:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Personal Campaign Pages

This forum was archived on 2017-11-26.