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) »
  • PCP contact dashboard
Pages: [1]

Author Topic: PCP contact dashboard  (Read 545 times)

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
PCP contact dashboard
January 24, 2013, 11:03:20 am
In CiviCRM, the contact dashboard seems to display only PCP pages of the user that are active. c.f. CRM/BAO/PCP::getPcpDashboardInfo() checks explicitly for pcp.is_active = 1.

However, if a user disables their PCP page, they will be stuck re-creating it if they loose the URL to their page. If their page is rejected, I think it should also be shown.

I think it would be better if we checked the status of the contribution page to which the PCP is attached. Having of archive of that would be nice, but if the contribution page is disabled, their PCP won't work anyway.

Any thoughts? I tracked the change around these revisions, from a branch merge:

svn diff -r 38542:39549 CRM/PCP/BAO/PCP.php

The old code, while more complicated, seems more appropriate.

I was also wondering why templates/CRM/Contribute/Page/PcpUserDashboard.tpl does a "float: right". It looks a bit weird.
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

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

This forum was archived on 2017-11-26.