Calendar 0.2! (was 0.1)

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

Calendar 0.2

Post 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".
Anonymous

Calendar 0.2! (was 0.1)

Post 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
esmann

Calendar 0.2! (was 0.1)

Post 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
esmann

Calendar 0.2! (was 0.1)

Post by esmann »

Hi Patricia

Can you give me a hint on how to do?



/Jimmy - DK
Akrabat

Calendar 0.2! (was 0.1)

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Calendar 0.2! (was 0.1)

Post 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.
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Calendar 0.2! (was 0.1)

Post 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?
Akrabat

Calendar 0.2! (was 0.1)

Post 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.
esmann

Calendar 0.2! (was 0.1)

Post by esmann »

esmann

Calendar 0.2! (was 0.1)

Post 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.
Akrabat

Calendar 0.2! (was 0.1)

Post 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]
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Calendar 0.2! (was 0.1)

Post 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;
}
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Calendar 0.2! (was 0.1)

Post 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.
Akrabat

Calendar 0.2! (was 0.1)

Post 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).
esmann

Calendar 0.2! (was 0.1)

Post by esmann »

Big thanks to Akrabat and Greg.

Now my calendarworks pretty fine :P
Locked

Return to “Modules/Add-Ons”