Help - Search - Members - Calendar
Full Version: 2 Conditionals
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM Developer/Skinner Forum
LarryX
The first condition works but the second doesn't... Is there another way to do this?

*Version 0.9n.6*

CODE
 <LayoutElement Type="Image" Source="Folder">
  <Scaling X="True" Y="True"/>
  <Justify X=center Y=center/>
  <Proportional>True</Proportional>
  <Pos X="66" Y="408" W="35" H="35"/>
  <Condition>ItemSubMenu</Condition>
  <condition>submenu</condition>
 </LayoutElement>
BenJeremy
The SubMenu conditional is true when you are inside a submenu - i.e. not sitting on a selection in the top level menu.

ItemSubMenu is true when the item SELECTED is a submenu.
LarryX
So.... The item should only appear when in a submenu and the item selected is a submenu... Correct?

My problem is this way:
CODE
<Condition>ItemSubMenu</Condition>
<condition>submenu</condition>

The item shows on the mainmenu...

This way
CODE
<condition>submenu</condition>
<Condition>ItemSubMenu</Condition>

The item doesn't show on the mainmenu, but it shows all the time on the submenu...
BenJeremy
Yeah, I think only the first conditional is picked up currently.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.