2016-12-04, 16:50
Marcel,
I have also noticed a couple of bugs that I think have recently crept into the script. Unfortunately I can't pin down exactly when the problem occurred as your new builds are coming think and fast, but somewhere between 120 and 131.
Anyway problem 1 - the following code brings up a selection dialog as it did previously, but the skin string does not change when a item is selected.
the entry in skinsettings.xml file is this
So is this a bug or has the coding for this changed and if so what is now the correct way to achieve the same thing?
Wyrm (AppTV)
I have also noticed a couple of bugs that I think have recently crept into the script. Unfortunately I can't pin down exactly when the problem occurred as your new builds are coming think and fast, but somewhere between 120 and 131.
Anyway problem 1 - the following code brings up a selection dialog as it did previously, but the skin string does not change when a item is selected.
PHP Code:
<onclick>RunScript(script.skin.helper.service,action=setskinsetting,setting=homemenu-typeval,header=$LOCALIZE[31900])</onclick>
the entry in skinsettings.xml file is this
PHP Code:
<!-- Home Menu type -->
<setting id="homemenu-typeval" value="1" label="$LOCALIZE[31952]" condition="" icon="blank.png" description="" default="true"><!-- Horizontal -->
<onselect condition="True">Skin.SetBool(homemenu-horizontal)</onselect>
<onselect condition="True">Skin.Reset(homemenu-vertical)</onselect>
<onselect condition="True">Skin.Reset(homemenu-icon)</onselect>
</setting>
<setting id="homemenu-typeval" value="2" label="$LOCALIZE[31953]" condition="" icon="blank.png" description=""><!-- Icon -->
<onselect condition="True">Skin.SetBool(homemenu-icon)</onselect>
<onselect condition="True">Skin.Reset(homemenu-horizontal)</onselect>
<onselect condition="True">Skin.Reset(homemenu-vertical)</onselect>
</setting>
<setting id="homemenu-typeval" value="3" label="$LOCALIZE[31951]" condition="" icon="blank.png" description=""><!-- Vertical -->
<onselect condition="True">Skin.SetBool(homemenu-vertical)</onselect>
<onselect condition="True">Skin.Reset(homemenu-horizontal)</onselect>
<onselect condition="True">Skin.Reset(homemenu-icon)</onselect>
</setting>
So is this a bug or has the coding for this changed and if so what is now the correct way to achieve the same thing?
Wyrm (AppTV)