WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Different design between local and web version (4 posts)

  1. fr.youri
    Member
    Posted 1 year ago #

    Hello,

    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 : http://img11.hostingpics.net/pics/92259791po.png
    the web one : http://img11.hostingpics.net/pics/515372po1.png
    (as you can also see, the sidebar is not load)

    the local one : http://img11.hostingpics.net/pics/39942513pa.png
    the web one : http://img11.hostingpics.net/pics/203821pa1.png

    (it can help you to understand the screenshots : http://img11.hostingpics.net/pics/118795explicatif.png )

    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

    Youri

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

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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!

  3. fr.youri
    Member
    Posted 1 year ago #

    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 !

    Youri

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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 :)

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic