Note that there are some explanatory texts on larger screens.

plurals
  1. PODHTMLXScheduler export and import to and from ics doesn't work
    primarykey
    data
    text
    <p>I am currently developing a calendar system and I want some events/dates send directly to and ics file from the web calender.</p> <p>Dhtmlxscheduler is exactly what I need. Writing the data to mysql works and it is reading the data too, but not to ics and from ics.</p> <p>Here is the code I have so far:</p> <pre><code>&lt;script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; &lt;script src="../../codebase/ext/dhtmlxscheduler_serialize.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; &lt;script src="../../codebase/ext/dhtmlxscheduler_multisource.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8"&gt; &lt;script type="text/javascript" charset="utf-8"&gt; function init() { scheduler.config.xml_date="%Y-%m-%d %H:%i"; scheduler.config.prevent_cache = true; scheduler.config.lightbox.sections=[ {name:"description", height:130, map_to:"text", type:"textarea" , focus:true}, {name:"location", height:43, type:"textarea", map_to:"details" }, {name:"time", height:72, type:"time", map_to:"auto"} ] scheduler.config.first_hour=4; scheduler.locale.labels.section_location="Location"; //scheduler.config.details_on_create=true; //scheduler.config.details_on_dblclick=true; scheduler.init('scheduler',new Date(2009,10,1),"month"); scheduler.setLoadMode("month"); scheduler.load(["php/events.php","/ics/schedule.ics"]); var dp = new dataProcessor("php/events.php"); dp.init(scheduler); } function show(){ alert(scheduler.toICal()); } function save(){ var form = document.forms[0]; form.elements.data.value = scheduler.toICal(); form.submit(); } function get(){ var form = document.forms[1]; form.elements.data.value = scheduler.toICal(); form.submit(); } &lt;/script&gt; &lt;/head&gt; &lt;body onload="init();"&gt; &lt;form action="../04_export/php/ical_writer.php" method="post" target="hidden_frame" accept-charset="utf-8"&gt; &lt;input type="hidden" name="data" value="" id="data"&gt; &lt;/form&gt; </code></pre> <p>It would be nice if you could help me. Thanks. Sorry that the post looks a bit strange. It is my first post with code....</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload