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
Listing calendar
Moderator: General Moderators
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
http://mc2design.info/demos/MC2/Calenda ... &year=2007
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..
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
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
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.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
yapc: yet another php calendar
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
Don