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) »
  • Custom page using CiviContribute
Pages: [1]

Author Topic: Custom page using CiviContribute  (Read 1838 times)

jazz0435

  • Guest
Custom page using CiviContribute
December 05, 2008, 07:35:01 pm
I am trying to add a CiviContribute page with:

1. Contribution Amounts > Execute real-time monetary transactions = unchecked
2. Contribution Amounts > Contribution Amounts section enabled = unchecked
3. Configure Membership Section > Membership Section Enabled = unchecked
4. Include Profiles > a custom profile included

Basically, I need a page with some fields to collect information and send that information in an email to the concerned team (something similar to a Contact us page, but different for each team), and also send an email to the user (not a registered user/member, but a general unauthenticated public user) that his request has been received.

Now, when I create this Contribute page with no Contribution Amounts and Membership sections enabled, I get an error saying:

"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."

I am using CiviCRM 2.1. It seems that both these sections are optional, but looks like either one of them has to be there. Any idea how to make these really optional (or whether it is doable at all in the first place)? If I can make this to work, nothing like it - because it already has all the built-in functionality of confirmation page and sending emails, I need.

Any help would be appreciated.

Thanks.

jazz0435

  • Guest
Re: Custom page using CiviContribute
December 10, 2008, 11:07:41 am
Does any one know if what I am trying to do is even possible? What other info can I provide?

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: Custom page using CiviContribute
December 10, 2008, 11:23:56 am

Sorry your post slipped through the cracks :(

This is currently not possible in the current code base. It is potentially doable with a fair amount of code changes.

However, you can potentially do the same by using a CiviCRM Profile in combination with a CiviCRM post hook. A profile can send mail to the concerned team address (specificed in the profile settings). You'll need to implement the hook to send mail to the user. You will need php skills to do this

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

jazz0435

  • Guest
Re: Custom page using CiviContribute
December 11, 2008, 05:06:30 pm
Thanks. And where would I use the profile? The only 2 places I know of are Contribute and Event (registration).

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom page using CiviContribute
December 12, 2008, 09:46:17 am
You can create links / menu items pointing directly to a Profile input form as described here:

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

jazz0435

  • Guest
Re: Custom page using CiviContribute
December 12, 2008, 10:54:51 am
Thanks for the help.

I have linked the profile form from the menu and it works great.

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

This forum was archived on 2017-11-26.