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 2
Plugin Development
Plugin config order and language file strings within the plugin
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="morpheus_xx" data-source="post: 1107899" data-attributes="member: 48495"><p>First recommendation: don't use multiple </p><p>[CODE=XML] <Register Location="/Configuration/Settings/Plugins/AtmoLight"></p><p><ConfigSection</p><p>Id="General"</p><p>Redundant="true"</p><p>Text="[AtmoLight.General]"/></p><p></Register></p><p><Register Location="/Configuration/Settings/Plugins/AtmoLight"></p><p><ConfigSection</p><p>Id="Effects"</p><p>Redundant="true"</p><p>Text="[AtmoLight.Effects]"/></p><p></Register> [/CODE]</p><p>but combine them into single <Register>:</p><p>[CODE=XML] <Register Location="/Configuration/Settings/Plugins/AtmoLight"></p><p><ConfigSection</p><p>Id="General"</p><p>Redundant="true"</p><p>Text="[AtmoLight.General]"/></p><p><ConfigSection</p><p>Id="Effects"</p><p>Redundant="true"</p><p>Text="[AtmoLight.Effects]"/></p><p></Register> [/CODE]</p><p>Probably not related, but avoiding redundancies is always good. </p><p></p><p>And to <strong>Redundant="true"</strong> is only required, if you expect this section could have been created by another plugin. In your case you should remove it.</p><p></p><p>I didn't find any sorting for ListItems yet, but I don't have more time now.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1107899, member: 48495"] First recommendation: don't use multiple [CODE=XML] <Register Location="/Configuration/Settings/Plugins/AtmoLight"> <ConfigSection Id="General" Redundant="true" Text="[AtmoLight.General]"/> </Register> <Register Location="/Configuration/Settings/Plugins/AtmoLight"> <ConfigSection Id="Effects" Redundant="true" Text="[AtmoLight.Effects]"/> </Register> [/CODE] but combine them into single <Register>: [CODE=XML] <Register Location="/Configuration/Settings/Plugins/AtmoLight"> <ConfigSection Id="General" Redundant="true" Text="[AtmoLight.General]"/> <ConfigSection Id="Effects" Redundant="true" Text="[AtmoLight.Effects]"/> </Register> [/CODE] Probably not related, but avoiding redundancies is always good. And to [B]Redundant="true"[/B] is only required, if you expect this section could have been created by another plugin. In your case you should remove it. I didn't find any sorting for ListItems yet, but I don't have more time now. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Plugin config order and language file strings within the plugin
Contact us
RSS
Top
Bottom