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
Building a skin from scratch - a tour -
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="Pog" data-source="post: 1002358" data-attributes="member: 97724"><p>Yeah there are many elements where you can't use any logic to make a decision but there are various tricks that I've come accross.</p><p> </p><p>You can run your logic in a <define> and use that evaluated value directly as long as it doesn't need to change once the page has loaded.</p><p> </p><p>Another very useful trick I've found for running logic past the define stage is to use a dummy control and have a <lable> doing the logic creating a text flag that can then be evaluated with regular conditional controls.</p><p> </p><p><label>#(iif(eq(#myvar1,#myvar2),' ',''))</label></p><p>...</p><p><visible>control.hastext(5678)</visible></p><p> </p><p>Good luck.</p></blockquote><p></p>
[QUOTE="Pog, post: 1002358, member: 97724"] Yeah there are many elements where you can't use any logic to make a decision but there are various tricks that I've come accross. You can run your logic in a <define> and use that evaluated value directly as long as it doesn't need to change once the page has loaded. Another very useful trick I've found for running logic past the define stage is to use a dummy control and have a <lable> doing the logic creating a text flag that can then be evaluated with regular conditional controls. <label>#(iif(eq(#myvar1,#myvar2),' ',''))</label> ... <visible>control.hastext(5678)</visible> Good luck. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Building a skin from scratch - a tour -
Contact us
RSS
Top
Bottom