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
Quality Assurance
Bugtracker Feed
0003017: Add global use of defines in references.xml
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="MediaPortal-Bot" data-source="post: 655777" data-attributes="member: 48617"><p>This patch allows for skin developers to place nodes inside the references.xml file. This is useful for centralizing the definitions for colors, design screen sizes and other parameters used in controls. Without this feature skin designers either hard code the values into controls or create defines in every xml file. Either way, this leaves the skin designer (or re-designer) with a lot of work to switch the values of these control parameters.</p><p></p><p>This implementation does not alter the prior implementation of the node. You may still place a node inside the node of an xml skin file. However, if you place the same node in both the references.xml file as well as the skin file for a window definition then the value defined in the skin file will override the value set in the references.xml. This behavior mirrors the present behavior of the references.xml control "template" attributes being overridden by the values defined in skin window file.</p><p></p><p>see <a href="https://forum.team-mediaportal.com/submit-code-patches-mediaportal-tv-server-etc-325/include-global-defines-xml-files-3rd-attempt-69953/" target="_blank">https://forum.team-mediaportal.com/submit-code-patches-mediaportal-tv-server-etc-325/include-global-defines-xml-files-3rd-attempt-69953/</a> [<a href="https://forum.team-mediaportal.com/submit-code-patches-mediaportal-tv-server-etc-325/include-global-defines-xml-files-3rd-attempt-69953/" target="_blank">^</a>]</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3017" target="_blank">http://mantis.team-mediaportal.com/view.php?id=3017</a></p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3017" target="_blank">Open the issue in Mantis...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 655777, member: 48617"] This patch allows for skin developers to place nodes inside the references.xml file. This is useful for centralizing the definitions for colors, design screen sizes and other parameters used in controls. Without this feature skin designers either hard code the values into controls or create defines in every xml file. Either way, this leaves the skin designer (or re-designer) with a lot of work to switch the values of these control parameters. This implementation does not alter the prior implementation of the node. You may still place a node inside the node of an xml skin file. However, if you place the same node in both the references.xml file as well as the skin file for a window definition then the value defined in the skin file will override the value set in the references.xml. This behavior mirrors the present behavior of the references.xml control "template" attributes being overridden by the values defined in skin window file. see [URL]https://forum.team-mediaportal.com/submit-code-patches-mediaportal-tv-server-etc-325/include-global-defines-xml-files-3rd-attempt-69953/[/URL] [[URL="https://forum.team-mediaportal.com/submit-code-patches-mediaportal-tv-server-etc-325/include-global-defines-xml-files-3rd-attempt-69953/"]^[/URL]] [url]http://mantis.team-mediaportal.com/view.php?id=3017[/url] [url=http://mantis.team-mediaportal.com/view.php?id=3017]Open the issue in Mantis...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003017: Add global use of defines in references.xml
Contact us
RSS
Top
Bottom