WordPress.org

Ready to get started?Download WordPress

Forums

Ozh' Admin Drop Down Menu
Conflict with "Event Organizer" (2 posts)

  1. Jim Reekes
    Member
    Posted 6 months ago #

    I've been a long term fan of this plug it. I don't like the thought of not having it installed.

    I need an event calendar on a site I'm building and found this one (which looks very promising) has a conflict.

    Very simply install this plugin, add a Venue, and then go back to Venues and click Edit. I get a white screen of death, with nothing but a plain text of "cannot load venues"

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

    Something is really wrong when these two plug ins are active. Hopefully you can find a fix, so I re-activate my favorite amdmin plugin.

    http://wordpress.org/plugins/ozh-admin-drop-down-menu/

  2. Jim Reekes
    Member
    Posted 6 months ago #

    FYI - this comes from the author of Events Organiser

    So I know what is causing it. The drop-down menu is effectively changing the admin urls. I've not looked into the details as to why, but with ozh deactivated the admin venues page url is:

    /wp-admin/edit.php?post_type=event&page=venues

    However, when ozh is activated clicking the venues link takes you to:

    /wp-admin/admin.php?page=venues

    Note that the original url still works - its just the new admin menu points to this second url. The venues page works fine, however the edit venue url (which is the above appended with ?action=edit&venue=[venue-slug]) works for the first url but not the second.

    As such if you activated Ozh and manually type the first url you'll find you can still edit the venues. If you actually click the link in the new admin menu it takes you to the second url, and that produces a faulty edit-venue url. Bizarre.

    I've not looked into detail as to why alternate urls are being generated, but as it happens using get_edit_term_link() produces a valid edit-venue url, so in the next update I'll be using that rather than appending ?action=edit&venue=[venue-slug]. So both plug-ins will be compatible in the next update.

Reply

You must log in to post.

About this Plugin

About this Topic