• Resolved Azhure

    (@nymphetaminerx)


    This plugin did everything I wanted it to do, except for one thing: it wouldn’t properly load the sidebar template. No matter what we did, or what fixes we tried, it didn’t fix loading the sidebar template properly. None of the solutions or suggestions I found while Googling or searching the support forums actually worked. Copying the templates to the theme’s directory didn’t work. Copying the raw code for the index template into the single-events.php didn’t work.

    Running the TwentyEleven theme on my site, with the sidebar, where we have put all of our widgets extra information. We always run the sidebar template for all of our pages.

    http://www.arangoth.org/events/event/armed-bout-4/ <– this is the events page, with the sidebar called in PHP above the footer line in the single-events.php file. It does not play nice no matter where I put it because it would appear that the template doesn’t have a spot for it in its table. The check box for enabling templates is checked.

    Not sure how to fix this, I’d appreciate some comments. I don’t have an extensive knowledge of CSS or PHP, and was looking for a plugin to manage this. This plugin would be amazing, if I could just get it to display the sidebar properly in pages it generated.

    Thanks in advance.

    http://wordpress.org/extend/plugins/event-organiser/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, sorry you’re having trouble with this.

    Just to clarify a few things. Moving the templates to the theme folder only ensures that changes are not lost when updating EO, so that alone won’t solve the issue. index.php is the wrong template to try and replace the single-event.php. The closest template to single-event.php is single.php.

    Taking a quick glance at the CSS between this page, and this event you can see that the elements: #prmiary and #content are styled different only ‘singular’ pages:

    .singular #primary {
    margin: 0;
    }

    and

    .singular #content, .left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;
    }

    Removing that seems to work – but might break something else. You can also add further CSS to over-ride the above on event pages if there necessary

    E.g.

    .singular.single-event #content{
    
    }

    Hope that helps!

    Thread Starter Azhure

    (@nymphetaminerx)

    Removing both of those code snippets from the CSS worked fine. It fixed the whole matter, and now the singular event is loading the sidebar.

    Thank you for your prompt reply! (And for dealing with my noobishness. I’m not a coder, obviously.)

    I’m going to <3 using your plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar Template Bug’ is closed to new replies.