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
Area 51 - Testing Area
Skin engine enhancements (themes, guide colors, skin functions, weather settings...)
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="ajp8164" data-source="post: 864201" data-attributes="member: 64375"><p>Try this instead:</p><p> </p><p><em><onclick>#(skin.setstring('#skin.tvguide.rows'))</onclick></em></p><p> </p><p>Note the single-quote marks on the setstring() argument. I think the wiki may be incorrect.. Also, I should address the lack of debug output.</p><p> </p><p>However, I'm not sure this control will do anything for you. Typically you would use something like the following on a checkbutton control to manage a boolean setting.</p><p> </p><p><em><selected>#(skin.hassetting('#skin.tvguide.showgenrekey'))</selected></em></p><p><em><onclick>#(skin.togglesetting('#skin.tvguide.showgenrekey'))</onclick></em></p><p> </p><p>What are you trying to accomplish? If you're trying to get the keyboard up to set a value then you have to use a skin #define as the argument to setstring() - I think the #define must have been previously declared at the top of the skin file (e.g., <define>#my_var:</define> which will create a define with value equal to empty string). I'm not sure you can pass a #define to setstring() as the value (2nd) parameter to get it saved to the skin settings file. I'd have to look over the implementation (or try it ;-)</p><p> </p><p>Thanks for testing!</p></blockquote><p></p>
[QUOTE="ajp8164, post: 864201, member: 64375"] Try this instead: [I]<onclick>#(skin.setstring('#skin.tvguide.rows'))</onclick>[/I] Note the single-quote marks on the setstring() argument. I think the wiki may be incorrect.. Also, I should address the lack of debug output. However, I'm not sure this control will do anything for you. Typically you would use something like the following on a checkbutton control to manage a boolean setting. [I]<selected>#(skin.hassetting('#skin.tvguide.showgenrekey'))</selected>[/I] [I]<onclick>#(skin.togglesetting('#skin.tvguide.showgenrekey'))</onclick>[/I] What are you trying to accomplish? If you're trying to get the keyboard up to set a value then you have to use a skin #define as the argument to setstring() - I think the #define must have been previously declared at the top of the skin file (e.g., <define>#my_var:</define> which will create a define with value equal to empty string). I'm not sure you can pass a #define to setstring() as the value (2nd) parameter to get it saved to the skin settings file. I'd have to look over the implementation (or try it ;-) Thanks for testing! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
Skin engine enhancements (themes, guide colors, skin functions, weather settings...)
Contact us
RSS
Top
Bottom