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) »
  • Displaying current membership info on contribution page
Pages: [1]

Author Topic: Displaying current membership info on contribution page  (Read 752 times)

npforce

  • Guest
Displaying current membership info on contribution page
July 19, 2009, 10:17:58 am
Hi,

I'm creating a contribution page for membership signup/renewal. If a current member tries to renew his membership using this page, his current membership type and expiration date is shown on the right side of the list of all membership types. However, this doesn't work for Lifetime members. This is rather inconvenient: if a lifetime member accidentally jumps onto this page, he doesn't get a reminder of his current membership status. I wonder if there's anyway to correct this? Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Displaying current membership info on contribution page
July 19, 2009, 03:55:36 pm
Out-of-the-box, only membership types which are configured to be displayed on a particular contribution page will display current membership status. I assume that your Lifetime membership has "Admin" visibility and is not included on the contribution page - so membership status is also not shown.

I suspect you could use the buildForm hook + custom template to add a separate "field" which checks for Lifetime membership and displays a status message. Might be some other more elegant ways to redirect lifetime members as well (perhaps in conjunction with Civimember roles module ??).
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) »
  • Displaying current membership info on contribution page

This forum was archived on 2017-11-26.