A file to Export ICS-files from ExtCalendar 2 and Subscribe - Joomla! Forum - community, help and support


hi!

i've been looking on way have users subscribe events made extcalendar 2. decided @ least make possible download ics-file makes possible import calendar own calendar program (ical, mozilla...)
so... after lot of research , testing came php file job quite well.

i'm not programmer have made solutions in file i'm sure neater , smarter. if feels continuing develop it, feel free... :d

how use it:
first off... need database connection , way extract rows from  table "jos_extcal_events"
i used dreamweaver (it's easiest way me). built code in file further down.

ok. file ready...
now, need link complete file.

this did...
i opened theme file in extcalendar 2, /components/com_extcalendar/themes/default/theme.php , put table cell after search icon (round line 100).
there placed link file ics.php placed in folder on server.

how subscribe
now have file in place. dead easy make subscription possibility.
use own link download .ics file.
up load folder on site.
make link name "subscribe"
link (with own path of course):
webcal://www.mydomain.com/folder/mycalendar.ics

then, need download new ics-file , upload folder on regular bases changes in extcalendar reflected.

to do
one crucial thing haven't solved how make day event correct way.
the ics file needs start date , end date (the day after) able tag day event.
the table jos_extcal_events doesn't contain end date that, instead outputs 0000-00-00 00:00:01 end date when day event , sets end time 00:00:00
in order come around made string start date , added 1 more day it. works fine... until start day last day of month... there not month has 32 days i'm sorry :d
so... if has solution this, greatful!!!

you find file here:
http://www.peddan.se/extra/ics.zip






Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support