+ Reply to Thread
Results 1 to 10 of 29

Thread: Booking plugin question

Hybrid View

  1. #1
    Quote Originally Posted by Tim Copper View Post
    Hello Flynax,

    How do I change the date format of the Check Availability field from booking field.
    https://realty.demoflynax.com/search.html

    It currently formatted as dd-mm-yy, but in the US we use mm-dd-yy
    Hi Tim,

    Try following steps:


    1. Find rows in file ca_js_handler.tpl:

    Code:
    Only registered members can view the code.
    and replace to

    Code:
    Only registered members can view the code.
    2. find:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    3. find rows in file rlBooking.class.php in hookListingsModifyWhereSearch() function

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    4. find below:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Last edited by Curtis; February 22, 2022 at 08:51 AM.
    Thank you, Curtis.
    @Flynax Company

  2. #2
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    267
    Hi Curtis,

    In this part of code

    Quote Originally Posted by Curtis View Post
    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Did you mean $to = date_parse($data['check_availability']['to']) instead because I could not find the line $to = $data['check_availability']['to']

  3. #3
    Quote Originally Posted by Tim Copper View Post
    Hi Curtis,

    In this part of code



    Did you mean $to = date_parse($data['check_availability']['to']) instead because I could not find the line $to = $data['check_availability']['to']
    Yes, sure. I've changed it in origin answer.
    Thank you, Curtis.
    @Flynax Company

+ Reply to Thread