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

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

Thanks for this great post! :)

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

Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday
---

Thanks !

Djulia

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: [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