Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author DOTonPAPER

    (@dotonpaper)

    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();
    Thread Starter link1web

    (@link1web)

    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?!?

    Plugin Author DOTonPAPER

    (@dotonpaper)

    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();
    });
    

    Hello,
    I’m having the same trouble (see at the end of that page https://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!!!

    Plugin Author DOTonPAPER

    (@dotonpaper)

    @ dvdesignerwp

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

    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.

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Thread Starter link1web

    (@link1web)

    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!

    Plugin Author DOTonPAPER

    (@dotonpaper)

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

    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

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

    Plugin Author DOTonPAPER

    (@dotonpaper)

    @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

    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 https://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!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Calendar do not show in frontend’ is closed to new replies.