Extension talk:Calendar (Kenyu73)

Please use the (+) on the top of this page to add information here.

Please report any bugs or feature requests to my Google Issue List.

Image in useeventlist
Is it possible to an image in the useeventlist layout? I've tried a few ways with no success.

re:
If your using the lastest version, it should work fine. Add the image name or image wiki name and it'll show up.

Images
I can get it to work if I want an image alone, but if I add text after it I'll get just a text output such as X Event 1am-2:30am. If I include the text of the event on the next line down then only the image will show up and no text at all. Thank you for the prompt reply.

re:
The image itself is a single event. If you want text as part of it, then you'd need to enable summary mode so text after it is displayed.

You can also make additional events as follows Image.JPG == Some Event Title ==

useeeventlist (5/13/09)
Hi, the Calendar is working great (Thanks!) But I'm having a problem getting something set up.

I have a Calendar at Calendars:Systems with just the default calendar settings.

I then want to have on the main page the same calendar but in a useeventlist for easy quick viewing.

Here's my two pages:

Calendars:Systems



Main page entry



Any help is appreciated, thank you.

re:
You need to use the full page/calendar name format as follows:
 * subscribe="Calendars:Systems/Systems"

Solved
ah ha! Thank you!

Comment by jesram 4/30/2009
Great extension! Is there a way to display a week-style calendar for a week other than the current?

Thanks
Great calendar program!

Comment by tsmith81 1/14/2009
Works like a champ! Thank you so much. This is the best calendar I have seen yet.

Comment by viewplustech, Jan 09
Great extension keep up the good work and thanks for your help.

User:Abrillon
Thanks and by the way Great extension! All my users love it. --abrillon 00:25, 21 January 2009 (UTC)

Comment by --amaupin 13:44, 06 March 2009
Thanks to you we finally have a group calendar. Excellent job.

FCKEditor (latest nightly download as of 3/26/09), Calendar (Kenyu73) 3.7.1 and MediaWiki 1.13.3 don't play nice
I installed MediaWiki 1.13.3 a while back. Just today tried adding latest Calendar extension and latest FCKEditor. If both are on, any page with a calendar is blank. As soon as I turn off FCKEditor, Calendar pages appear again. I currently amwaiting for my systems guys to permission me to see the web server and php error logs because right now I'm flying blind...but in case anyone knows what's going on, please post here...I can't find anyone with the same problem.

I tried using th TagCorrection.php inclusion and addng the calendar tag to the corrections arrays but it's not fixing. The Calendars are in their own namespace and I tried the __NORICHEDITOR__ value for the specific pages wthout success nor can I figure out how to disable FCKEditor for all pages in the Calendar namespace for everyone. Any help, greatly appreciated.

-- rlb

re:
It may be fixed with some HTML changes I made. It seems to work much better with the 3.7.5 release.

Move Events ?
Hi, great calender and easy to set up. Any idea how to move Events in time after creating them ? I tried to use the "move" command of an article to change the Date in the article name. But this doubled the Event instead of moving.

re:
The calendar uses re-directs, so "moving" isn't as easy as one step. You'd technically have to delete the REDIRECT link on the original page...

re: done v3.7.6

UTC today highlighting
g'day, i have noticed the calendar does not highlight the correct day as today until 10 hours into the day, and i'm in UTC+10, so I am guessing it highlights by uncorrected UTC time. Is there any way to overcome this?

re:
I've found the issue... will have it fixed in the next release --Kenyu73 02:17, 6 May 2009 (UTC)

re: done v3.7.6 --Kenyu73 03:20, 6 May 2009 (UTC)

Repeating an event every week?
Great calendar! Super easy to use - thank you!

Is there a way to repeat an event every week? Or every month? (i.e. Every Wednesday afternoon, there will be a Team Meeting, or something). Or did I totally miss this in the ReadMe?

re:
The calendar currently only accepts YEARLY repeat events. I do have plans to make repeats better, but right now.. maybe within 6 months sorry )=

nl-translation, yyyy-mm-dd instead of m-d-yyyy
I've translated the messages into dutch: $messages['nl'] = array( 'default_title' => "Publiek",  'year' => "jaar",  'month' => "maand",  'week' => "week",  'ical_inst' => "Specificeer een ical-bestandsformaat (vcalendar).",  'add_event' => "nieuw",  'add_event_tip' => "Voeg een nieuwe gebeurtenis toe",  'styles_btn' => "Stijl",  'styles_btn_tip' => "Gebruik stijl op basis van sleutelwoorden",  'template_btn' => "Gebeurtenis",  'template_btn_tip' => "meer gebeurtenissen op een pagina...",  'ical_btn' => "Importeer",  'ical_btn_tip' => "Importeer een geselecteerd bestand",  'ical_browse_tip' => "Blader naar een te gebruiken ical-bestand",  'config_btn' => "Voorkeuren",  'config_btn_tip' => "Voeg kalendervoorkeur toe",  'today' => "vandaag",  'invalid_namespace' => "Ongeldige naamruimte; kalenders moeten in de volgende naamruimte gemaakt worden: ",   => "",   => "", );

Is it possible to use some other (user selectable?) format for article titles? The "month-day-year"-convention is quite confusing for those accustomed to "day-month-year". Arent 12:47, 8 June 2009 (UTC)
 * Found it already I think.

//$date = "$month-$day-$year"; $date = "$year-$month-$day";
 * In CalendarArticles.php line 335 and Calenar.php line 1425 (not really tested yet).  Arent 13:05, 8 June 2009 (UTC)
 * Better yet:

// added a function to common.php static function getDateString( $month, $day, $year ) { return strftime( "%Y-%m-%d", mktime(0, 0, 0, $month, $day, $year) ); }
 * use in CalendarArticles.php line 335 and Calenar.php line 1425

$date = common::getDateString( $month, $day, $year );
 * seems to work fine. Arent 18:38, 8 June 2009 (UTC)

comment by almaghi
Thanks for this tricky extension !

Some possible improvement:
 * 1) rename the usetemplates parameter.  To useonepage useglobalpage allinonepage,...

Have fun, --almaghi 10:08, 11 June 2009 (UTC)

Characters encoding problem
I translated Calendar's messages to Polish, but displaying of diacritics is improper (I use UTF-8 encoding in my wiki and the file calendar.i18n.php is saved like UTF-8 too). What is wrong? --Gre9 11:41, 26 June 2009 (UTC)