2018-01-08, 10:57
Hi all,
This is an easy fix for many here I know however I can't seem to get something so simple to work properly and hoping someone could assist.
I've downloaded the latest version of Aeon Nox (7.0.0) from the github ( https://github.com/BigNoid/Aeon-Nox ), I've read the code changes for Leia for example IsEmpty is now String.IsEmpty etc however I'm still having trouble getting any code to work where it would hide the FloorLabel and FloorSubLabel if a logo was found. Using the same code from my altered v16 Aeon Nox skin didn't work either.
I love BigNoid's skin, very clean and without all the extra widgets, colour schemes, different views etc which is why I'd like to add the code to his base skin rather than using someone else's masterpiece.
I only use Showcase and Landscape views personally so I'd only like the Showcase view (53) to display the logo's if present (added clearlogo in choose art).
I've added a radiobutton to the side menu in the MyVideoNav.xml to allow the option to turn logo's on or off which seems to work fine except the FloorLabels remain rather than disappear when a logo is present, so I feel it's something simple that I've over looked.
Below radiobutton code added to MyVideoNav.xml below the InfoPanel - Fanart toggle.
Below image code added to MyVideoNav.xml between the FloorLabel VARs and the Media floor flags..
Just above each <control type="group"> FloorLabel's I added the following line which doesn't seem to work properly. <visible>!Skin.HasSetting(HideFloorLabel) + String.IsEmpty(ListItem.Art(clearlogo))</visible>
I'm guess the codes are either in the wrong place, or maybe something easier could be achieved by adding extra code in the Variables.xml for FloorLabelVar (variable at line 351) and FloorSubLabelVar (variable at line 356) would be cleaner and do the trick ?
Thank you in advance.
This is an easy fix for many here I know however I can't seem to get something so simple to work properly and hoping someone could assist.
I've downloaded the latest version of Aeon Nox (7.0.0) from the github ( https://github.com/BigNoid/Aeon-Nox ), I've read the code changes for Leia for example IsEmpty is now String.IsEmpty etc however I'm still having trouble getting any code to work where it would hide the FloorLabel and FloorSubLabel if a logo was found. Using the same code from my altered v16 Aeon Nox skin didn't work either.
I love BigNoid's skin, very clean and without all the extra widgets, colour schemes, different views etc which is why I'd like to add the code to his base skin rather than using someone else's masterpiece.
I only use Showcase and Landscape views personally so I'd only like the Showcase view (53) to display the logo's if present (added clearlogo in choose art).
I've added a radiobutton to the side menu in the MyVideoNav.xml to allow the option to turn logo's on or off which seems to work fine except the FloorLabels remain rather than disappear when a logo is present, so I feel it's something simple that I've over looked.
Below radiobutton code added to MyVideoNav.xml below the InfoPanel - Fanart toggle.
Code:
<!-- Add option for display / hide logo -->
<control type="radiobutton" id="6054">
<description>Display Logo and Hide Label</description>
<include>ButtonCommonValues</include>
<label>$LOCALIZE[31521]</label>
<onclick>Skin.ToggleSetting(DisplayLogo)</onclick>
<selected>Skin.HasSetting(DisplayLogo)</selected>
<visible>Control.IsVisible(53)</visible>
</control>
<!-- End options for display / hide logo -->
Below image code added to MyVideoNav.xml between the FloorLabel VARs and the Media floor flags..
Code:
<!-- Add logo -->
<control type="image">
<left>808</left>
<top>1000</top>
<width>300</width>
<height>105</height>
<aspectratio>keep</aspectratio>
<texture background="true">$INFO[ListItem.Art(clearlogo)]</texture>
<visible>Skin.HasSetting(DisplayLogo)</visible>
</control>
<!-- End Add logo -->
Just above each <control type="group"> FloorLabel's I added the following line which doesn't seem to work properly. <visible>!Skin.HasSetting(HideFloorLabel) + String.IsEmpty(ListItem.Art(clearlogo))</visible>
I'm guess the codes are either in the wrong place, or maybe something easier could be achieved by adding extra code in the Variables.xml for FloorLabelVar (variable at line 351) and FloorSubLabelVar (variable at line 356) would be cleaner and do the trick ?
Thank you in advance.