Extension talk:Calendar (Kenyu73)

= Fixed Bugs/Improvements = Fixes from last 'offical' contributors work User:Simsong/Calendar. I'll move the bugs from "New Bugs" to here as I find and fix them.


 * CalendarAdjust.php REMOVED - we're better off without it!
 * fixed the month/year buttons
 * added today button
 * added template load button
 * added "namespaces" for the calendar events
 * more Windows/Linux friendly without having to hack the code
 * tested with WindowsXP(IIS6) and CentOS 5.0(Apache)
 * fixed the "single day" view
 * fixed the bug where Aug/Nov 2008 were missing the 6th (row) of day(s)
 * can now "clear" an event by deleting all content in the event page
 * noadd parameter was backwards... thanks Quasar for the tip
 * added $extensionPath - allows you to manually override the default extension file path for the calendar_template.html import
 * added Subpage logic; saved events now have a neat link back to the "parent" calendar (must have in the CalendarEvents: to work though...not required though
 * [** HOT ** 12/12/08] Complicated shared calendars some... this update will break existing shared calendars; you must update your tag parameters. See the readme file included in the download or Extension:Calendar (Kenyu73)/Readme
 * added colors to the event labels
 * mouse hover link display's full uncut event name
 * added parameter 'usemultievent' to enforce uses to add multiple (day) events to the same event page
 * added 'debugging' to browser (not documented in Readme...buts is documented in the .php
 * added "Event Listing" ability... basically, a vertical list of upcoming events based on parameter(ie: 30days) (this hits the db alot... use smartly...)
 * moved templates to memory instead of hitting the same db lookup/template over and over and over again for each day.
 * increase performace by 75% by re-using cleared events and reducing the day limit of events to 5
 * added logic to enable multiple subscribed calendars (not for 'fullsubscribe' though)
 * removed hardcoded namespace logic; you can now choose any namespace or dont use any
 * (ie: 'CalEventsNS:TeamCalendar/ ' or 'TeamCalendar/ ')

= New Functionality Requests = ' No promises, but post an idea and I'll see what I can do. Better yet, send me the improvement and I'll add it in.'
 * Week view option
 * Subscribe to multiple calendars —— done(12/20/08)

= Tips/Comments = (12/29/2008) - Thanks Frank! I really just started learning php with this calendar and it looks like the warnings are a bunch of bad variable handling and/or lack of initalizing. I'll play around with the php flags and see if I can clean up the variables and such.

No bugs being reported here just nits (but a big thank you for taking over and I like the debug stuff you added) Frankk74 07:24, 28 December 2008 (UTC)

This is minor fyi....

I had these various debugging flags on in php.ini

display_errors = On log_errors = True error_log = "syslog" html_errors = True error_reporting = 6143

and a bunch of warnings popped up before the calendar...

I fixed 2 (but then turned off the flags:

< // FK <      var $debugEnabled = false; <      var $debugLevel = 0; 123,124c120

Sorted and uniq'ed for your viewing pleasure...

Notice: Undefined index: charlimit in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 868 Notice: Undefined index: date in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 926 Notice: Undefined index: debug in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 866 Notice: Undefined index: fullsubscribe in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 886 Notice: Undefined index: maxdailyevents in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 871 Notice: Undefined index: noadd in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 870 Notice: Undefined index: subscribe in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 882 Notice: Undefined index: useeventlist in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 926 Notice: Undefined index: yearoffset in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 867 Notice: Undefined property: Calendar::$arrAlerts in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 430 Notice: Undefined property: Calendar::$dateEnabled in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 329 Notice: Undefined property: Calendar::$subscribedPageName in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 705 Notice: Undefined property: Calendar::$useMultiEvent in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 257 Notice: Undefined variable: ret in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 441 Notice: Undefined variable: tag_eventList in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 334 Notice: Undefined variable: tag_eventList in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 346 Notice: Undefined variable: tag_templateButton in /opt/coolstack/apache2/htdocs/wiki/extensions/Calendar/Calendar.php on line 641

Thanks again!!!

Frank

= New Bugs =