• Resolved sammerman04

    (@sammerman04)


    HI,

    The Weglot app is working great on my site, expect for one page.

    When I swith to the translated version of this page (NL -> FR) the following things happen:
    – Theme element ‘easy slider’ dissapears
    – My footer dissapears
    – The wordpress edit section on top of the page dissapears
    – The plugin ‘booking calendar’s calendar dissapears en stops fuctioning.

    When I remove the booking calendar plugin everythins works perfect again. So the problem is a conflict between Weglot and Booking calendar.

    Any way I can solve this issue? A lot of sites have the booking calendar plugin, so I assume others (will) have the same problem.

    Thank you in advance!
    Sam – Belgium

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • wpdevelop

    (@wpdevelop)

    Hello.
    Just some note, when checking this link, in the details form you can see code that have to be inside of the page. Its seems that during switching to other language, the content of page is updated and there is missing some closing HTML elements, like </div> or some other. Its generate such issues.
    Kind Regards.

    Plugin Author Remy B

    (@remyb92)

    Hello,

    Yes indeed, it seems there is an error in your original page :

    You have a self closing tag on the textarea which is not a valid HTML :
    Try replacing :
    <textarea rows="3" name="details1" id="details1" class="input-xlarge" /></textarea>

    By
    <textarea rows="3" name="details1" id="details1" class="input-xlarge" ></textarea>

    Also Try replacing
    <select name="visitors1" id="visitors1" class="input-xlarge wpdev-validates-as-required" />
    by
    <select name="visitors1" id="visitors1" class="input-xlarge wpdev-validates-as-required" >

    You can find these error here : https://validator.w3.org/nu/?doc=http%3A%2F%2Fvakantieinmiddelkerke.be%2Fnu-reserveren

    Hope this helps ??
    If you have any questions you can also answer on [email protected]

    wpdevelop

    (@wpdevelop)

    Hello.
    Thank you Remy. Yes, its seems like mistake in Booking Calendar.
    Please try to make this small fix (its will be exist in the next update of plugin 8.1.1

    Please open this file ../booking/core/admin/page-form-free.php

    ( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )

    then find this code:

    
                            $my_form.='   <textarea  rows="3" name="'. $form_field['name'] . $my_boook_type.'" id="'. $form_field['name'] . $my_boook_type.'" class="input-xlarge'
                                        . ( ( $form_field['required'] == 'On' ) ? ' wpdev-validates-as-required' : '' ) 
                                        . '" />';  
    

    and replace it to this code:

    
                            $my_form.='   <textarea  rows="3" name="'. $form_field['name'] . $my_boook_type.'" id="'. $form_field['name'] . $my_boook_type.'" class="input-xlarge'
                                        . ( ( $form_field['required'] == 'On' ) ? ' wpdev-validates-as-required' : '' ) 
                                        . '" >';  
    

    and

    this code:

    
                            $my_form.='   <select name="'. $form_field['name'] . $my_boook_type.'" id="'. $form_field['name'] . $my_boook_type.'" class="input-xlarge'
                                        . ( ( $form_field['required'] == 'On' ) ? ' wpdev-validates-as-required' : '' ) 
                                        . '" />';
    

    to this:

    
                            $my_form.='   <select name="'. $form_field['name'] . $my_boook_type.'" id="'. $form_field['name'] . $my_boook_type.'" class="input-xlarge'
                                        . ( ( $form_field['required'] == 'On' ) ? ' wpdev-validates-as-required' : '' ) 
                                        . '" >';
    

    Kind Regards.

    • This reply was modified 7 years ago by wpdevelop.
    Plugin Author Remy B

    (@remyb92)

    Yes this is it ?? It should indeed do the fix. Are you a developer from WPBC ?

    wpdevelop

    (@wpdevelop)

    Yes, I am.
    Thank you for this hint.:)
    Kind Regards.

    Plugin Author Remy B

    (@remyb92)

    You’re welcome, anytime ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conflict with booking calendar plugin’ is closed to new replies.