I can work with Public Navigation with no issues, but I am now integrating some static pages using page nodes. Where I am having issues with is the Display Condition.
What I want to do is have a different public navigation (menus) on only these page nodes. In essence, two things need to happen:
1) Conditionals on the parent entries of existing public navigation so they do not display.
2) Conditionals on the page node public navigation so they do display.
This will be done using the Display Condition field.
I only got this to work partially. My main page node so far is node 85. For the Members public navigation menu option (which is root--not a child menu), this works properly as the display condition:
However, if I do the same for the Forums menu option, it does not work. (This field is normally empty.)
Also, if I try to create a menu item to display only in node 85, this also does not work.
I will also want to use multiple nodes once I get this figured out. Would this be the proper input for Display Condition?
That is, until I figure out why this isn't working as expected. I suspect I am not using the correct variable. If I dump variables for the page node, this is the only variable I can find that shows the node. Here's a snippet of that:

If there is a correct variable to use, what would that be? That might be the first step to making these menus work as I want them to.
What I want to do is have a different public navigation (menus) on only these page nodes. In essence, two things need to happen:
1) Conditionals on the parent entries of existing public navigation so they do not display.
2) Conditionals on the page node public navigation so they do display.
This will be done using the Display Condition field.
I only got this to work partially. My main page node so far is node 85. For the Members public navigation menu option (which is root--not a child menu), this works properly as the display condition:
$xf.visitor.canViewMemberList() AND !$xf.reply.containerKey == 85However, if I do the same for the Forums menu option, it does not work. (This field is normally empty.)
!$xf.reply.containerKey == 85Also, if I try to create a menu item to display only in node 85, this also does not work.
$xf.reply.containerKey == 85I will also want to use multiple nodes once I get this figured out. Would this be the proper input for Display Condition?
in_array($xf.reply.containerKey, [85,86,87])That is, until I figure out why this isn't working as expected. I suspect I am not using the correct variable. If I dump variables for the page node, this is the only variable I can find that shows the node. Here's a snippet of that:

If there is a correct variable to use, what would that be? That might be the first step to making these menus work as I want them to.