• Hi, thanks for the plugin. I have 2 sections, Courses and Now, Now is a subset of Courses. I created 2 CMW, one for each section that work OK, but when entering on one course page the two menus appear. I want to display only the corresponding menu section
    I’ve tried everything, I have sought answers, but can not find how to avoid it, can you help me?
    Thanks in advance

    • This topic was modified 8 years, 2 months ago by jgonzalo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wizzud

    (@wizzud)

    Oh bums! I’m really sorry, I missed this for some reason!
    Have you resolved this, or is it still a problem?

    I’m guessing that when you’re on a Now (or lower) page, you don’t want to see the Courses Menu?

    If it is still an issue, a possible way to resolve it might be to set Courses as an alternative to Now, conditional upon the current item not being in the primary filter.

    Eg : “show me Now and all descendants unless I’m not on a Now (or lower) page, in which case show me Courses and all descendants”.

    Thread Starter jgonzalo

    (@jgonzalo)

    Thanks Wizzud, I’ll try it.

    Thread Starter jgonzalo

    (@jgonzalo)

    This coud be a solution. I tried configure that you say but I do not get it.

    You could tell me a little more detail how to set up what you say?

    Thank in advance
    Javier

    Plugin Author wizzud

    (@wizzud)

    Using widgets…

    • Configure a widget to show the Courses menu
    • Copy the equivalent shortcode
    • Move that widget into Inactive Widgets
    • Configure another widget to show the Now menu
    • In the Alternative section of the Now menu widget :
    • Set the condition as Current Item NOT in Primary Filter
    • Paste the copied shortcode (from the Courses menu widget) into the text box
    Thread Starter jgonzalo

    (@jgonzalo)

    Thanks Wizzud, but the problen now is the COURSES menu is the same as in NOW (NOW is a subset of COURSES)

    Plugin Author wizzud

    (@wizzud)

    Can you please show me the shortcode equivalent for the modified Now menu (it should now have an Alternative configured)?

    Can you confirm that you now only have one active CMW instance – the Now menu? (ie. the Courses menu widget is inactive)

    And can you confirm that this is what you want to do (same as before but re-worded) :
    “If the Now item, or any of its descendants, is the current item then show the Now menu. Otherwise, show the Courses menu.”

    NB : the Courses menu will contain the Now items – unless you’ve specifically excluded them. And you may have a condition on the Courses menu such that you only want to show it if it contains the current item. Neither of these would affect the Now menu or its condition for switching to the alternative.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two menus on single page’ is closed to new replies.