Aller directement au contenu
Aller directement aux chemins de navigation
Aller directement au menu de l'en-tête
Aller directement au menu des actions
Aller directement à la recherche rapide
Recherche rapide
Espace
Pages
Nouvelles
Modèles
Etiquettes
Pièces jointes
Courrier
Activité
Avancé
Nouveautés
Répertoire des espaces
Générateur de flux
Raccourcis de clavier
Gadgets Confluence
Connexion
Tableau de bord
CiviCRM 4.6 Documentation
Copier la page
Vous n'êtes pas connecté. Toutes vos modifications seront marquées comme réalisées par
anonyme
. Vous pouvez vous
connecter
si vous disposez déjà d'un compte. Vous pouvez également vous
inscrire
pour obtenir un compte.
Cette page est en cours de modification par
.
Paragraphe
Paragraphe
En-tête 1
Titre 2
Titre 3
Titre 4
Titre 5
Titre 6
Préformaté
Guillemets
Gras
Italique
Souligner
Autres couleurs
Barré
Indice
Exposant
Chasse fixe
Retirer le formattage
Liste à puces
Liste numérotée
Liste de tâches
Retrait
Indentation
Aligner à gauche
Centrer
Aligner à droite
Lien
Table
Insérer
Insérer du contenu
Image
Lien
Pièce jointe
Symbole
Emoticône
Balise Wiki
Règle horizontale
Liste de tâches
tinymce.confluence.insert_menu.macro_desc
Mention utilisateur
Demande JIRA
Info
État
Galerie
Sommaire
Autres macros
Mise en page
Pas de mise en page
Deux colonnes (simple)
Deux colonnes (simple, volet latéral de gauche)
Deux colonnes (simple, volet latéral de droite)
Trois colonnes (simple)
Deux colonnes
Deux colonnes (volet latéral de gauche)
Deux colonnes (volet latéral de droite)
Trois colonnes
Trois colonnes (volets latéraux gauche et droite)
Annuler
Rétablir
Trouver/remplacer
Aide sur les raccourcis clavier
<p>Return to <a class="confluence-link unresolved" data-content-title="Manage Events" data-linked-resource-default-alias="Manage Events" href="#">Manage Events</a></p><h3>Configuring Front-end Event Info and Event Registrations in Joomla! Sites</h3><p>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 <a class="confluence-link" href="/confluence/display/CRMDOC/Displaying+Online+Contribution+Pages+in+Joomla%21+Frontend+Sites" data-linked-resource-id="86213833" data-linked-resource-type="page" data-linked-resource-default-alias="Displaying Online Contribution Pages in Joomla! Frontend Sites" data-base-url="http://wiki.civicrm.org/confluence">this page</a> for contribution page setup.</p><h4>1. Create one or more Events.</h4><p>Refer to the main <a class="confluence-link unresolved" data-content-title="Manage Events" data-linked-resource-default-alias="Manage Events" href="#">Manage Events</a> section for an overview and general information on creating Events.</p><h4>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.</h4><ul><li>Navigate to <strong>Administer CiviCRM » Manage Events » Test Drive or Live Page</strong> links.</li><li>Note the ID(s) of the Events(s) you want to add to your front-end menus - you'll need them shortly.</li></ul><h4>3. Modify your index.php file to support CiviCRM front-end functionality</h4><table class="wysiwyg-macro" data-macro-name="note" data-macro-parameters="title=This Step is Required for Joomla 1.0.x ONLY" style="background-image: url(/confluence/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vdGU6dGl0bGU9VGhpcyBTdGVwIGlzIFJlcXVpcmVkIGZvciBKb29tbGEgMS4wLnggT05MWX0&locale=fr_FR&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"><p><strong>This step should be skipped for Joomla 1.5 which has built in session support for the front end.</strong></p></td></tr></table><p>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:</p><ul><li>Open <site root>/index.php in your favorite editor and find this line. (note that the below line might be slightly different based on your exact version of Joomla!.</li></ul><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/confluence/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=fr_FR&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>// mainframe is an API workhorse, lots of 'core' interaction routines $mainframe = new mosMainFrame( $database, $option, '..', true ); </pre></td></tr></table><p>You may need root privileges or special permissions to edit this file. Add the following lines ABOVE the "$mainframe..." line you just found.</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/confluence/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=fr_FR&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>// These lines are needed for proper function of CiviCRM at the frontend session_name( md5( $mosConfig_live_site . '_frontend' )); session_start(); </pre></td></tr></table><h4>4. Add menu item(s) using the Administrator Menu Manager</h4><h5>Joomla 1.0.x Steps:</h5><ul><li>Login to Administrator if not already logged in.</li><li>Click <strong>Menu</strong> on top navigation bar and select the menu you want to add the Event link(s) to (for example - <strong>mainmenu</strong>).</li><li>Click <strong>New</strong> icon (top right).</li><li>Click <strong>Component</strong> radio button (top right entry in Components group).</li><li>Click <strong>Next</strong>.</li><li>Enter a <strong>Name</strong> for the menu item.</li><li>Choose <strong>CiviCRM</strong> from the <strong>Component</strong> list.</li><li>Complete the remaining fields (Parent Item, Access Level, Published) based on your requirements for this menu item and click <strong>Apply</strong>icon.<ul class="alternate"><li>The screen refreshes with the <strong>Parameters</strong> section fields now available.</li></ul></li><li><strong>Choose CiviCRM Task</strong> - Select <strong>Online Event Registration</strong> OR <strong>Event Info Page</strong>.<ul class="alternate"><li>NOTE: The <strong>Online Event Page</strong> task was added in CiviCRM 1.8. If you're using 1.7 and can't upgrade, you can still create a link manually to Event Info pages using the "Link" type menu item. The URL format is: http://<joomla_root_url>/index.php?option=com_civicrm&task=civicrm/event/info&id=1&reset=1</li></ul></li><li>Enter the <strong>Event ID</strong> using the numeric ID value you noted in the section above.</li><li>Do not modify the <strong>Reset</strong> field value (it should always be 1).</li><li>Repeat these steps as needed to add additional Event menu items.</li></ul><h5>Joomla 1.5 Steps (CiviCRM 1.8+):</h5><ul><li>Login to Administrator if not already logged in.</li><li>Click <strong>Menu</strong> on top navigation bar and select the menu you want to add the Event link(s) to (for example - <strong>mainmenu</strong>).</li><li>Click <strong>New</strong> icon (top right).</li><li>Click <strong>CiviCRM</strong> link from the <strong>Internal Link</strong> list.</li><li>Enter a <strong>Name</strong> for the menu item.</li><li>Complete the remaining fields (Parent Item, Access Level, Published) based on your requirements for this menu item.</li><li>In the <strong>Parameters-Basic</strong>section (upper right):<ul class="alternate"><li><strong>Choose CiviCRM Task</strong> - select <strong>Online Event Registration</strong> OR <strong>Event Info Page</strong>.</li><li>Enter the <strong>Event ID</strong> using the numeric ID value you noted in the section above.</li><li>Do not modify the <strong>Reset</strong> field value (it should always be 1).</li></ul></li><li>Repeat these steps as needed to add additional Event menu items.</li></ul><table class="wysiwyg-macro" data-macro-name="tip" data-macro-parameters="title=Fixing Problems with Module Visibility" style="background-image: url(/confluence/plugins/servlet/confluence/placeholder/macro-heading?definition=e3RpcDp0aXRsZT1GaXhpbmcgUHJvYmxlbXMgd2l0aCBNb2R1bGUgVmlzaWJpbGl0eX0&locale=fr_FR&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"><p>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.</p></td></tr></table><h4>5. Navigate to your front-end site and test out the your new menu items.</h4>
Veuillez saisir le mot apparaissant dans l'image.
Pièces jointes
Étiquettes
Emplacement
Surveiller cette page
< Modifier
Aperçu >
Chargement en cours…
Enregistrer
Annuler
Astuce suivante
search
attachments
weblink
advanced