Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] Different design between local and web version

  • Resolved fr.youri



    I added your plugin to my website and it works perfectly, just had to change some color in the .css to fit my wordpress design. So in local, there was no problem with the plugin, all worked perfectly, I tested different functions to see if I could add it to my website. And it did this well, great work !

    So I decided to add it to my website, and then I have some problems.
    The page where the plugin is loaded (on the page content, not the sidebar), such as the main view of the calendar or the view of an event in particular, there is no background.
    My header is loaded perfectly, and then the content has no background, and my footer loose its right and left borders :

    (I can’t give you the website adress but I can tell you that the same version are running on the website and the local site, WordPress 3.4.2 and The Events Calendar version 2.0.7 and PHP 5_4)

    here some screenshots
    the local one :
    the web one :
    (as you can also see, the sidebar is not load)

    the local one :
    the web one :

    (it can help you to understand the screenshots : )

    Can you help me to know where the problem comes from ? The same code, the same version, just a different place and two different results.

    Thank you in advance


    (Excuse me for my possible mistakes, english is not my native language).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rob La Gatta


    Modern Tribe Support

    Hi there Youri. Thanks for the note here, and for sharing some screenshots explaining what’s up. I believe the solution here would be to change the template option under Events -> Settings -> Template. Looking at your first two screenshots, for example, where one includes the sidebar and the other doesn’t…this is because each of those sites has a different template selected. If you match up what you have on live with what you have on local at that Template dropdown, it should be consistent.

    Can you take a look and let me know if that does the trick? Thanks in advance!

    Thank you for your reponse Roblagatta
    I think I solved the problem by modifing the ecp-page-template.php and ecp-single-template.php and adding some other <div>

    I still don’t understand why there is no problem with the local site and one with the web one. But with this modifications, it looks good.

    The first problem I identified was that the web site lost a <div> so the footer where in the <div id=”page” > which is center with a special dimension, so I had to add a </div> before the get_footer(); and then I add <div id=”content” …> to the different files to have my background back.

    Strange problem, but I think it’s solved.
    Thank you also, for your reactivity

    and again, very good plugin !


    Plugin Author Rob La Gatta


    Modern Tribe Support

    Thanks for the follow-up, fr.youri – it sounds like you found a solution that, while not the one I initially proposed, got you where you needed to be. Fantastic to hear.

    If you do find that the behavior returns (I too am at a loss as to why it’d behave different between local and live, assuming all else was equal)…let me know and we can take another look. Otherwise, thanks again for your support so far and please let us know what else we can do down the road. If you’re enjoying the plugin we sure would appreciate a vote of WORKS or a positive star rating here at the dot-org repo 🙂


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: The Events Calendar] Different design between local and web version’ is closed to new replies.