User:pratheesh > VTCalendar Extension for Deki

VTCalendar Extension for Deki

Table of contents
No headers

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:
./vtcalservice.JPG

   

   

   

   

   

   

   

   

   

  

  

  

  

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..
./vtevents.JPG

   

   

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 @)

   

   

   

   

Tag page

Files 4

FileSizeDateAttached by 
 vtCalendarExt-1.8.3.zip
updated vtCalendar extension compiled for Deki wiki 1.8.3
6.18 kB15:27, 8 Jan 2008peteeActions
 vtCalendarExt-1.8.3c.zip
1.8.3c TEST
6.32 kB16:29, 26 Feb 2008peteeActions
 vtCalendarExt1.1.0.1_deki1.9.zip
fixed single quote issue
6.24 kB09:17, 31 Mar 2008pratheeshActions
 vtCalendarExt_Source.zip
No description
428.85 kB15:18, 2 Nov 2007pratheeshActions
Viewing 10 of 10 comments: view all
Hi Pratheesh I put formatting around {{ vtCalendar.getevents(10) }} since it was trying to call the callendar on this wiki! (-;
Posted 21:48, 8 Nov 2007
Hey there,

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
Posted 03:42, 8 Jan 2008
Just edited the page since parts did not look good in this new skin.
Posted 17:41, 19 Jan 2008
Interesting. Does vtCalendar also support any sort of collaborative content? I'd like to add that kind of capability to my wiki in Wik.is... :)

Piko
Posted 19:37, 17 Mar 2008
I am to have problems with dll file in my Centos 5. Anybody has a solution for this bug? Thx
Posted 16:58, 18 Mar 2008
Sorry, but my output error is:

-------------------- 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.
Posted 17:07, 18 Mar 2008
Hi guys,
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
Posted 17:19, 19 Mar 2008
Hi Petrus,
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
Posted 17:22, 19 Mar 2008
Petrus,
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(
Posted 17:41, 19 Mar 2008
vtcalendar extension would not display the title if there was a single quote in it.
i've fixed it. just replaced single quotes with &#39; :)
please download vtCalendarExt1.1.0.1_deki1.9.zip from this page.
Posted 09:20, 31 Mar 2008
Viewing 10 of 10 comments: view all
You must login to post a comment.
Powered by MindTouch Deki Enterprise Edition v.8.08 RC1