2015-05-16, 19:01
Hi,
I have a problem with a skin.sting value, I'm using Skin.String(StudioFlagsPath) in a Var as follows:
<variable name="ColorFlagsStudio">
<value condition="Skin.HasSetting(StudiosColorFlag) + !Skin.HasSetting(DisableStudiosColorFlag)">$INFO[Skin.String(StudioFlagsPath)]</value>
<value condition="Skin.HasSetting(DisableStudiosColorFlag)">-</value>
<value>flags/studios/</value>
</variable>
This is then used throughout the skin and in the majority of places works correctly i.e. it grabs the colored studio icon from the relevant location.
But in a couples of views, one being the standard 'List' view, the VAR fails and when checking the contents it is empty. I have also checked the contents of the sking.string via a label output and that too is empty.
Does anyone have any idea what might be the problem for only certain places to effectively lose the skin.string value?
For instance, this
<control type="label">
<label>$INFO[(Skin.String(StudioFlagsPath)]$INFO[ListItem.Label,,.png]</label>
<scroll>true</scroll>
</control>
shows the value of 3DTK only for studio 3DTK??
I've double checked texture and it is correct and if I disable colored flags then it works in 'List' and displays what is in flags/studios/
Thanks,
Mike.
I have a problem with a skin.sting value, I'm using Skin.String(StudioFlagsPath) in a Var as follows:
<variable name="ColorFlagsStudio">
<value condition="Skin.HasSetting(StudiosColorFlag) + !Skin.HasSetting(DisableStudiosColorFlag)">$INFO[Skin.String(StudioFlagsPath)]</value>
<value condition="Skin.HasSetting(DisableStudiosColorFlag)">-</value>
<value>flags/studios/</value>
</variable>
This is then used throughout the skin and in the majority of places works correctly i.e. it grabs the colored studio icon from the relevant location.
But in a couples of views, one being the standard 'List' view, the VAR fails and when checking the contents it is empty. I have also checked the contents of the sking.string via a label output and that too is empty.
Does anyone have any idea what might be the problem for only certain places to effectively lose the skin.string value?
For instance, this
<control type="label">
<label>$INFO[(Skin.String(StudioFlagsPath)]$INFO[ListItem.Label,,.png]</label>
<scroll>true</scroll>
</control>
shows the value of 3DTK only for studio 3DTK??
I've double checked texture and it is correct and if I disable colored flags then it works in 'List' and displays what is in flags/studios/
Thanks,
Mike.