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) »
  • Configuring contribution page for free memberships
Pages: [1]

Author Topic: Configuring contribution page for free memberships  (Read 1223 times)

choster

  • I’m new here
  • *
  • Posts: 29
  • Karma: 2
    • Lattice Group
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.39
  • PHP version: 5.5.15
Configuring contribution page for free memberships
November 05, 2009, 04:46:00 pm
Just wanted to check to make sure I wasn't missing something obvious. From threads like http://forum.civicrm.org/index.php?topic=1528.0 it seems that CiviCRM should be able to handle "free" memberships, but I can't seem to set one up.

First, I created a new contribution page to accept registrations from new volunteers; all fields are unset on the Contribution Amounts screen and the checkbox is disabled under Membership Settings. I can save the page without any objections, but trying to load it produces the error
  • Quote
    Sorry. A non-recoverable error has occurred.

    The requested online contribution page is missing a required Contribution Amount section or Membership section. Please check with the site administrator for assistance.
The identical error appears if you try to configure a membership form on drupal.demo.civicrm.org without contribution levels or membership settings.

Ultimately, I got around the problem by setting a "Volunteer" level with a membership fee of $0, then creating a custom template for CRM/Contribute/Form/Contribution/Main.tpl  so that I could suppress the ugly "Contribution Amount: $0" field. Is this the "proper" way to set up a free membership?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Configuring contribution page for free memberships
November 05, 2009, 11:57:18 pm
I don't think you need to add custom template. This are the steps that I followed for free membership.
1. Create Membership Type with 0 amount ( http://drupal.demo.civicrm.org/civicrm/admin/member/membershipType?reset=1&action=browse )
2. Then Add that to Contribution page. ( http://drupal.demo.civicrm.org/civicrm/admin/contribute?reset=1&action=update&id=2&subPage=Membership )

Check: http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&action=preview&id=2

HTh

Kurund
Found this reply helpful? Support CiviCRM

choster

  • I’m new here
  • *
  • Posts: 29
  • Karma: 2
    • Lattice Group
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.39
  • PHP version: 5.5.15
Re: Configuring contribution page for free memberships
November 06, 2009, 11:27:13 am
Thanks. You don't need to add a custom template to get it to work, but you do need to add a custom template to hide the membership type with fee level of 0.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Configuring contribution page for free memberships

This forum was archived on 2017-11-26.