Results 1 to 10 of 29

Thread: Booking plugin question

Threaded View

  1. #21
    Quote Originally Posted by Tim Copper View Post
    Hi Curtis, Would you also please help me change the date format to mm-dd-yy in these 2 locations.1. In add/edit listing page, when user add a custom rate:https://realty.demoflynax.com/edit-listing.html?id=61As you can see in screenshot the date are: 23-02-2022 --------- 24-02-2022Thank you
    So, you need to make changes in the plugins/booking/static/lib.js file1. find following line (~824) code in function rateRangeFieldsHandler()
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    2. find below line (~840)
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    3. find lines (~891) in function getMinRateDate()
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    4. in file plugins/booking/rlBooking.class.php find following lines (~1374)
    Code:
    Only registered members can view the code.
    and replace it to:
    Code:
    Only registered members can view the code.
    5. below find following lines (~1380)
    Code:
    Only registered members can view the code.
    and replace to:
    Code:
    Only registered members can view the code.
    Quote Originally Posted by Tim Copper View Post
    Hi Curtis,2. In the RENTAL RATE(S) box, when user makes a booking request or checking booking order:https://realty.demoflynax.com/bookin...-st-48-r6.htmlhttps://realty.demoflynax.com/booking-order.htmlAs you can see on the left, the rental rate(s) date formats are all: dd-mm-yy
    1. open file plugins/booking/rlBooking.class.php in line (~824)find lines in function getRateRange()
    Code:
    Only registered members can view the code.
    and replace to
    Code:
    Only registered members can view the code.
    Quote Originally Posted by Tim Copper View Post
    Hi Curtis,Last request of mine is would you please help me remove the CKEDITOR from the comment section of booking request page:https://realty.demoflynax.com/bookin...-st-48-r6.htmlI just want a regular text box, no CKEDITOR.Thank you
    1. open file plugins/booking/booking_requests.tpl and find line:
    Code:
    Only registered members can view the code.
    2. and comment or remove it
    Code:
    Only registered members can view the code.
    3. open file plugins/booking/static/lib.js file
    and find line (~591) in function bookingRequestHandler()

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

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