Return to Manage Events

Configuring Front-end Event Info and Event Registrations in Joomla! Sites

CiviEvent includes the ability to expose Event Information pages, as well as Online Event Registration forms, to users and visitors of the 'front-end' of your Joomla! site. This section covers adding these pages to your front-end site menus. Refer to this page for contribution page setup.

1. Create one or more Events.

Refer to the main Manage Events section for an overview and general information on creating Events.

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

3. Modify your index.php file to support CiviCRM front-end functionality

This step should be skipped for Joomla 1.5 which has built in session support for the front end.

CiviCRM front-end pages require a session to be started in order to function properly. You will need to patch the front-end index.php page to accomplish this:

// mainframe is an API workhorse, lots of 'core' interaction routines
$mainframe = new mosMainFrame( $database, $option, '..', true );

You may need root privileges or special permissions to edit this file. Add the following lines ABOVE the "$mainframe..." line you just found.

// These lines are needed for proper function of CiviCRM at the frontend
session_name( md5( $mosConfig_live_site . '_frontend' ));
session_start();

4. Add menu item(s) using the Administrator Menu Manager

Joomla 1.0.x Steps:
Joomla 1.5 Steps (CiviCRM 1.8+):

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.