1. Download the dll here : vtCalendarExt.zip Source Code: vtCalendarExt_Source.zip
2. Extract vtCalendarExt.dll to your /deki_install_dir/bin/services
3. Restart dekihost service
4. Add a new Local Service
5. Use SID: http://ossglobal.ie/opensrc/deki/2007/09/vtcalendar
6. Enter the following config items
dbuser
dbname
dbpassword
dbserver = database server ip or name where vtcalendar database is stored.
calendarbase = path to your vtcalendar eg http://localhost/calendar/
It will look something like:
7. Edit any page in Deki and enter the following:
{{ vtCalendar.getevents(10) }}
The function returns the upcoming events for next 10 days including today..
Bugs:
1. Any event title with single apostrophe ‘ will not be displayed in deki.
Todo:
1. Fix bug 1 from above.
2. Somehow the event page needs to be opened withing deki.
any suggestions , issues, contact me at: pratheesh at ossglobal . ie (without the spaces and convert at to @)
| File | Size | Date | Attached by | |||
|---|---|---|---|---|---|---|
| vtCalendarExt-1.8.3.zip updated vtCalendar extension compiled for Deki wiki 1.8.3 | 6.18 kB | 15:27, 8 Jan 2008 | petee | Actions | ||
| vtCalendarExt-1.8.3c.zip 1.8.3c TEST | 6.32 kB | 16:29, 26 Feb 2008 | petee | Actions | ||
| vtCalendarExt1.1.0.1_deki1.9.zip fixed single quote issue | 6.24 kB | 09:17, 31 Mar 2008 | pratheesh | Actions | ||
| vtCalendarExt_Source.zip No description | 428.85 kB | 15:18, 2 Nov 2007 | pratheesh | Actions | ||
I just discovered that it does not matter if you add dbserver or not. It still only goes to the local host, so if you store your calendar db on a separate server it won't work. edited 17:41, 19 Jan 2008
Piko
-------------------- initializing
** (/var/www/dekiwiki/bin/mindtouch.host.exe:3898): WARNING **: The class Microsoft.VisualBasic.ApplicationServices.ApplicationBase could not be loaded, used in Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2008-03-18 18:06:15,162 [108161936] ERROR MindTouch.Dream.DreamFeatureChain - handler for POST:local://f1f0296937d84b569e9b385a39fe44d9/host/load?apikey=GYD1mXlWcyLyZnRV3Xdp1ZuTy7j3gvmD&name=vtCalendarExt failed (MindTouch.Dream.DreamHostService!LoadAssembly)()
System.TypeLoadException: Could not load type 'Microsoft.VisualBasic.ApplicationServices.ApplicationBase' from assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at <0x00000> <unknown method>
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000]
at MindTouch.Dream.DreamHostService+<LoadAssembly>d__19.MoveNext () [0x00000]
at MindTouch.Dream.Coroutine.Iterate_Helper (IEnumerator`1 coroutine, MindTouch.Dream.TaskBehavior behavior) [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_IEnumerator`1_TaskBehavior (System.Collections.Generic.IEnumerator`1,MindTouch.Dream.TaskBehavior)
at System.VoidClosure`2[System.Collections.Generic.IEnumerator`1[MindTouch.Dream.IYield],MindTouch.Dream.TaskBehavior].Closure () [0x00000]
at MindTouch.Dream.Task.Execute (System.VoidHandler handler, MindTouch.Dream.TaskBehavior behavior) [0x00000]
2008-03-18 18:06:15,225 [108161936] WARN MindTouch.Dream.DreamHostService - Stop: service did not shutdown(/host)
Unhandled Exception: System.InvalidOperationException: ERROR: assembly '/var/www/dekiwiki/bin/services/vtCalendarExt.dll' failed to load
at MindTouch.Dream.DreamHost..ctor (MindTouch.Dream.XDoc config) [0x00000]
-------------------- shutting down
I wait to help you.
I'm back from a long study break :)
Fgalinux, the problem is with your mono installation. please try updating the mono installation. please go to http://wiki.opengarden.org/index.php?title=User:SteveB/Upgrading_the_VM_to_Mono_1.2.6&highlight=mono
I've recompiled vtcalendar with the latest dream libraries. please see the attached file vtCalendarExt1.1_deki1.9.zip edited 17:21, 19 Mar 2008
Thanks a bunch for fixing the page errors :)
I'll have to get vtcalendar installed and will test the issue with dbserver. We had to move away from vtcalendar.
Looking into a collaboration email server edited 17:23, 19 Mar 2008
i just tested the extension. Installed vtCalendar on a different machine, used the ipaddress in deki and it worked.
Not sure why its not working for you.
:9(
i've fixed it. just replaced single quotes with ' :)
please download vtCalendarExt1.1.0.1_deki1.9.zip from this page.