FAQ Agenda EN: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
mNo edit summary
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- BEGIN origin interlang links -->
<!-- You can edit this section but do NOT remove these comments
    Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:FAQ_Agenda]]
[[es:FAQ_Agenda_ES]]
<!-- END interlang links -->
[[Category:AgendaEn]]
[[Category:FAQ EN]]
[[Category:FAQ EN]]
'''How to Export the Dolibarr Agenda (for example to include it into Google)?'''
'''How to Export the Dolibarr Agenda (for example to include it into Google)?'''


- Activate module Agenda,<br/>
* Activate module Agenda,
- Create events and tasks,<br/>
* Create events and tasks,
- 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/>
* 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/>
- Get the link on line: "An export link to ical format is available at following link:"<br/>
* Get the link on line: "An export link to ical format is available at following link".<br/>
Example of build link (with "dummy") : <pre>http://monsite/comm/action/agendaexport.php?format=ical&type=event&exportkey=dummy</pre><br/>
Example of build link (with "DUMMY" as key word) :  
- Go on Google and "agend parameters" > add an agenda > add by url, enter the above link.<br/>
<pre>
* Problems already known: if the following message appears :<br/>
http://mysite/comm/action/agendaexport.php?format=ical&type=event&exportkey=DUMMY
</pre>
* Go on Google and "agenda parameters" > add an agenda > add by url, enter the above link.<br/>
Problems already known: if the following message appears :<br/>
''Impossible to get URL, because the robots.txt file does not allow exploration.''<br/>
''Impossible to get URL, because the robots.txt file does not allow exploration.''<br/>
edit file'' robots.txt'' that is present into your Dolibarr root web site, and change it to have:
edit file '''robots.txt''' that is present into your Dolibarr root web site, and change it to have:


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


Warning; You must wait 24hours before the change is known by Google.
Warning; You must wait 24 hours before the change is known by Google.

Latest revision as of 13:20, 23 July 2019

How to Export the Dolibarr Agenda (for example to include it into Google)?

  • Activate module Agenda,
  • Create events and tasks,
  • 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)
  • Get the link on line: "An export link to ical format is available at following link".

Example of build link (with "DUMMY" as key word) :

http://mysite/comm/action/agendaexport.php?format=ical&type=event&exportkey=DUMMY
  • Go on Google and "agenda parameters" > add an agenda > add by url, enter the above link.

Problems already known: if the following message appears :
Impossible to get URL, because the robots.txt file does not allow exploration.
edit file robots.txt that is present into your Dolibarr root web site, and change it to have:

User-agent: *
Disallow: /

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

Warning; You must wait 24 hours before the change is known by Google.