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
Can I get a : into a define value?
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: 981957" data-attributes="member: 97724"><p>I needed to use colons in a define and tried everything. MP's code uses the colon as a delimiter for defines and will break if there is more then one colon anywhere on the define line.</p><p> </p><p>Had a brain burp and came up with this:</p><p> </p><p>[CODE]<control></p><p> <description>POG: fix for colon use in defines</description></p><p> <type>label</type></p><p> <label>#(iif(neq(#colon,':'),skin.setstring('#colon',':'),''))</label></p><p> <visible>no</visible></p><p></control>[/CODE]</p><p> </p><p>Put that in your skin. Then if you need a colon use #colon.</p><p> </p><p>For your example: <define>#menu3.but3linkpar:categoryid#colon40</define></p></blockquote><p></p>
[QUOTE="Pog, post: 981957, member: 97724"] I needed to use colons in a define and tried everything. MP's code uses the colon as a delimiter for defines and will break if there is more then one colon anywhere on the define line. Had a brain burp and came up with this: [CODE]<control> <description>POG: fix for colon use in defines</description> <type>label</type> <label>#(iif(neq(#colon,':'),skin.setstring('#colon',':'),''))</label> <visible>no</visible> </control>[/CODE] Put that in your skin. Then if you need a colon use #colon. For your example: <define>#menu3.but3linkpar:categoryid#colon40</define> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Can I get a : into a define value?
Contact us
RSS
Top
Bottom