Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP Calendar?

I would like to build one, but why reinvent the wheel?

     
3:50 pm on Jan 25, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 1, 2007
posts:24
votes: 0


I wouldn't come here if I hadn't searched for the last 3 days to no avail. I wont lie, it this pretty much a script request, as much as I hate to say it. There are a lot of brilliant people on these forums and I am sure someone can help me.

Quite simply, I am looking for a calendar script that has the very basic functionality of "blocking out" dates, which makes them return as a different color.

I could add that functionality in myself, but I can't find a simple php calendar that doesn't have a bloated feature set. I just need a calendar, or a calendar that allows me to block dates out.

Anyone here know where to find one?

(I have searched google and hotscripts thoroughly, in my estimation)

4:00 pm on Jan 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2003
posts:2355
votes: 0


The "blocking out dates" part makes me think of MRBS:

[mrbs.sourceforge.net...]

But maybe that's overkill for your purposes?

Also, check:

[sourceforge.net...]

4:41 pm on Jan 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2005
posts: 1526
votes: 0


If you don't mind rolling your own a bit, look at the PEAR Calendar [pear.php.net]. There are some excellent examples in there that show how easy it is to build a calendar with the system.

I am using a combination of PEAR Calendar and a mutilated version of PHP iCalendar to do our calendar.

4:43 pm on Jan 25, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 1, 2007
posts:24
votes: 0


The "blocking out dates" part makes me think of MRBS:
[mrbs.sourceforge.net...]
But maybe that's overkill for your purposes?

Very much overkill, but thanks for the suggestion


Also, check:
[sourceforge.net...]

Maybe I am dense, but most of the projects have nothing at all to download? I found one (php booking calendar) but it's really robust, and I don't need all of that (nor do I want it)

4:44 pm on Jan 25, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 1, 2007
posts:24
votes: 0


cmarshall - do you have a link to your calendar?
6:27 pm on Jan 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2005
posts: 1526
votes: 0


cmarshall - do you have a link to your calendar?

Sorry. Nocandu. It's inside our corporate network.

What I did was take iCalendar, clean the code with a wire brush and lye to make it validate, then switch the calendar data (vCalendar) to structures inside our Wiki DB, along with all kinds of security stuff and color tagging, yadda, yadda.

The PEAR stuff is for display of the calendars in Wiki actions. I plan to use it for writing calendar editors later, but that's another project.

iCalendar is nice, but it doesn't have much in the way of editing ("None" isn't much, right?) You need to upload iCal files for it to parse and display. Its code is also...not so clean.

7:31 pm on Jan 25, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 1, 2007
posts:24
votes: 0


I had no luck installing pear (thus inherently no luck installing pear :: calendar) - I'm just going to post it on getafreelancer I guess.

Thank you all for your help.

7:34 pm on Jan 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2005
posts:1526
votes: 0


You can download the files directly from the PEAR site and use them. You don't need to have PEAR installed.
3:03 am on Jan 29, 2007 (gmt 0)

Full Member

10+ Year Member

joined:July 5, 2004
posts:303
votes: 0


[micronetwork.de...]

This calendar uses a class to build it, I found it pretty easy to edit for my needs.