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
hyperlink with property instead of fixed ID?
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="Lehmden" data-source="post: 955211" data-attributes="member: 109222"><p>Hi.</p><p>I'm searching for a way to use a property as hyperlink target. Something like</p><p>[CODE]<define property="true">#menu0.hlink:1</define></p><p><!-- On Push goto Television Main Screen --></p><p> </p><p>...</p><p> </p><p> <control></p><p> <description>Menu 0 button</description></p><p> <type>button</type></p><p> <hyperlink>#menu0.hlink</hyperlink></p><p> <label>#menu0.buttonlabel</label></p><p> </control></p><p>[/CODE]</p><p> </p><p>"#menu0.buttonlabel" is working as expected, no problem. But if I use #menu0.hlink it did not work (exception<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.NullReferenceException), mostly crashing MP completely. I've tried to use #menu0.hlink, cint(#menu0.hlink), (cint(#menu0.hlink)), nothing worked. If I'm using "onclick" I can get it to work with property, but onclick did not react on pushing, only on clicking (as name let expect)</p><p> </p><p>As in Wiki hyperlink expects a string so normally "<hyperlink>#menu0.hlink</hyperlink>" should work</p><p>hyperlink [<span style="font-size: 9px">history</span>] String </p><p>The id of the xml skin page that MP will load when the button is pushed</p><p> </p><p>Bu the only way I found to really get it working is using "<hyperlink>1</hyperlink>". But this is nothing I can use as hyperlink target should be changeable by end-user. </p><p>Did someone know how to solve this?</p></blockquote><p></p>
[QUOTE="Lehmden, post: 955211, member: 109222"] Hi. I'm searching for a way to use a property as hyperlink target. Something like [CODE]<define property="true">#menu0.hlink:1</define> <!-- On Push goto Television Main Screen --> ... <control> <description>Menu 0 button</description> <type>button</type> <hyperlink>#menu0.hlink</hyperlink> <label>#menu0.buttonlabel</label> </control> [/CODE] "#menu0.buttonlabel" is working as expected, no problem. But if I use #menu0.hlink it did not work (exception:System.NullReferenceException), mostly crashing MP completely. I've tried to use #menu0.hlink, cint(#menu0.hlink), (cint(#menu0.hlink)), nothing worked. If I'm using "onclick" I can get it to work with property, but onclick did not react on pushing, only on clicking (as name let expect) As in Wiki hyperlink expects a string so normally "<hyperlink>#menu0.hlink</hyperlink>" should work hyperlink [[SIZE=9px]history[/SIZE]] String The id of the xml skin page that MP will load when the button is pushed Bu the only way I found to really get it working is using "<hyperlink>1</hyperlink>". But this is nothing I can use as hyperlink target should be changeable by end-user. Did someone know how to solve this? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
hyperlink with property instead of fixed ID?
Contact us
RSS
Top
Bottom