Calendar 0.4

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Akrabat

Calendar 0.4

Post by Akrabat »

New version of Calendar which might address the bugs so far :)

Download it here: http://wiki.cmsmadesimple.org/tiki-down ... p?attId=27

Changes:
* Support for language translations. (GB, FR and DE supplied)
* Default to a NULL end date (for single day events).
* Improved the help information.
* Display upcoming events in the correct order!
* Other minor bug fixes.

Any issues, let me know !
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: Calendar 0.4

Post by Greg »

Looks great. One small cosmetic change needed in line 1510, couple of spaces to separate the 'to'

Code: Select all

: </span>$event_date_start_string " . $this->lang('to') . " $event_date_end_string</div>\n";
Greg
Akrabat

Re: Calendar 0.4

Post by Akrabat »

oops! Thanks Greg. I've fix in svn.
esmann

Re: Calendar 0.4

Post by esmann »

Hi Akrabat.

If you want to add dansih to your calendar module then I have included the code below  :-)

____________________________________________________________________________




# Language: da_DK

$calendar_language_strings = array();
$calendar_language_strings['Date'] = 'Dato';
$calendar_language_strings['Details'] = 'Detaljer';
$calendar_language_strings['Summary'] = 'Oversigt';
$calendar_language_strings['Return'] = 'Tilbage';
$calendar_language_strings['to'] = 'til';

?>
dont

Re: Calendar 0.4

Post by dont »

And dutch...

Code: Select all

<?php
# Simple Language file for the Calendar module.
# Copyright (c) 2004 by Rob Allen <rob@akrabat.com>


# Language: nl_NL

$calendar_language_strings = array();
$calendar_language_strings['Date'] = 'Datum';
$calendar_language_strings['Details'] = 'Details';
$calendar_language_strings['Summary'] = 'Samenvatting';
$calendar_language_strings['Return'] = 'Terug';
$calendar_language_strings['to'] = 'naar';

?>
piratos

Re: Calendar 0.4-German Translation

Post by piratos »

You must change the german translation as follow:

From:

Code: Select all

$calendar_language_strings['Return'] = 'Zurü';
To:

Code: Select all

$calendar_language_strings['Return'] = 'Zurück';
pbol

Re: Calendar 0.4

Post by pbol »

I'm having an odd problem with the calender: when I click on an event I get two occurences of the event listing, one in the main content area and one where the Calender table was...
- also, as an alternative to the 'have summaries appear in the calender table' option (which really mangles the table dimensions) would it be possible to have the summary appear as a tooltip (in the 'title' attribute of the link)?
Akrabat

Re: Calendar 0.4

Post by Akrabat »

pbol wrote: I'm having an odd problem with the calender: when I click on an event I get two occurences of the event listing, one in the main content area and one where the Calender table was...
- also, as an alternative to the 'have summaries appear in the calender table' option (which really mangles the table dimensions) would it be possible to have the summary appear as a tooltip (in the 'title' attribute of the link)?
You should be able to use CSS to style the Calendar table so that the summaries don't mangle it. The CSS for http://www.akrabat.com/testbed/index.php?page=Calendar is an example.

I'll see what I can do about the tooltip summary though.
pbol

Re: Calendar 0.4

Post by pbol »

Thanks. I've had another look and I think I was mistaken - the text which blows out the table cells is the title, not the summary. Anyway - what would be nice for the little calender format would be to have no text appear in the cell, but for the title of the event appear in the 'title' attribute of the link.
The problem with the events appearing twice seems to have gone... not sure what's going  on there.
Locked

Return to “Modules/Add-Ons”