How to Show any month on page load or on refresh Status:

Home Forums Booking Calendar PRO (jQuery Plugin) How to Show any month on page load or on refresh

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Marian 2 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)

  • Hi

    How to Show any month on page load or on refresh.
    Eg. I want to show Dec 2015 on page load. how to do this ? or want to go directly any other month.

    Thanks



    Marian Support Team #55064

    Hello

    For example for 21 December 2015 you must use the code:

    Best Regards,
    Support Team

    • This reply was modified 2 years ago by  Marian.
    • This reply was modified 2 years ago by  Marian.


    Hello

    And what about BackendBookingCalendar ?



    Marian Support Team #55090

    Hello

    For the backend for 21 December 2015 you must open dopbcp/assets/js/jquery.dop.BackendBookingCalendarPRO.js file and replace this :

    with :
    // Date(year, month [, day, hours, minutes, seconds, ms]) – month = from 0-11 ( 0 = January )

    and this :

    with :
    // Date(year, month [, day, hours, minutes, seconds, ms]) – month = from 0-11 ( 0 = January )

    Best Regards,
    Support Team



    Hello

    Also on next month click , how to load latest data for price, availability etc on BackendBookingCalendar ?

    eg. on Calendar current month is Jan, on next month click, when Feb month appear fetch latest data and and show them



    Marian Support Team #55678

    Hello

    You must save your reservation & availability data in database and load it from there.

    Best Regards,
    Support Team


Viewing 6 posts - 1 through 6 (of 6 total)

The topic How to Show any month on page load or on refresh is closed to new replies.