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="Zoidberg77" data-source="post: 955273" data-attributes="member: 114314"><p>Hi,</p><p>I tested following:</p><p>I added a definition to common.time.xml, which is the first import in my BasicHome.xml:</p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><window></p><p> </p><p><define>#submenu1.hyperlink1:30</define></p><p> </p><p><controls>[/CODE]</p><p> </p><p>BasicHome.xml imports BasicHome.submenus.xml and there is following control:</p><p>[CODE]<control></p><p> <description>SUB ITEM 0</description></p><p> <type>button</type></p><p> <id>20001</id></p><p> <label>#submenu1.label1</label></p><p> <width>300</width></p><p> <hyperlink>#submenu1.hyperlink1</hyperlink></p><p> <hyperlinkParameter>#submenu1.hyperlinkparameter1</hyperlinkParameter></p><p> <textureFocus>-</textureFocus></p><p> <textureNoFocus>-</textureNoFocus></p><p> <font>fontB14</font></p><p> <textcolor>FFFFFFFF</textcolor></p><p> <textalign>left</textalign> </p><p> <textcolorNoFocus>60ffffff</textcolorNoFocus></p><p> <onleft>1900</onleft></p><p> <onright>1902</onright></p><p> <ondown>1901</ondown></p><p> <onup>#submenu1.label1.onup</onup></p><p> <visible allowhiddenfocus="true">[!string.equals(#submenu1.label1,)]+[control.isvisible(20000)]</visible></p><p> </control>[/CODE]</p><p>This does work here with and without property="true".</p><p>Also I figured out I will only need the property="true" attribute if I want to do some math like string.equal(#submenu1.hyperlink1)...</p></blockquote><p></p>
[QUOTE="Zoidberg77, post: 955273, member: 114314"] Hi, I tested following: I added a definition to common.time.xml, which is the first import in my BasicHome.xml: [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <window> <define>#submenu1.hyperlink1:30</define> <controls>[/CODE] BasicHome.xml imports BasicHome.submenus.xml and there is following control: [CODE]<control> <description>SUB ITEM 0</description> <type>button</type> <id>20001</id> <label>#submenu1.label1</label> <width>300</width> <hyperlink>#submenu1.hyperlink1</hyperlink> <hyperlinkParameter>#submenu1.hyperlinkparameter1</hyperlinkParameter> <textureFocus>-</textureFocus> <textureNoFocus>-</textureNoFocus> <font>fontB14</font> <textcolor>FFFFFFFF</textcolor> <textalign>left</textalign> <textcolorNoFocus>60ffffff</textcolorNoFocus> <onleft>1900</onleft> <onright>1902</onright> <ondown>1901</ondown> <onup>#submenu1.label1.onup</onup> <visible allowhiddenfocus="true">[!string.equals(#submenu1.label1,)]+[control.isvisible(20000)]</visible> </control>[/CODE] This does work here with and without property="true". Also I figured out I will only need the property="true" attribute if I want to do some math like string.equal(#submenu1.hyperlink1)... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
hyperlink with property instead of fixed ID?
Contact us
RSS
Top
Bottom