• Resolved mlplus

    (@mlplus)


    Adding user rules to navigation block items is very bad. Every change exits the navigation item and the user rules doesn’t work at all

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mlplus

    (@mlplus)

    The short code block is also not working. Adding device rules has no effect.

    • This reply was modified 11 months, 1 week ago by mlplus.
    Plugin Author Daniel Iser

    (@danieliser)

    @mlplus – Hmm, first we’ve heard that. Gonna break your report down into separate parts:

    Admin Issue

    Every change exits the navigation item

    Looking at it just now on my dev site, I’m not seeing any issues in the admin when inserting a Navigation block, then adding rules to individual menu items. This is the same for both in page or Full Site Editor.

    For confirmation I added both user rules & device rules, there was no jumping or switching blocks.

    Can you try one of our demo sites and see if you can replicate it there? If not it would suggest a conflict with another plugin which we can help you narrow.

    User Rules applied to nav menu items

    This one I confirmed just now, though if its not working, it may suggest the nav menu item blocks do not get run through known filters for removal/replacement

    I’ll dig into the core code there, but its actually possible at this stage that there is no filter to allow handling that for those block items. Our device controls are managed by adding classes, user rules are applied by removing blocks entirely via specific filters. Clearly these aren’t using that.

    Shortcodes block controls not working

    I was also not able to duplicate this. Adding a non-existent shortcode for a test as it simply renders itself, the block does hide for device controls & user controls for me.

    One thing to keep in mind is, admins are excluded from restrictions by default, so you may need to disable that in plugin settings.

    Recapping I only can confirm one of these 3 issues, the other 2 I wasn’t able to duplicate.

    Feel free to try and reproduce them on one of our clean demo sites: https://app.instawp.io/launch?t=content-control-pro-demo—star-wars-theme&d=v2

    As for the 1st & 3rd issues, I suspect a conflict with another plugin or theme, but its hard to say without narrowing it down. You can use the Health Check & Troubleshooting plugin to do that via its Troubleshooting mode if you like.

    Will work on the menu item user controls issue and see what I can come up with.

    Plugin Support Kim L

    (@kimmyx)

    Our developer sent a more detailed reply ^ ??

    • This reply was modified 11 months, 1 week ago by Kim L.
    • This reply was modified 11 months, 1 week ago by Kim L.
    Plugin Author Daniel Iser

    (@danieliser)

    @mlplus – I’ve patched the nav menu links issue, it will be in the next update.

    Let me know about the other 2 issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User rules not working on navigation block items’ is closed to new replies.