v15 Using variables with skin strings in itemlayout
#1
I'm using the following variable to allow users to customize the highlight color:

Code:
<variable name="ColorHighlightVar">
    <value condition="Skin.HasSetting(ColorCustomizer.Enabled) + !IsEmpty(Skin.String(highlightcolor.name))">$INFO[Skin.String(highlightcolor.name)]</value>
    <value>highlight</value>
</variable>

This works well throughout the skin with the following code, even when used in an itemlayout/focusedlayout (though I thought skin strings couldn't be used in itemlayouts).

Code:
<textcolor>$VAR[ColorHighlightVar]</textcolor>

When I try to use the same variable with a [COLOR] tag however, it doesn't work inside an itemlayout/focusedlayout (it works fine elsewhere though). For example:

Code:
[COLOR $VAR[ColorHighlightVar]]...[/COLOR]

Any ideas why it works in one case (<textcolor>) but not the other ([COLOR]) inside itemlayout/focusedlayout? Any chance of getting this variable to work with [COLOR] tags inside itemlayout?

Thanks!
Reply
#2
Has it ever been fixed. I try the same with Krypton but it still doesn't work.
Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Using variables with skin strings in itemlayout0