Multiple views on same location rule not working

Support MB Views Multiple views on same location rule not workingResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20154
    badabingbredabadabingbreda
    Participant

    Hi, I'm trying to add two seperate views on a single page. I have them both set as:

    location : page -> patrick
    render for: The layout between header and footer

    The order for one view is set to 0, the other one to 10;

    The problem is that it only shows the one with the highest order-number, in this case 10.

    As soon as as i change the type to "custom" for the view with order 10, I can see the one that is supposed to show first. And, of course, not the first one.

    #20167
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If you want to show two views on the page/post, please set the type to Custom. It will disable the order to show both views. See my screenshot https://share.getcloudapp.com/X6uoxrkE.

    #20172
    badabingbredabadabingbreda
    Participant

    Hi,

    I think I get it now. I don't want to be that guy that compares this to another popular solution to do this, but maybe a warning that there is already an existing view active/multiple views would be helpful. I don't believe I will be the only one ending up with this question if you don't.

    I've simply used

    {{ mb.do_action( 'some_custom_action' ) }}

    as the main view so i can add an infinite number of action-views to it and set the order as I need.

    #20181
    Long NguyenLong Nguyen
    Moderator

    Hi,

    With the new feature of this extension, you can hook the view to the action as you do. For the older case, we can use the type Custom and add many shortcodes to the page/post to show multiple views.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.