FAQ Agenda EN: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:FAQ EN]]
[[Category:FAQ EN]]
'''How to Export the Dolibarr Agenda (including Google)?'''
'''How to Export the Dolibarr Agenda (for example to include it into Google)?'''


{{ToTranslate}}
- Activate module Agenda,<br/>
- Activez le module Agenda,<br/>
- Create events and tasks,<br/>
- Créez des évènements et tâches,<br/>
- Into tab "Other" of Agenda module setup pages, into field "Key to allow the export": enter a word of your choice ( example : "dummy" and click on Save)<br/>
- Dans les paramètres du module Agenda, dans "Clé pour autoriser lien export": rentrez un mot quelconque ( exemple : "toto" et cliquez sur générer)<br/>
- Get the link on line: "An export link to ical format is available at following link:"<br/>
- Récupérez le lien en dessous de : "Un lien d'export du calendrier au format ical sera disponible à l'url:"<br/>
Example of build link (with "dummy") : <pre>http://monsite/comm/action/agendaexport.php?format=ical&type=event&exportkey=dummy</pre><br/>
- exemple de lien généré (avec "toto") : <pre>http://monsite/comm/action/agendaexport.php?format=ical&type=event&exportkey=toto</pre><br/>
- Go on Google and "agend parameters" > add an agenda > add by url, enter the above link.<br/>
- Donc dans "paramètres de l'agenda" > ajouter un agenda > ajouter par url, rentrez le lien ci dessus.<br/>
* Problems already known: if the following message appears :<br/>
* Problème rencontré : si le message d'erreur suivant apparait :<br/>
''Impossible to get URL, because the robots.txt file does not allow exploration.''<br/>
''Impossible de récupérer l'URL, car le fichier robots.txt nous empêche de l'explorer.''<br/>
edit file'' robots.txt'' that is present into your Dolibarr root web site, and change it to have:
éditez le fichier ROBOTS.tx, qui se trouve à la racine de votre site Dolibarr, et configurez le de la manière suivante :


<pre>User-agent: *
<pre>
User-agent: *
Disallow: /
Disallow: /


User-agent: Googlebot
User-agent: Googlebot
Disallow: /
Disallow: /
Allow : /comm/action/agendaexport.php?format=ical&type=event&exportkey=CLEDECONTROLE</pre>
Allow : /comm/action/agendaexport.php?format=ical&type=event&exportkey=CLEDECONTROLE
</pre>


* Attention d'attendre environ 24 heures pour que le changement soit pris en compte.
Warning; You must wait 24hours before the change is known by Google.

Navigation menu