WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Submit Event form causing sidebar issues

[Resolved] Submit Event form causing sidebar issues

Viewing 11 replies - 1 through 11 (of 11 total)
  • caimin_nwl
    NetWebLogic Support

    @caimin_nwl

    Are you using custom templates?

    Yes, I added in a website field and extra text information in the event-editor.php file. However, it was still breaking it using the original file. Just to be on the safe side, I just downloaded another copy of the plugin and uploaded the event-editor file. Still broke. I then removed all custom css from my stylesheet and it’s still broke.

    caimin_nwl
    NetWebLogic Support

    @caimin_nwl

    Does it work ok with the default theme?

    No. I activated theme Twenty-Twelve and it does the exact same thing.

    caimin_nwl
    NetWebLogic Support

    @caimin_nwl

    Just tested this with Twenty Fourteen and it’s not breaking the sidebar.

    Are you using BuddyPress by any chance? I’ve a feeling there was bug along these lines that caused layout issues with some forms in BP.

    There’s a new version out today, so that may fix the issue.

    No, it does the same thing when I activate Twenty Fourteen. http://prntscr.com/2qg275

    Not using BuddyPress either. For now I will have to disable the sidebar until I can find a fix to the bug. Weird that it only happens on the ?action=edit page.

    Actually, now that I think about it I can’t remove the sidebar because I need it on the submit-event page. So I’m back to square one.

    I found what’s causing the sidebar to break. The main and row divs are closing before the Sidebar is called. Where it should be closing AFTER the sidebar – which it does correctly on all other pages. I’m not sure why it’s happening or where in the template I can fix it. I have been searching through event-editor.php to see if there are extra divs that are causing an issue.

    http://prntscr.com/2qghvg (submit-event/?action=edit: main divs closing BEFORE sidebar)

    http://prntscr.com/2qgi73 (Submite-Event page: main divs closing AFTER sidebar)

    I found the cause to the sidebar break. The theme main and row divs are closing BEFORE the sidebar is called in the submit-event/?action=edit page. The divs are called correctly everywhere else, including the submit-event page.

    I have searched through the event-editor.php file for extra divs that could be causing the break but not finding anything. I can’t figure out why this would be causing my divs to close before the sidebar. I have print screens below.

    http://prntscr.com/2qghvg (submit-event/?action=edit: main divs closing BEFORE sidebar and causing the break)

    http://prntscr.com/2qgi73 (submit-event page: main divs closing AFTER sidebar, the way it’s suppose to be)

    I FIXED IT. Your event-editor.php file had an extra </div> in it.

    ` <?php if(get_option(‘dbem_categories_enabled’)) { em_locate_template(‘forms/event/categories-public.php’,true); } ?>
    </div>
    </div>’ // I REMOVED THIS EXTRA DIV //

    Removing the extra div fixed the sidebar error. To make sure this wasn’t my error I downloaded the plugin again today and it’s in the file.

    Thank you! I thought I was going mad…your workaround fixed it for me too crimay.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Submit Event form causing sidebar issues’ is closed to new replies.