Page 1 of 1
Listing calendar
Posted: Fri Nov 10, 2006 1:47 pm
by acpjax
I am currently creating a Rental site. Everything is working fairly well just got to tweak a few things. What im trying to do now though is add a calendar function that will allow each user to customize a very basic calendar embedded in their listing, The purpose would be to show when the item is avalible. just as simple as being able to turn the days its unavalible red would be all i need. I know i dont have the skill to write the code from scratch. Does anyone know of a script i could modify to my needs?
Thankyou in Advance
Adam
Posted: Fri Nov 10, 2006 1:58 pm
by Luke
I wrote a calendar display class... but it's not real user-friendly so to speak and it's not done... but it could easily provide the functionality you're looking for... with a little love
http://mc2design.info/demos/MC2/Calenda ... &year=2007
Posted: Fri Nov 10, 2006 2:25 pm
by acpjax
I love the look of it.. very clean and simple.
The challenge im really running into and where my obvious lack of knowldge comes into play. Is when i want the calendar to be specific to the Listing.. So that each listing has a calendar associate to it, and the user that created the listing has the permisions and ability to just change the color of specific days/weeks etc. Now with my lack of knowldge it might just be something that i need to accept im unable to do for the moment. Might have to really hit the books and build it bit by bit

. Just was curious if anyone knew of one or a few scripts/code that i could base it off of..
Posted: Fri Nov 10, 2006 2:31 pm
by RobertGonzalez
Nice calendar Ninja. Add some days of the week and you are going places.
Posted: Fri Nov 10, 2006 2:31 pm
by Luke
I'm using that script there in a google maps application that attaches events to locations and the calendar. You can search the calendar for events and then plot them on the map or search the map for events and then plot them on the calendar... so this script is more than capable of that, but it's all object-oriented code. I've already written an extension to it that allows for the events to be plotted on to it. I think the only part you'd have to do is the database backend. Do you know how to set up a database? PM me if you want to see the application I'm talking about as it isn't public yet.
Posted: Fri Nov 10, 2006 2:32 pm
by Luke
Everah wrote:Nice calendar Ninja. Add some days of the week and you are going places.
Yea that's the most basic implementation of it. It's got a template extension as well as a few standard implementations as you see there.
Posted: Fri Nov 10, 2006 2:33 pm
by RobertGonzalez
Still dude, it is very nice.
Posted: Fri Nov 10, 2006 2:38 pm
by Luke
...serves its purpose.

yapc: yet another php calendar
Posted: Sat Nov 11, 2006 12:49 pm
by califdon
Here's another approach that I haven't finished developing, but if anyone's interested in the code, I'll be glad to send it to them:
http://ravey.net/test/calendartest2.php
Don