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
Support
General Support
4988: Conditional navigation
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="CyberSimian" data-source="post: 1266694" data-attributes="member: 141969"><p>I think that the answer is that <strong>control.isvisible()</strong> is not valid in an expression. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>I have just looked at the source for my "ClassicWide" skin, and I do not find a single occurrence where control.isvisible() is used in an expression. Instead I find code like this:</p><p></p><p>[code]<onup>#(switch(</p><p> eq(#currentmoduleid,'6' ),'50',</p><p> eq(#currentmoduleid,'601' ),'10',</p><p> eq(#currentmoduleid,'603' ),'50',</p><p> eq(#currentmoduleid,'604' ),'11',</p><p> eq(#currentmoduleid,'763' ),'50',</p><p> eq(#currentmoduleid,'8900'),'11',</p><p> eq(1,1),'99'))</onup>[/code]</p><p></p><p></p><p>Some "functions" are valid in expressions and in the "visible" tag; the various "String" functions are like this. But other "functions" are valid only in one place (expressions or the "visible" tag, but not both); the "Control" functions are like this.</p><p></p><p>We both await the final verdict from the Guru... [USER=54906]@catavolt[/USER]? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1266694, member: 141969"] I think that the answer is that [b]control.isvisible()[/b] is not valid in an expression. :( I have just looked at the source for my "ClassicWide" skin, and I do not find a single occurrence where control.isvisible() is used in an expression. Instead I find code like this: [code]<onup>#(switch( eq(#currentmoduleid,'6' ),'50', eq(#currentmoduleid,'601' ),'10', eq(#currentmoduleid,'603' ),'50', eq(#currentmoduleid,'604' ),'11', eq(#currentmoduleid,'763' ),'50', eq(#currentmoduleid,'8900'),'11', eq(1,1),'99'))</onup>[/code] Some "functions" are valid in expressions and in the "visible" tag; the various "String" functions are like this. But other "functions" are valid only in one place (expressions or the "visible" tag, but not both); the "Control" functions are like this. We both await the final verdict from the Guru... [USER=54906]@catavolt[/USER]? :D -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
4988: Conditional navigation
Contact us
RSS
Top
Bottom