Calendar populated with CMS Builder records

46 posts by 12 authors in: Forums > CMS Builder
Last Post: February 27, 2012   (RSS)

Hi Chris,

A while back, in post http://www.interactivetools.com/forum/gforum.cgi?post=76360 you answered a question from Deborah about Entering repetitive data for a CMSB Calendar where events happened every Monday, or for 3 weeks in a row, etc.

Could you show how you would implement that on this Calendar project?

Thanks,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Calendar populated with CMS Builder records

By Chris - September 16, 2010

Hi Jerry,

Phew! Here's a PHP script which outputs Zickey's awesome calendar, but is driven by a repeating event system (with start and end dates, and checkboxes for days of the week) from the post you linked.

I hope this helps!
All the best,
Chris
Attachments:

repeating_events_2.php 6K

Chris,

Well there's nothing left to say but I'm awed and amazed.

The code even deals well with dates spanning years.

And... you don't seem to have to know if the start and end date is correct for a particular day, the code corrects for that.

As you mentioned in the other post, if you leave the end date blank, the event only appears on the actual start date, regardless of what days are checked.


Have I mentioned that YOU ARE THE BEST?

You've moved this project forward immensely...

I'll incorporate some more sophisticated rollover ToolTips and post all of the files here tomorrow.

Thanks from all of us,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Mikey - September 16, 2010

SWEET!!! I'm looking forward to adding this to the calendar. Repeating dates was one of the features I wanted to add and just haven't gotten around to working on.

Cheers!
Zick [:)]

Re: [gkornbluth] Calendar populated with CMS Builder records

By Mikey - September 17, 2010 - edited: September 17, 2010

Tool Tips! Cool!
Going to add this too!
Thanks Jerry!

Zick

Update: Jerry I just finished adding the Tool Tips. Nice!!!! worked like a charm. Just need to adjust the CSS a bit to fix the I6 background color. I'll post a revised CSS once I make the changes.

Thanks for posting up! Very nice feature!

By Mikey - September 17, 2010

I was getting an error when I tried to implement the date range feature, but after reading again it looks like I left out adding "check box records for days of the week".

Here's Chris' post regarding adding "days of the week" as check boxes.
http://www.interactivetools.com/forum/gforum.cgi?post=77337#77337

Cheers,
Zickey
Oh, you guys are the best!

I've been harping at poor Dave for ages about a calendar - particularly with support for repeating dates. Can't wait to dive into this puppy. My hat's off to the originator of this thread and the calendar layout also.

J.

Re: [InHouse] Calendar populated with CMS Builder records

Thanks Zickey, Chris and everyone.

Here's the 9/17 Zickey Calendar update.

You can see it in operation, using the files included in the attached .zip file at:
http://thecmsbcookbook.com/Calendar4.php

Changelog:
8/31/10 - Original Zickey Calendar Files uploaded
9/9-10/10 – Links added and modified by Chris
9/16/10 – Rudimentary ToolTips added that appear when an event title is hovered over.
9/17/10 - Calendar now includes multiple date event entry and rounded corners (except in IE) ToolTips that appear when an event title is hovered over.

Note:
There seems to be an issue with ToolTip displaying intermittently in the latest version of Firefox. (They’re fine in IE (except for the square corners) and in Safari and Chrome. If anyone has an idea, please post it on the forum thread and I’ll modify the code accordingly.

Keep posting your modifications.
This project's going to be AWESOME!

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Attachments:

zickey_calendar4.zip 19K

Re: [gkornbluth] Calendar populated with CMS Builder records

By Chris - September 17, 2010 - edited: September 17, 2010

Hi Djulia,

Chris, you think that it is possible to internationalize the calendar and to begin the week with Monday ?


I think the solution is as simple as adding the code in red:

$startday = $thismonth['wday'] - 1;

... and adjusting the headings.

I hope this helps! :)
All the best,
Chris