WordPress.org

Ready to get started?Download WordPress

Forums

Booking System (Booking Calendar)
[resolved] Calendar do not show in frontend (14 posts)

  1. link1web
    Member
    Posted 1 year ago #

    Hello and thank you for this plugin.
    My problem is here:
    http://simbawakale.com/site/#/?page_id=364

    As you can see... no calendar displayed!
    Can you help me to fix it?

    Thank you for yor help.

    http://wordpress.org/plugins/booking-system/

  2. DOTonPAPER
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    If you load the content of the page with ajax you need to initialize the calendar after content is loaded.

    Add this code in JavaScript after content is loaded:

    jQuery("#DOPBookingSystem1").DOPBookingSystem();
  3. link1web
    Member
    Posted 1 year ago #

    Hi again.
    I have added this code in my <head> section but it doesn't work:

    jQuery(window).bind("load", function ($) {
    	//alert('test');
    	jQuery("#DOPBookingSystem1").DOPBookingSystem();
    });

    What's wrong?!?

  4. DOTonPAPER
    Member
    Plugin Author

    Posted 1 year ago #

    Not here.

    The content of your pages is dynamic. You need to add it after the content is displayed. Something like:

    $('#content').load(url, function(){
        jQuery("#DOPBookingSystem1").DOPBookingSystem();
    });
    
  5. dvdesignerwp
    Member
    Posted 1 year ago #

    Hello,
    I'm having the same trouble (see at the end of that page http://www.belgiovine.it/rabel/room/abruzzo-alba-adriatica-sea/) but I don't understand how I can add the code above in the dynamic template.

    Please help me.

    Thanks!!!

  6. DOTonPAPER
    Member
    Plugin Author

    Posted 1 year ago #

    @ dvdesignerwp

    Your problem is not the same. You need to use wp_head() and wp_foot() into your theme. Please view WordPress Codex.

  7. dvdesignerwp
    Member
    Posted 12 months ago #

    Sorry I don't understand. How I should add this code and where?
    I would like to test this plugin in order to decide if I should buy the PRO version but I need to understand how it works before.

    Thanks a lot.

  8. DOTonPAPER
    Member
    Plugin Author

    Posted 12 months ago #

  9. link1web
    Member
    Posted 12 months ago #

    Hello again and thank you for your help.

    Talking with template's developers, I have added JS calls in the right place and now, looking the code, I can find calendar... but the code is commented so it do not show in the page!

    I am pretty sure that it is a detail like a flag in backend configuration... but I cannot find it!

  10. DOTonPAPER
    Member
    Plugin Author

    Posted 12 months ago #

    The comment is not caused by our plugin. Probably is something from the theme after the content is loaded ...

  11. dvdesignerwp
    Member
    Posted 11 months ago #

    Sorry, my theme already used wp_footer() and I read the page that you linked, so I have already found the code in the general-template.php

    but the code above
    $('#content').load(url, function(){
    jQuery("#DOPBookingSystem1").DOPBookingSystem();
    });

    it gives my a syntax error or like this

    $template('#content').load(url, function(){
    jQuery("#DOPBookingSystem1").DOPBookingSystem();
    });

    It doesn't make anything (and the calendar is still not working in the frontend)

    Please help

  12. dvdesignerwp
    Member
    Posted 11 months ago #

    I can give you more information about the error.
    The server logs it gives me that message

    [Tue Sep 03 12:07:28 2013] [error] [client 89.97.195.76:35555] - http://www.belgiovine.it - End of script output before headers: frontend-ajax.php, referer http://www.belgiovine.it/rabel/room/abruzzo-alba-adriatica-sea/
    [Tue Sep 03 12:07:28 2013] [error] [client 89.97.195.76:35555] - http://www.belgiovine.it - AH01215: suexec policy violation: see suexec log for more details, referer http://www.belgiovine.it/rabel/room/abruzzo-alba-adriatica-sea/

  13. DOTonPAPER
    Member
    Plugin Author

    Posted 11 months ago #

    @dvdesignerwp

    Hello,

    I'm sorry for the delayed response. This could be caused by server permissions to file booking-system/frontend-ajax.php. Try to increase it to 755 or 777

    Thank you

  14. darkroom
    Member
    Posted 7 months ago #

    Hi,

    I am having the same problem and have tried some of the solutions you have suggested with no luck. Can you please look at my site http://dolphinpointbandb.com.au/make-a-reservation/ and let me know why the calendar is not loading?

    If I can get the plugin to work and my client is happy with it then we will purchase the pro version.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.