home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
Extensions: A GUI Plugin for MediaPortal's MPEI Installer
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 882119" data-attributes="member: 52219"><p>Here is a test I did, below code is the actual xml code to show the downloads field:</p><p> </p><p>[CODE]</p><p><control Style="smallTitle"></p><p> <type>fadelabel</type></p><p> <posX>500</posX></p><p> <posY>357</posY></p><p> <width>428</width></p><p> <!-- Show Downloads and Hits --></p><p> <label>#(string.format('{0:#,0} ({1:#,0} #MPEI.Translation.Hits.Label)',cint(#MPE.Selected.Downloads),cint(#MPE.Selected.Hits)))</label></p><p> <animation effect="Fade" time="250">WindowOpen</animation></p><p> <animation effect="Fade" time="100">WindowClose</animation></p><p> <visible>string.equals(#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label)</visible></p><p> </control></p><p>[/CODE]</p><p>This should only be visible as mentioned earlier when the two strings <strong>#MPE.View.Name</strong> and <strong>#MPEI.Translation.MPOnlineExtensions.Label</strong> are equal.</p><p> </p><p>I also added a label which evaluates the two properties:</p><p>[CODE]</p><p><control Style="smallTitle"></p><p> <type>fadelabel</type></p><p> <posX>500</posX></p><p> <posY>680</posY></p><p> <width>428</width></p><p> <!-- Show Downloads and Hits --></p><p> <label>#MPE.View.Name,#MPEI.Translation.MPOnlineExtensions.Label</label> </p><p></control></p><p>[/CODE]</p><p> </p><p>This shows the label as <strong>NEW Extensions</strong>,<strong>MP WEBSITE EXTENSIONS</strong>. Clearly these two labels are not equal but for some reason the skin thinks so.</p><p> </p><p>I also attached two screenshots as proof with the properties output to screen highlighted in red.</p></blockquote><p></p>
[QUOTE="ltfearme, post: 882119, member: 52219"] Here is a test I did, below code is the actual xml code to show the downloads field: [CODE] <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> [/CODE] This should only be visible as mentioned earlier when the two strings [B]#MPE.View.Name[/B] and [B]#MPEI.Translation.MPOnlineExtensions.Label[/B] are equal. I also added a label which evaluates the two properties: [CODE] <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> [/CODE] This shows the label as [B]NEW Extensions[/B],[B]MP WEBSITE EXTENSIONS[/B]. Clearly these two labels are not equal but for some reason the skin thinks so. I also attached two screenshots as proof with the properties output to screen highlighted in red. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
Extensions: A GUI Plugin for MediaPortal's MPEI Installer
Contact us
RSS
Top
Bottom