WordPress.org

Ready to get started?Download WordPress

Forums

Nav Menu Roles
[resolved] Menu Display issues (6 posts)

  1. petriknz
    Member
    Posted 6 months ago #

    I don't know what's going on. I had a similar post before and again I am running in to display problems.

    I have three roles created for three different customer groups we have.

    Some menu items are assigned to all of those roles and others to one or two.

    I have also told each menu item to be visible to admin. So I can see all menu's while logged in as admin to save having to login and out as each role.

    The below images show the roles as allocated to the top most menu item. Each menu item has the Administrator ticked but every other one has any mix of Mitre10, IS Customers or Full Order Form depending on the customer that needs to see that menu.

    Then the view of a user logged in as an "IS Customer" and a view of someone just going to website without being logged in.

    For the logged in user it displays as it should. But for the logged out user it breaks the whole structure in to individual menu items.

    Roles allocation to top menu item
    http://www.sendspace.com/file/elh9vn

    Logged in
    http://www.sendspace.com/file/qd9omb

    Logged out
    http://www.sendspace.com/file/9kyoj0

    http://wordpress.org/plugins/nav-menu-roles/

  2. helgatheviking
    Member
    Plugin Author

    Posted 6 months ago #

    Since there is no way (as far as I know) to kill a menu "tree" (ie all the dropdowns under a menu item), all the sub-items must have the same role settings as the parent item.

    When Logged out, the "ordering" menu item is hidden, so the sub-items have no parent and all heck breaks out.

  3. petriknz
    Member
    Posted 6 months ago #

    OK I'm confused.

    "Odering" is not hidden when logged out. If you look at the line up in the logged out image it is in amongst it.

  4. helgatheviking
    Member
    Plugin Author

    Posted 6 months ago #

    Sorry, could you 1. upload the images to imageshack? and 2. provide a link to your site? I might also need admin credentials, which you can submit via my contact page.

    If "Ordering" isn't specifically the problem, I still suspect it is similar that a parent item is not displayed but it's children still are.

  5. petriknz
    Member
    Posted 6 months ago #

    I don't have an account (nor want one) with image shack. I have sent you a mail with credentials. As the images are only what you'll see anyhow when you follow the email I sent.

  6. helgatheviking
    Member
    Plugin Author

    Posted 6 months ago #

    Admin role setup
    http://i42.tinypic.com/2gskimu.jpg

    Logged in
    http://i44.tinypic.com/6ir5tl.jpg

    Logged out
    http://i43.tinypic.com/okq1xk.jpg

    For future readers, the menu structure can commonly be broken, because all the sub-items must have the same role settings as the parent item. As far as I know, there is no way around this.

    However, in this instance, there are clearly 2 different menus being displayed. When logged out, the theme is showing wp_page_menu() which cannot be filtered the same way by my plugin.

Reply

You must log in to post.

About this Plugin

About this Topic