Log on:
Powered by Elgg

ellen davis :: Blog :: Calendar Rewrite

December 22, 2006

I;ve decided to attempt to rewrite the calendar plugin.  I'll put a few days work into it and see how it goes.

 I plan to use the Active Calendar class from http://www.micronetwork.de/activecalendar/ to produce the calendars.

 Messages from Ben and Sven on the Elgg Developement list have given me some direction.  Put all the code in mod, and use adash (dashboard) as an example.  Having all the code in one directory should simplify things.

 I'll post my progress here.

Keywords: calendar

Posted by ellen davis


Comments

  1. Hi Ellen;

    One thing that's helped me is to version the database.  If you look on the plug-in SVN site, and go to the folio\_folio\setupdb.php page, you can see how I do versioning.  It's very inefficient code, but since it runs so rarely, I figured that it didn't matter.

    http://www.alia.org.uk/~sven/elgg/WebSVN/filedetails.php?repna

    I tell users when installing / upgrading to hit that page when logged in as news.  It'll check to see what version of the db they have installed, and will update it as needed to get to the most recent version.  I'm really not proud of the code, it's just sorta hacked together in a very inefficient manner.  However, it should be pretty easy to understand.

    Thanks for working on the cal plug-in, it's always nice to see progress being made on the add-in front.  Feel free to call / email / skype me if you've got any questions. I like the library you've chosen to show the cal, it's look pretty good & it's almost always easier to borrow common components than to make your own.  I think that I use 4 different javascript libraries in in my plug-in...

     

    Nathan GarrettNathan Garrett on Friday, 22 December 2006, 17:22 CET # |

You must be logged in to post a comment.