Modding reFocus a little
#1
Hello All

This is my first time trying to mod a theme or do anything with a theme..

I really like the reFocus theme but would like the TVShows and Movies menus to be on the home screen.

I have added this code

I have added the following to Homemenu.xml

Code:
<item id="14">
                    <label>TV Shows</label>
                    <onclick>SetFocus(2000)</onclick>
                    <visible>Library.HasContent(TVShows)</visible>
                </item>
                <item id="15">
                    <label>Movies</label>
                    <onclick>SetFocus(1190)</onclick>
                    <visible>Library.HasContent(Movies)</visible>
                </item>

and this to HomeSubMenu.xml

Code:
<!-- Movies SUBMENU ----------------------------------------------------------------------------------------------->    
            <control type="list" id="1190">
                <posx>-800</posx>
                <width>900</width>
                <height>900</height>
                <onup>1190</onup>
                <ondown>1190</ondown>
                <onleft>9000</onleft>
                <orientation>vertical</orientation>
                <scrolltime>150</scrolltime>
                <include>home_SubFocus</include>
                <include>homeMenusLayout</include>
                <visible allowhiddenfocus="true">Container(9000).HasFocus(1)</visible>
                <content>
                    <item id="1">
                        <label>All Movies</label>
                        <onclick>ActivateWindow(MyVideoLibrary,movietitles)</onclick>
                        <onclick>Dialog.Close(shutdownmenu)</onclick>
                        <visible>Library.HasContent(movies)</visible>
                    </item>
                    <item id="2">
                        <label>Recent Movies</label>
                        <onclick>ActivateWindow(MyVideoLibrary,recentlyaddedmovies)</onclick>
                        <onclick>Dialog.Close(shutdownmenu)</onclick>
                        <visible>Library.HasContent(movies) + Skin.HasSetting(homemenuRecentVideo)</visible>
                    </item>
                </content>
            </control>

Although I get the menu on the home page the submenu appears blank, if I press enter on the blank screen I will go into a Library.

Any idea's?
Reply
#2
Shouldn't
PHP Code:
<visible allowhiddenfocus="true">Container(9000).HasFocus(1)</visible
be
PHP Code:
<visible allowhiddenfocus="true">Container(9000).HasFocus(14)</visible
?
Reply
#3
Thanks for the help, I will have a look when I get home tonight Big Grin
Reply
#4
That worked a treat thanks a lot
Reply

Logout Mark Read Team Forum Stats Members Help
Modding reFocus a little0