• Resolved downforu

    (@downforu)


    Hello,

    I am using Booking Activities along with WooCommerce. I would like to make the calendar to default to month view and delete the day view at all.
    I was able to do it in the previous 1.14.x versions by modifying js files : by replacing agendaDay by month and delete agendaDay when necessary.

    I tried to do the same with dayGridMonth and timeGridDay but it does not seem to work.

    Thank you very much !

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Hello, you can set the “Month” view by default and remove the other views thanks to the Display Pack add-on.
    The options will be in Booking Activities > Booking forms > your form > Calendar settings > Calendar tab > “Default view” and “Available views” (docs).

    Thread Starter downforu

    (@downforu)

    Hello,

    Thank you for your reply.

    My other problem is that the calendar is not responsive on mobile. Does the add-on fix this problem or should I do something else ?

    Thank you.

    • This reply was modified 2 years, 2 months ago by downforu.
    Plugin Author yoancutillas

    (@yoancutillas)

    It is possible but not recommended nor officially supported.
    A proper solution would be to create custom code in a child theme / a plugin using Booking Activities’ API, but I cannot provide support for custom code either.

    Plugin Author yoancutillas

    (@yoancutillas)

    Can you describe the problem?

    If the events looks too small, you can automatically load the Calendar on the “Day” view below the desired calendar width, thanks to that option:
    Booking Activities > Settings > General tab > “Load the “Day” view if the calendar width is less than”

    With the Display Pack add-on, you can chose what View to load according to the calendar width (you can set multiple thresholds, see that post)

    Thread Starter downforu

    (@downforu)

    My problem is that the calendar does not fit the mobile screen when in Portrait mode.

    Here’s a screenshot of the mobile view in the WordPress Customizer. As you can see, Google Chrome’s “inspect” tool shows that the calendar exceeds the mobile screen limits.

    Thank you.

    Plugin Author yoancutillas

    (@yoancutillas)

    This is not due to Booking Activities (demo), this is probably due to your theme or a plugin.

    Can you follow the instructions below “Booking Activities doesn’t work as it should” here: https://booking-activities.fr/en/documentation/faq/ ?

    Thread Starter downforu

    (@downforu)

    Thank you.

    Indeed, it seems after some testing that the problem’s coming from the WooLentor plugin.
    I use it in my custom product page in Elementor to add the Booking Activities calendar using the WL: Add to Cart widget.

    Plugin Author yoancutillas

    (@yoancutillas)

    Thanks for the feedback!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Default calendar view to Month in the 1.15.x version’ is closed to new replies.