- Moderator
- #221
THX Damien, just checked whether I have coded correctly, and yes, I have this string in but the info still shows
Thanks for confirming catavolt, im not sure why that skin condition is failing then...could there be a skin engine bug perhaps? Im pretty sure if you set two labels with both of those properties they should be seen as NOT equals, , maybe you can confirm. If they are equal then its definitely a plugin bug.THX Damien, just checked whether I have coded correctly, and yes, I have this string in but the info still shows
Here is a test I did, below code is the actual xml code to show the downloads field:Will try to set my MP to English and see if the condition works - THX offbyone
<control Style="smallTitle">
<type>fadelabel</type>
<posX>500</posX>
<posY>357</posY>
<width>428</width>
<!-- Show Downloads and Hits -->
<label>#(string.format('{0:#,0} ({1:#,0} #MPEI.Translation.Hits.Label)',cint(#MPE.Selected.Downloads),cint(#MPE.Selected.Hits)))</label>
<animation effect="Fade" time="250">WindowOpen</animation>
<animation effect="Fade" time="100">WindowClose</animation>
<visible>string.equals(#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label)</visible>
</control>
<control Style="smallTitle">
<type>fadelabel</type>
<posX>500</posX>
<posY>680</posY>
<width>428</width>
<!-- Show Downloads and Hits -->
<label>#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label</label>
</control>
<visible>string.equals(#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label)</visible>
<visible>string.equals(#MPE.View.Name,MP Website Extensions)</visible>