Hi Mingsong,
first of all THANK YOU for this wonderful and WORKING calendar module.
What i am thinking of is an option to restrict the hours the calendar shows.
At the moment there is always all 24 hours shown in the calendar.
But if my opening hours are from 8 -18 o´clock there is no need to show 0-7 an 19-24.
Others also thought if that right here :)
https://stackoverflow.com/questions/27688279/full-calendar-business-hours
It would be great if such an Option would be available (maybe even included with
https://www.drupal.org/project/fullcalendar_view/issues/2993009
Best Regards
Comment | File | Size | Author |
---|
Issue fork fullcalendar_view-3009683
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dwwThis, this would be great. I wonder if I'll find time and a way to get this working. Meanwhile, "+1". ;)
Comment #3
blueblot CreditAttribution: blueblot commentedThat would be a nice feature.
Comment #4
dwwInitial patch to enable this to work at all. ;)
To use it, you'd have to have this in your theme or custom module:
Next step would be making it a setting for the Views display handler.
Comment #5
MaxPahHello,
Here is my patch from a project.
Settigns minTime and maxTime are added from views setting no hook needed.
Feel free to comment the form part.
Comment #6
MingsongThanks Maxime Pahud.
I am currently working on the Drupal 9 version of this module, in which will support external plugin where you can define your own new feature working with this module seamlessly.
Comment #7
MaxPahThanks for the information Mingsong !
I readd my patch here in case of someone on branch 2.x need it.
Comment #8
mvilluendas CreditAttribution: mvilluendas commentedThank you for the solutions.
Are there any updates to these patches for the 5.x-dev branch?
Comment #9
darklight90 CreditAttribution: darklight90 commentedHello,
do we have a patch for v 5.1.2 too?
Thanks
Comment #10
darklight90 CreditAttribution: darklight90 commentedI think I solved the problem for the last version of this module:
Comment #11
mandclu CreditAttribution: mandclu at Acquia commentedI was poking around in the FullCalendar documentation and noticed that the library has support for a businessHours parameter that can be passed in to define what hours show as available in the day view. Not really the same as what has been discussed here, but might be a nice addition, to add visual feedback to this feature.
Comment #12
jon.lund CreditAttribution: jon.lund commented#10 works for me. This is exactly what I was looking for. Thank you.
Comment #13
Bès CreditAttribution: Bès at Happyculture commentedPreparing patch for 5.x
Comment #15
Bès CreditAttribution: Bès at Happyculture commentedPatch for 5.x can be found in the merge request.
Patch for branch 2.X is in comment #7
I use a datetime form element to have a better widget in the configuration form.
Comment #16
DuneBL#14 is working for v5. many thanks
Comment #17
DuneBLMR 28 doesn't apply anymore on last v5
Comment #19
diegorsRebase done.
Comment #20
MingsongThanks everyone for working or providing your thought on this issue.
I made some minor changes on the MR.
If I could have anyone to test and confirm the last changes to the MR, that would be very helpful.
I will merge it once it is tested and confirmed.
Comment #22
MingsongRelease with 5.1.9.