Aller directement à la fin des métadonnées
Aller au début des métadonnées

Displaying Online Contribution Pages in Joomla! Frontend Sites

CiviCRM includes the ability to present CiviContribute customized Online Contribution Pages to users and visitors of the 'front-end' of your Joomla (and Mambo) sites. This section covers procedures for adding these to your front-end site menus. You can also expose 'add contact' forms and contact listings using CiviCRM Profiles (more info...).

1. Create one or more Online Contribution Pages.

Refer to the CiviContribute Admin for an overview and general information on creating and configuring contribution page(s).

2. Verify that the contribution page that you want to include in your front-end site menu(s) work properly in the your Joomla Administrator interface.

  • Test your Online Contribution page in the backend by clicking the Test-drive or Live links from the configuration page.
  • Note the ID(s) of the Contribution Page(s) you want to add to your front-end menus - you'll need them shortly.

3. Add menu item(s) using the Administrator menu manager

  • Login to Administrator if not already logged in.
  • Click Menu on top navigation bar and select the menu you want to add the Profile link to (for example - mainmenu).
  • Click New icon (top right).
  • Click Component radio button (top right entry in Components group).
  • Click Next.
  • Enter a Name for the menu item.
  • Choose CiviCRM from the Component list.
  • Complete the remaining fields (Parent Item, Access Level, Published) based on your requirements for this menu item and click Apply icon.
    • The screen refreshes with the Parameters section fields now available.
  • Choose CiviCRM Task - Select Online Contribution.
  • Enter the Contribution ID using the numeric ID value you noted in the section above.
  • Ignore the Profile ID field (this is used when creating a menu item for Profile Search and Listings or New Contact Create Forms.
  • Do not modify the Profile Reset field value (it should always be 1).
  • Repeat these steps as needed to add additional menu items.
Joomla 1.5 Steps :
  • Login to Administrator if not already logged in.
  • Click Menu on top navigation bar and select the menu you want to add the Contribution link(s) to (for example - mainmenu).
  • Click New icon (top right).
  • Click CiviCRM link from the Internal Link list.
  • Enter a Name for the menu item.
  • Complete the remaining fields (Parent Item, Access Level, Published) based on your requirements for this menu item.
  • In the Parameters-Basic section (upper right):
    • Choose CiviCRM Task - select Online Contribution.
    • Enter the Contribution ID using the numeric ID value you noted in the section above.
    • Do not modify the Reset field value (it should always be 1).
  • Repeat these steps as needed to add additional Event menu items.
    Fixing Problems with Module Visibility

    The visibility for Joomla modules are based on menu links (ItemID). Some CiviCRM forms exposed through the frontend will lose the url-based connection to their menu item as you navigate deeper into the form, and consequently any modules associated with that menu item will disappear. To work around this, create a new menu for link generating purposes, set it to the "Special" user or hide it in a non-visible module position. Then create a url menu item and enter the url of the page that experienced the disappearing modules. Return to your module settings and add this new menu link to the list of pages the module should be visible on.

5. Navigate to your front-end site and test out the your new menu items.

Étiquette
  • Aucun