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
General Support
Unconsistent behavior in textboxscrollup and defines in MP 1.13
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="XMaM" data-source="post: 1171312" data-attributes="member: 134551"><p>There are different combinations, so I would suggest, for example, using the titan skin:</p><p></p><p>In <strong>references.xml</strong>:</p><p>[CODE=XML]<define>#test_textcolor_ref:ff00ff00</define></p><p><define property="true">#test_textcolor_property_ref:ffff0000</define></p><p><define>#test_textstring_ref:This is text in define in references.xml</define></p><p><define property="true">#test_textstring_property_ref:This is text in define with property="true" in references.xml</define>[/CODE]</p><p></p><p></p><p>In any window skin xml file with textboxscrollup, let's say in <strong>myvideo.xml</strong>:</p><p>[CODE=XML]<define>#test_textcolor_xml:ff00ff00</define></p><p><define property="true">#test_textcolor_property_xml:ffff0000</define></p><p> </p><p><define>#test_textstring_xml:This is text in define</define></p><p><define property="true">#test_textstring_property_xml:This is text in define with property="true"</define></p><p><define property="true" evaluateNow="true">#test_textstring_propertyEvaluated_xml:This is text in define with property="true" and evaluateNow="true"</define></p><p> </p><p><define>#test_textplot_xml:Plot - #plot</define></p><p><define property="true">#test_textplot_property_xml:Plot with property="true" - #plot</define></p><p><define property="true" evaluateNow="true">#test_textplot_propertyEvaluated_xml:Plot with property="true" and evaluateNow="true" - #plot</define>[/CODE]</p><p></p><p></p><p>Then, it's time to use the definitions. In <strong>myvideo.views.default.xml</strong> look for the textboxscrollup control:</p><p>[CODE=XML]<control Style="textBox"></p><p> <description>Summary (list)</description></p><p> <type>textboxscrollup</type></p><p> <id>1025</id></p><p> ...</p><p></control>[/CODE]</p><p></p><p>and replaces <em><label>#plot</label></em> with every text definition to check the <label> tag. This is the result in 1.12, in My Videos with list view (you should see the plot of the movie):</p><p>[code]<label>#test_textstring_ref</label> | does not work | show: nothing/blank</p><p><label>#test_textstring_property_ref</label> | does not work | show: nothing/blank</p><p><label>#test_textstring_xml</label> | does not work | show: #test_textstring_xml</p><p><label>#test_textstring_property_xml</label> | work |</p><p><label>#test_textstring_propertyEvaluated_xml</label> | work |</p><p><label>#test_textplot_xml</label> | does not work | show: #test_textplot_xml</p><p><label>#test_textplot_property_xml</label> | does not work | show: Plot with property="true" - #plot</p><p><label>#test_textplot_propertyEvaluated_xml</label> | does not work | show: Plot with property="true" and evaluateNow="true" - #plot</p><p>[/code]</p><p></p><p></p><p>Then, check others tags, like <textcolor>. In the same textboxscrollup control, restore <label> to the original value (<label>#plot</label>), add the <textcolor> tag and check every color definition. Again, this is the result in 1.12:</p><p>[code]<textcolor>#test_textcolor_ref</textcolor> | work |</p><p><textcolor>#test_textcolor_property_ref</textcolor> | work |</p><p><textcolor>#test_textcolor_xml</textcolor> | does not work | show: nothing/blank</p><p><textcolor>#test_textcolor_property_xml</textcolor> | does not work | show: nothing/blank</p><p>[/code]</p><p></p><p>I can't test 1.13 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> because now I am only running 1.12.</p><p></p><p>I know that this is very complex, but maybe only (hopefully) the symptoms are complex because the multiple combinations, but the solution can be unique and easier <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite18" alt=":LOL:" title="Laugh :LOL:" loading="lazy" data-shortname=":LOL:" /></p><p></p><p>Thanks</p></blockquote><p></p>
[QUOTE="XMaM, post: 1171312, member: 134551"] There are different combinations, so I would suggest, for example, using the titan skin: In [B]references.xml[/B]: [CODE=XML]<define>#test_textcolor_ref:ff00ff00</define> <define property="true">#test_textcolor_property_ref:ffff0000</define> <define>#test_textstring_ref:This is text in define in references.xml</define> <define property="true">#test_textstring_property_ref:This is text in define with property="true" in references.xml</define>[/CODE] In any window skin xml file with textboxscrollup, let's say in [B]myvideo.xml[/B]: [CODE=XML]<define>#test_textcolor_xml:ff00ff00</define> <define property="true">#test_textcolor_property_xml:ffff0000</define> <define>#test_textstring_xml:This is text in define</define> <define property="true">#test_textstring_property_xml:This is text in define with property="true"</define> <define property="true" evaluateNow="true">#test_textstring_propertyEvaluated_xml:This is text in define with property="true" and evaluateNow="true"</define> <define>#test_textplot_xml:Plot - #plot</define> <define property="true">#test_textplot_property_xml:Plot with property="true" - #plot</define> <define property="true" evaluateNow="true">#test_textplot_propertyEvaluated_xml:Plot with property="true" and evaluateNow="true" - #plot</define>[/CODE] Then, it's time to use the definitions. In [B]myvideo.views.default.xml[/B] look for the textboxscrollup control: [CODE=XML]<control Style="textBox"> <description>Summary (list)</description> <type>textboxscrollup</type> <id>1025</id> ... </control>[/CODE] and replaces [I]<label>#plot</label>[/I] with every text definition to check the <label> tag. This is the result in 1.12, in My Videos with list view (you should see the plot of the movie): [code]<label>#test_textstring_ref</label> | does not work | show: nothing/blank <label>#test_textstring_property_ref</label> | does not work | show: nothing/blank <label>#test_textstring_xml</label> | does not work | show: #test_textstring_xml <label>#test_textstring_property_xml</label> | work | <label>#test_textstring_propertyEvaluated_xml</label> | work | <label>#test_textplot_xml</label> | does not work | show: #test_textplot_xml <label>#test_textplot_property_xml</label> | does not work | show: Plot with property="true" - #plot <label>#test_textplot_propertyEvaluated_xml</label> | does not work | show: Plot with property="true" and evaluateNow="true" - #plot [/code] Then, check others tags, like <textcolor>. In the same textboxscrollup control, restore <label> to the original value (<label>#plot</label>), add the <textcolor> tag and check every color definition. Again, this is the result in 1.12: [code]<textcolor>#test_textcolor_ref</textcolor> | work | <textcolor>#test_textcolor_property_ref</textcolor> | work | <textcolor>#test_textcolor_xml</textcolor> | does not work | show: nothing/blank <textcolor>#test_textcolor_property_xml</textcolor> | does not work | show: nothing/blank [/code] I can't test 1.13 :( because now I am only running 1.12. I know that this is very complex, but maybe only (hopefully) the symptoms are complex because the multiple combinations, but the solution can be unique and easier :LOL: Thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Unconsistent behavior in textboxscrollup and defines in MP 1.13
Contact us
RSS
Top
Bottom