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
Development
General Development (no feature request here!)
Conditional logic in skins and passing values
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="BadMrFrosty" data-source="post: 493853" data-attributes="member: 96262"><p>Hi all,</p><p></p><p>I want to pass a value from a plugin into the skin. Looking at some skins, it looks like variables are generally accessed using the #name syntax. Does anyone have any detailed info on the skope of these variables? Are they accessable skin wide? Do I have to set them in a particular way in the plugin to be accessable in the skin?</p><p></p><p>Are things like IF statements possible in skins? If so could someone give me a example? </p><p></p><p>In the skin I want to do something like:</p><p></p><p>if (#myvalue = "abc")</p><p>{</p><p> skin defines elements</p><p>}</p><p>else</p><p>{</p><p> skin defines different elements</p><p>}</p><p></p><p>Thank you muchly</p></blockquote><p></p>
[QUOTE="BadMrFrosty, post: 493853, member: 96262"] Hi all, I want to pass a value from a plugin into the skin. Looking at some skins, it looks like variables are generally accessed using the #name syntax. Does anyone have any detailed info on the skope of these variables? Are they accessable skin wide? Do I have to set them in a particular way in the plugin to be accessable in the skin? Are things like IF statements possible in skins? If so could someone give me a example? In the skin I want to do something like: if (#myvalue = "abc") { skin defines elements } else { skin defines different elements } Thank you muchly [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Conditional logic in skins and passing values
Contact us
RSS
Top
Bottom