Calendar question

Creating and modifying plugins.
Post Reply
Ianardo
Regular
Posts: 114
Joined: Sun Nov 28, 2004 3:02 pm
Location: Hastings, U.K.
Contact:

Calendar question

Post by Ianardo »

Is there any way to make the calendar show an event over several days?

A problem has arisen on one of my sites where an event needs to be on the calendar every day of a week but obviously only shows up on the day that the post is dated. The only way to make it appear for seven days is to make seven posts. (and this is what the editor has done, making the blog look very ugly)

I realise that to achieve this the posting date system would probably have to be re-written to have a 'Start date' and an 'End date' which I am definitely not up to doing.

Or maybe I could incorporate a different calendar somewhere.

Does anyone have any suggestions?
Cheers
Ian
75% of people make up three quarters of the World's population!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Calendar question

Post by garvinhicking »

Hi!
Ianardo wrote:Is there any way to make the calendar show an event over several days?
Yes, you could modify the calendar plugin. You could create a custom property field for your entries where you could add timestamps with commaseparated values. Those values you could explode and read in the calendar plugin and then stack it into multiple dates.

It will be quit eindividual for you, because what will you do if someone clicks on the date where an entry is made to span for a whole week, and then you have a second entry of a "real" entry on the same day? You would then go to the archive page listing for that day, but then your blog entry would not show up there, since it only shows up on the first day of posting.

Thus, the idea to use the sidebar calendar for this is conceptually a bit flaweed. I instead would suggest to use a freeform HTML calendar on the right sidebar, which is independent from the entry logic of s9y.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Ianardo
Regular
Posts: 114
Joined: Sun Nov 28, 2004 3:02 pm
Location: Hastings, U.K.
Contact:

Post by Ianardo »

Hmmm. I thought it would be something complicated like that.
Thus, the idea to use the sidebar calendar for this is conceptually a bit flaweed. I instead would suggest to use a freeform HTML calendar on the right sidebar, which is independent from the entry logic of s9y.
Any suggestions?
75% of people make up three quarters of the World's population!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Did you check out the "mycalendar" plugin maybe? Also some other web calendars might be nice, though I personally don't know of any

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply