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="Sebastiii" data-source="post: 1171679" data-attributes="member: 60104"><p>[CODE=XML]defines in skin xml file (myvideo.xml):</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></p><p>defines in references xml file (references.xml):</p><p> <label>#test_textstring_ref</label> | <!-- | work | --></p><p> <label>#test_textstring_property_ref</label> | <!-- | work | --></p><p></p><p>colors definitions in skin xml file (myvideo.xml):</p><p> <textcolor>#test_textcolor_property_xml</textcolor> | <!-- | does not work | show: nothing/blank --></p><p> <textcolor>#test_textcolor_property_xml</textcolor> | <!-- | does not work | show: nothing/blank --></p><p></p><p>colors definitions in references xml file (references.xml) :</p><p> <textcolor>#test_textcolor_ref</textcolor> --> | <!-- | work | show: correct color --></p><p> <textcolor>#test_textcolor_property_ref</textcolor> | <!-- | work | show: correct color -->[/CODE]</p><p></p><p>Hi <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Based on your test and what i have try to debug, it seems that :</p><p>I take the case of : <label>#test_textstring_xml</label> | <!-- | does not work | show: #test_textstring_xml --></p><p></p><p>The define is done in myvideo.xml (without the 'property=true' so without <define property="true"> it's (<define>#test_textstring_xml:This is text in define</define>)</p><p>And we try to get this value from myvideo.views.default.xml and it doesn't work because MP didn't add this proprety + value in sort on cache.</p><p></p><p>Now i think that if i add <define property="true"> it will work.</p><p>But i also think that it will work if i move that line (<define>#test_textstring_xml:This is text in define</define>) to myvideo.views.default.xml.</p><p></p><p>To summarize :</p><p>If we want to key a value from a property from a different file, we need to add <define property="true"> or need to put the define in the current xml aka myvideo.views.default.xml in this case.</p><p></p><p>Could you confirm this ?</p><p></p><p>Edit : if we add the define in reference, it seems here that <define property="true">#...... is not a must, it can be <define>#......</p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1171679, member: 60104"] [CODE=XML]defines in skin xml file (myvideo.xml): <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 --> defines in references xml file (references.xml): <label>#test_textstring_ref</label> | <!-- | work | --> <label>#test_textstring_property_ref</label> | <!-- | work | --> colors definitions in skin xml file (myvideo.xml): <textcolor>#test_textcolor_property_xml</textcolor> | <!-- | does not work | show: nothing/blank --> <textcolor>#test_textcolor_property_xml</textcolor> | <!-- | does not work | show: nothing/blank --> colors definitions in references xml file (references.xml) : <textcolor>#test_textcolor_ref</textcolor> --> | <!-- | work | show: correct color --> <textcolor>#test_textcolor_property_ref</textcolor> | <!-- | work | show: correct color -->[/CODE] Hi :) Based on your test and what i have try to debug, it seems that : I take the case of : <label>#test_textstring_xml</label> | <!-- | does not work | show: #test_textstring_xml --> The define is done in myvideo.xml (without the 'property=true' so without <define property="true"> it's (<define>#test_textstring_xml:This is text in define</define>) And we try to get this value from myvideo.views.default.xml and it doesn't work because MP didn't add this proprety + value in sort on cache. Now i think that if i add <define property="true"> it will work. But i also think that it will work if i move that line (<define>#test_textstring_xml:This is text in define</define>) to myvideo.views.default.xml. To summarize : If we want to key a value from a property from a different file, we need to add <define property="true"> or need to put the define in the current xml aka myvideo.views.default.xml in this case. Could you confirm this ? Edit : if we add the define in reference, it seems here that <define property="true">#...... is not a must, it can be <define>#...... [/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