Page 2 of 3

Calendar 0.2

Posted: Mon Feb 21, 2005 10:07 am
by Akrabat
I've updated the wiki with Calendar-0.2.zip

This version contains fixes to all bug reports to date (I think!) and a new display mode called "upcominglist".

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 10:30 am
by Anonymous
Arrrggg. :evil:

Have just upgraded to v0.2

I can't se the BIG calendar (i use the tag {cms_module module='Calendar' table_id='big'})

But it's only the small calendar that shows

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 10:33 am
by esmann
Sorry forgot to login:

Have just upgraded to v0.2

I can't se the BIG calendar i use the tag {cms_module module='Calendar' table_id='big'}

But it's only the small calendar that shows

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 10:48 am
by esmann
Hi Patricia

Can you give me a hint on how to do?



/Jimmy - DK

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 10:55 am
by Akrabat
Patricia wrote:also something else:
I tested on my local environement without problem (without mod_rewrite)
now on a webserver (where my config is with mod_rewrite) and then the link to next month doesn't work

working (/trunk = testsite) http://www.brumalsolstice.com/trunk/test.shtml
(not working link when click next month arrow) http://www.brumalsolstice.com/trunk/tes ... &m5month=3
Hm... is that a generic module issue with clean urls?
however, I had also a comment even when it works. If clicking on another month, then we arrive on say march 2005. This will remember and next time we enter the page, it won't reset to current month? is that intentional?
Yes, that's intentional so that you can have more than one calendar on a page.

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 10:55 am
by Ted
Patricia wrote:same here.
this is a problem Wishy solved and it appears again... maybe when cleaning TinyMCE folder the other day, a file was replaced by the default one....
That's exactly what happened. Upgrade TinyMCE to latest and forgot to go back and edit it to remove the quot stuff. Thanks.

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 11:28 am
by jah
Upcoming list of events is great :)

For the tooltip thing;

Is it possible to use a div positioned relatively instead of a tooltip?

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 11:36 am
by Akrabat
Anonymous wrote:Arrrggg. :evil:

Have just upgraded to v0.2

I can't se the BIG calendar (i use the tag {cms_module module='Calendar' table_id='big'})

But it's only the small calendar that shows
Try settings summaries='true'. The table_id is solely so you can write CSS rules that apply to that one particular calendar.

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 11:46 am
by esmann

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 11:57 am
by esmann
Try settings summaries='true'. The table_id is solely so you can write CSS rules that apply to that one particular calendar.
Nothing happens. Still the small calendar.

If I make a event, the event discription is shown in the middle of the small calendar and messes the calendar view totally up.

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 12:01 pm
by Akrabat
The style rules for my testbed page are:

Code: Select all

/* make all links red */
.calendar tr td a
{
color: red;
}

/* highlight "today" for the small calendar */
.calendar-today
{
font-weight: bold;
}

/* display the "upcominglist" as one line per entry */
#cal-upcominglist .calendar-date-title 
,#cal-upcominglist .calendar-summary-title
{
display: none;
}

#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
display: inline;
margin-right: 5px;
}

/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
color: red;
font-size: 120%;
}
#cal-list h2, cal-upcominglist h2
{
font-size: 110%;
}

/** large calendar rules **/
/* border on for #big */
#big{
margin: 0px;
border-collapse:    collapse;
border: 1px solid black;
}

/* nice squares for the #big table */
#big th
{
border: 1px solid black;
padding: 3px;
width: 75px;
}

#big td {
border: 1px solid black;
vertical-align: top;
padding: 3px;
height: 75px;
width: 75px;
}

/* format summaries nicely in #big */
#big ul
{
margin: 0px;
padding: 0px;
padding-left: 5px;
}

#big li
{
list-style-type: none;
padding: 0px;
margin: 0px;
}

/* background colours for #big */
#big td
{
background-color: silver;
}

#big .calendar-day
{
background-color: #80ff80;
}

#big .calendar-today
{
font-weight: normal;
background-color: #8080ff;
}

[/code]

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 2:02 pm
by Greg
Another variation just for the Calendar: (Hope you like green :wink: )

Code: Select all

#big {
width: 98%; 
border: 4px double #161; 
margin: auto
}
#big .calendar-prev {
font-size: 1.6em;
} 
#big .calendar-month {
font-weight: bold;
}
#big .calendar-next {
font-size: 1.6em;
}
#big .calendar-day {
width:14%; 									
border: 1px solid #ddd;
margin:0;
padding: 4px;
background-color: #efe;
}
#big th {
border-bottom: 2px double #999;
color: #393;
}
#big tr {
vertical-align: top;
}
#big ul {
margin: 1px;
padding: 0;
list-style: none
}
#big a, #big a:visited {
font-size: .8em;
color: blue;
}

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 3:07 pm
by Ted
I need to modify the rewrite rules to allow for parameters after an .shtml. In theory, it should be possible, but it's going to make me a little bit to figure it all out.

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 3:36 pm
by Akrabat
Patricia wrote:what should I remove in the code in order than when we reach the page again, it resets to current month?
Will stick a new param in this evening.

Edit: In SVN now. New parameter: use_session (true/false).

Calendar 0.2! (was 0.1)

Posted: Mon Feb 21, 2005 8:42 pm
by esmann
Big thanks to Akrabat and Greg.

Now my calendarworks pretty fine :P