Support the ongoing development of Laravel.io →
Views Packages
Last updated 2 years ago.
0

Very nice package. Will probably use this in the future.

Last updated 2 years ago.
0

@eriktisme: Thanks!!

One thing I would like to point out is that with:

$cal->setDayWrap(array('<div class="relative_pos_class">','</div>'));

The content in each cell gets wrapped with that tag. This allows you to have absolute positioned children inside the tag. So this is great for tooltips, popups, etc.. that can be added on hover a each cell for example... :)

Last updated 2 years ago.
0

Can this be used in a back-end system to allow admin users to say they have a room available for hire on the 1,2,4,15,20,22,23,24 etc and then display on the front-end to the user?

Last updated 2 years ago.
0

lstables said:

Can this be used in a back-end system to allow admin users to say they have a room available for hire on the 1,2,4,15,20,22,23,24 etc and then display on the front-end to the user?

Yes, but the calendar is "render-only", to input information to the database, you would need a form tied to the back-end, or add some functionality to the calendar with JS to pop out a form or something... Hope that helped.

And the "for hire" spots would be passed to the calendar as events in an array. Then displayed to the user.

Last updated 2 years ago.
0

I need a form/calendar http://cl.ly/image/2E3o3R171n3P in the CMS ive built in laravel that will allow the admin user to say the 2nd May is Unavailable for example then show the calender on the frontend to the user that would it greyed out or red or something any idea's on how to do this.

Last updated 2 years ago.
0

lstables said:

I need a form/calendar http://cl.ly/image/2E3o3R171n3P in the CMS ive built in laravel that will allow the admin user to say the 2nd May is Unavailable for example then show the calender on the frontend to the user that would it greyed out or red or something any idea's on how to do this.

@Istables: Well, I think you need somthing like this:

http://jqueryui.com/datepicker/

My calendar is for slightly different purposes.

Last updated 2 years ago.
0

Yes I understand I would need the datepicker from jQuery but how would one get the feature to work with php once a date is selected for instance?

Last updated 2 years ago.
0

lstables said:

Yes I understand I would need the datepicker from jQuery but how would one get the feature to work with php once a date is selected for instance?

Well, you need to submit the form and process it.

Last updated 2 years ago.
0

@makzumi the package looks decent. What styling did you use for for the Calendar that you posted in your example? When is the Week view going to be ready?

Also, do you plan on introducing start and end time for events?

There appears to be a bug with the first day of each month. It always starts on a Sunday, which is not correct.

I'm going to use this is a small project that I'm working on, so I'll provide some feedback in a couple of days. I got the basic calendar to work though. It would be nice if the data entry was abstracted so I could pull it directly from a DB and display the calendar. I'll need to create some helper methods for that.

Last updated 2 years ago.
0

@ztyankov: I made an update with day and week views. Take a look at the git repo:

https://github.com/makzumi/laravel-calendar

Thanks!

---edit --- I need to update the instructions in the first post. On ky cel at the moment

Last updated 2 years ago.
0

@makzumi the last update to the repo was 2 weeks ago. Did you just update the instructions? I added the options for view and start hours, but the time for the events does not show up in the calendar view.

Also, it looks like the time is not taken into account when displaying the events in the Month view. If I set 2 events on the same day not in chronological order it displays them like that. Example: Event 1 - 6/5/2014 @ 14:30, Event 2 - 6/5/2014 @ 11:30. If added in this order, they appear in that order in the view. All of these appear to work fine in week and day views.

Last updated 2 years ago.
0

@ztyankov: Hey, i've been pretty busy lately, I noticed a couple other bugs as well. Thanks for taking the time and checking it out and also for letting me know about problems you found. I'll fix these later tonight/tomorrow in the AM.

Thanks!

Last updated 2 years ago.
0

Also might be worth you checking my issue - https://github.com/makzumi/laravel-calendar/issues/2

Last updated 2 years ago.
0

Hey,

I updated the calendar with a couple fixes. On month view, starting days is correct now.

https://packagist.org/packages/makzumi/calendar

and

https://github.com/makzumi/laravel-calendar

@ztyankov: The events are rendered in the order they are passed in the array. I dont re-order them.

note: i updated the description at the top

Thanks a lot!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

makzumi makzumi Joined 15 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.