2018-05-31, 11:15
I duplicate the favourites widget for use on a custom menu button. So far so good. But i cant load a other xml file with favourits. How kan i fix it?
I hope you cna help me
GR Pascal
xml:<control type="group" id="14000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),favorites)</visible>
<include content="Visible_Right_Delayed">
<param name="id" value="favorites"/>
</include>
<control type="panel" id="14100">
<left>65</left>
<top>0</top>
<right>0</right>
<bottom>0</bottom>
<onleft>9000</onleft>
<onright>9000</onright>
<onup>14100</onup>
<ondown>14100</ondown>
<onclick>$INFO[ListItem.FileNameAndPath]</onclick>
<preloaditems>2</preloaditems>
<scrolltime tween="cubic" easing="out">500</scrolltime>
<orientation>vertical</orientation>
<visible>Integer.IsGreater(Container(14100).NumItems,0) | Container(14100).IsUpdating</visible>
<itemlayout width="330" height="396">
<control type="group">
<top>130</top>
<include content="InfoWallMusicLayout">
<param name="fallback_image" value="DefaultFavourites.png" />
<param name="focused" value="false" />
</include>
</control>
</itemlayout>
<focusedlayout width="330" height="396">
<control type="group">
<depth>DepthContentPopout</depth>
<top>130</top>
<animation effect="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="170,320">Focus</animation>
<animation effect="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="170,320">UnFocus</animation>
<include content="InfoWallMusicLayout">
<param name="fallback_image" value="DefaultFavourites.png" />
<param name="focused" value="true" />
</include>
</control>
</focusedlayout>
<content>favourites://</content> <---- CHANGE LOCATION FOR EXTRA FAVOURITS WIDGET (livetv.xml for example)
</control>
<include content="ImageWidget">
<param name="text_label" value="$LOCALIZE[31025]" />
<param name="button_label" value="$LOCALIZE[31116]" />
<param name="button_onclick" value=""/>
<param name="button_id" value="5500"/>
<param name="visible" value="!Integer.IsGreater(Container(14100).NumItems,0) + !Container(14100).IsUpdating"/>
<param name="visible_1" value="false"/>
<param name="button2_onclick" value="Skin.SetBool(HomeMenuNoFavButton)"/>
</include>
</control>
I hope you cna help me
GR Pascal