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
MediaPortal 1 Skins
How to include 2 different conditions in one rule?
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="powermarcel10" data-source="post: 1055349" data-attributes="member: 108759"><p>Hi guys,</p><p></p><p>I'm busy with a mod for Titan, and there is one thing I do not understand.. </p><p></p><p>I like to add something like this in basichome.xml:</p><p> </p><p><include condition="#(plugin.isenabled('Moving Pictures')) + (#skin.enable.submenu.MovingPictures,'True'))">include.BasicHomeButton.movingpictures.submenu.enabled.xml</include></p><p></p><p>The behavior should be: If the plugin Moving Pictures is enabled AND #skin.enable.submenu.MovingPictures is set to true in SkinSettings.xml, 'include.BasicHomeButton.movingpictures.submenu.enabled.xml' should be included.. </p><p></p><p>I have tried a lot of things, but I can't get it done.. I'm able to set more than one enabled or disabled plugins into one rule to specify wich .xml should been loaded, but two of these different strings in one rule is not working..</p><p></p><p>I hope someone can help me a bit with this! <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>Cheers</p></blockquote><p></p>
[QUOTE="powermarcel10, post: 1055349, member: 108759"] Hi guys, I'm busy with a mod for Titan, and there is one thing I do not understand.. I like to add something like this in basichome.xml: <include condition="#(plugin.isenabled('Moving Pictures')) + (#skin.enable.submenu.MovingPictures,'True'))">include.BasicHomeButton.movingpictures.submenu.enabled.xml</include> The behavior should be: If the plugin Moving Pictures is enabled AND #skin.enable.submenu.MovingPictures is set to true in SkinSettings.xml, 'include.BasicHomeButton.movingpictures.submenu.enabled.xml' should be included.. I have tried a lot of things, but I can't get it done.. I'm able to set more than one enabled or disabled plugins into one rule to specify wich .xml should been loaded, but two of these different strings in one rule is not working.. I hope someone can help me a bit with this! :) Cheers [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
How to include 2 different conditions in one rule?
Contact us
RSS
Top
Bottom