Page 1 of 1

Calendar 0.7 alpha 2

Posted: Sat Nov 05, 2005 5:57 pm
by Akrabat
I've just released Calendar 0.7 alpha2 addressing some of the issues raised from alpha 2.

Change Log:

* Bug fix: include last day of the month!
* Bug fix: template use of $table_id should have {} around it.
* Include icon for content page.
* Whitespace changes - trailing spaces and tabs/space tidy up.
* Make default templates XHTML 1.0 Transitional compliant.

It's available at the newly created Calendar project on dev.cmsmadesimple.org.

Re: Calendar 0.7 alpha 2

Posted: Sun Nov 06, 2005 11:24 pm
by iNSiPiD
Akrabat,

Is there a way I can set a target for the events?

For example, if I put the calendar in the left column of my site I want the target area to be the main column {content}.

But now when I click an event the detail view appears both in the left column (in place of the calendar) AND in the {content} area.

NB: Thanks for making the code transitional compliant. I use a strict doctype, myself, but I'm a sucker for punishment! :D

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 11:12 am
by Akrabat
You can just modify the templates to make them strict :)

Ditto for setting the target: near the bottom of the "upcominglist" template there is the line:

Code: Select all

<a href="{$event.url}">{$lang.details}</a>
so just add target="whatver" to that and you are done.

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 10:24 pm
by iNSiPiD
But that would only work for frames, yes?

I guess what I'm asking is why does the detail view appear in BOTH the left column (where the calendar was) AND the {content} location? And can I stop it from doing the former?

I'm perfectly happy to have the detail appear in place of {content} but I want to keep the calendar fixed in the left column.

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 10:48 pm
by Akrabat
hmm... are you able to send me your database to play with?

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 10:52 pm
by iNSiPiD
You mean it's not meant to do that?

Is the usual target just {content}?

My db is many MBs. If you tell me what to look for I can go in and have a look. Or did you just want a dump of the Calendar tables?

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 10:54 pm
by Akrabat
I've never tried columns, so not clear on how to set it up!

I'm happy to receive a multi-megabyte attachment to rob [at] akrabat.com :)

Re: Calendar 0.7 alpha 2

Posted: Mon Nov 07, 2005 10:57 pm
by iNSiPiD
I'm just trying to get it to work like many Web calendars. They are usually fixed in the menu column and the results of a click appear in the main content column. At the moment the results appear in two places.

I'm not using frames. This is just a DIV based layout.

I'll keep playing with target and see what happens.

Re: Calendar 0.7 alpha 2

Posted: Tue Nov 08, 2005 8:00 am
by Akrabat
Whilst showering this morning, I finally worked out what you meant!

The current code won't do what you want. I'll dig into the module interface to see if I cat get it to do what you want...