Hi
Related to my previous post I'm modding my home.xml so that when we click on Videos the Hide watch toggle so turned off and then when we click on Movies or TV Shows it's turned back on. I've had limited success with the ToggleWatched command but it seem to just throw the radio button and so it easy to get them switch in the 'wrong' position. Is there any way to set the toggle to On and Off? What am I missing?
Thanks again
Any way to lock watched unwatched toggle?
Friscovi
Junior Member Posts: 5 Joined: Mar 2012 Reputation: 0 |
2012-04-03 17:22
Post: #1
|
| find quote |
hellohello
Member Posts: 52 Joined: Aug 2009 Reputation: 0 |
2012-07-28 08:30
Post: #2
Friscovi, did you ever solve this?
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-07-29 12:51
Post: #3
Add this to your home.xml
PHP Code: <onload>Skin.Reset(HomeVideos)</onload> and this to the actual Videos button. PHP Code: <onclick>Skin.SetBool(HomeVideos)</onclick> Then add this to MyVideoNav.xml making sure you use a radiobutton for the actual button id=14. PHP Code: <onload condition="Skin.HasSetting(HomeVideos) + SubString(Control.GetLabel(14),*)">SendClick(14)</onload>![]() |
| find quote |

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help