2009-08-07, 16:20
the problem is:
I would like to use wraplist and fixedlist in the tv shows on different conditions.
That it would be good if <constant> not only numerical values would support.
example:
or better with conditional function in <constant> tag:
example:
so you do not have to write multiple lists with the same id
I would like to use wraplist and fixedlist in the tv shows on different conditions.
That it would be good if <constant> not only numerical values would support.
example:
Code:
<include name="MultiplexFixedList">
<constant name="MultiplexListType">fixedlist</constant>
</include>
<include name="MultiplexWrapList">
<constant name="MultiplexListType">wraplist</constant>
</include>
<include condition="Skin.HasSetting(SeasonsFixedList)">MultiplexFixedList</include>
<include condition="Skin.HasSetting(!SeasonsFixedList)">MultiplexWrapList</include>
<control type="MultiplexListType" id="52">
...
</control>
example:
Code:
<constant name="MultiplexListType" condition="Skin.HasSetting(SeasonsFixedList)">fixedlist</constant>
<constant name="MultiplexListType" condition="Skin.HasSetting(!SeasonsFixedList)">wraplist</constant>
<control type="MultiplexListType" id="52">
...
</control>