This documentation relates to CiviCRM version 3.2. It's not maintained anymore.
Current version of documentation.

Including Contribution Pages in Sites

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


Documentation Search


CiviCRM 3.2 Documentation

Support and Participation

Developer Resources


CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Including Online Contribution Pages in Sites

Displaying Online Contribution Pages in Drupal Sites

The URL for linking visitors to your online contribution pages in a Drupal site is prominently displayed at the top of each page's configuration control panel.

  • Administer CiviCRM » Configure Online Contribution Pages
  • Click the Configure action for the page you want to link to.
  • The full URL to send visitors to this page can be found in the status box near the top of the Configure Contribution Page screen.
    • Example: http://www.example.org/drupal/civicrm/contribute/transact?reset=1&id=1
      Allowing Anonymous Browsers to Make Contributions in Drupal Sites

      If you want to allow anonymous (non-authenticated) visitors to make contributions on your site, make sure that the anonymous users role has the make online contributions permission checked. If you are including Profile(s) in your Contribution page - to collect additional information - you also need to check the profile listings and forms permission.

      administer » access control

Displaying Online Contribution Pages in Joomla! Frontend Sites

For information for including CiviContribute online contribution pages in your Joomla front-end sites, visit Displaying Online Contribution Pages in Joomla! Frontend Sites.

Sending Anonymous Users to a Contribution Page with their Contact Data Pre-filled

A great feature is to "invite" your non-logged in users to visit an online contribution page using CiviMail (or the "Send Email to Contacts" functionality), and have the form pre-loaded with their current information (Email address, Billing Address - if you collect it, First and Last Name, etc.  Whatever fields you expose via a profile).

To do this, insert the following link with appropriate tokens as shown into a CiviMail message:

... where N is the ID of the Online Contribution page you want to send them to. This link, which is active for 7 days from the day you send them the mailing, will pre-populate the fields of the contribution page and profile with any data that already exists for this record.

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.