2017-04-05, 21:35
Hi all, I have an issue with my Skin.
Explanations : I set 2 widgets for my movies section and 1 widget for my TV Shows section :
After Skin Shortcuts saving settings, I go on on home screen, on my Movies section I have my two widgets, nor problem :
I'm scrolling to TV Shows, I have my widgets, no problem :
But when I go back to Movies, I have lost my secondary widget :
Why ? Any idea ?
I use this code to define widgets :
Explanations : I set 2 widgets for my movies section and 1 widget for my TV Shows section :
After Skin Shortcuts saving settings, I go on on home screen, on my Movies section I have my two widgets, nor problem :
I'm scrolling to TV Shows, I have my widgets, no problem :
But when I go back to Movies, I have lost my secondary widget :
Why ? Any idea ?
I use this code to define widgets :
Code:
<control type="button" id="10005">
<include>DefaultSettingButton</include>
<label>$LOCALIZE[40136]</label>
<label2>$VAR[Label_SkinSetting_Widget]</label2>
<onclick>SetProperty(WidgetVisibility,True,home)</onclick>
<onclick>SendClick(312)</onclick>
<visible>String.IsEqual(Window.Property(groupname),mainmenu)</visible>
</control>
<control type="button" id="1475">
<include>DefaultSettingButton</include>
<label>$ADDON[script.skinshortcuts 32044] 1</label>
<label2>$VAR[PersonalWidget1Label2Var]</label2>
<onclick>ClearProperty(WidgetVisibility,home)</onclick>
<onclick>SetProperty(widgetID, personal1)</onclick>
<onclick>SendClick(312)</onclick>
<visible>String.IsEqual(Window.Property(groupname),mainmenu)</visible>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget)</visible>
</control>
<control type="button" id="14751">
<label> ∟$LOCALIZE[40137] 1</label>
<include>DefaultSettingButton</include>
<label2>$VAR[WidgetsAppearence1Label2Var]</label2>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget) + !String.IsEmpty(Container(211).ListItem.Property(widgetPath.personal1))</visible>
</control>
<control type="button" id="1476">
<include>DefaultSettingButton</include>
<label>$ADDON[script.skinshortcuts 32044] 2</label>
<label2>$VAR[PersonalWidget2Label2Var]</label2>
<onclick>ClearProperty(WidgetVisibility,home)</onclick>
<onclick>SetProperty(widgetID, personal2)</onclick>
<onclick>SendClick(312)</onclick>
<visible>String.IsEqual(Window.Property(groupname),mainmenu)</visible>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget)</visible>
</control>
<control type="button" id="14761">
<label> ∟$LOCALIZE[40137] 2</label>
<include>DefaultSettingButton</include>
<label2>$VAR[WidgetsAppearence2Label2Var]</label2>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget) + !String.IsEmpty(Container(211).ListItem.Property(widgetPath.personal2))</visible>
</control>
<control type="button" id="1477">
<include>DefaultSettingButton</include>
<label>$ADDON[script.skinshortcuts 32044] 3</label>
<label2>$VAR[PersonalWidget3Label2Var]</label2>
<onclick>ClearProperty(WidgetVisibility,home)</onclick>
<onclick>SetProperty(widgetID, personal3)</onclick>
<onclick>SendClick(312)</onclick>
<visible>String.IsEqual(Window.Property(groupname),mainmenu)</visible>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget)</visible>
</control>
<control type="button" id="14771">
<label> ∟$LOCALIZE[40137] 3</label>
<include>DefaultSettingButton</include>
<label2>$VAR[WidgetsAppearence3Label2Var]</label2>
<visible>String.IsEqual(Container(211).ListItem.Property(widget),PersonalWidget) + !String.IsEmpty(Container(211).ListItem.Property(widgetPath.personal3))</visible>
</control>