Solved add tab submenu , need help
#1
Jeroen, I want to add tab in the submenu ( under tab search ) what file I need to change with menu.xml. whatever I do there is always a problem.
Reply
#2
Impossible to tell without knowing what exactly it is you want to do and what you have tried.
Reply
#3
Here's what I do:


PHP Code:
<include name="menu_artworkdownloader">
        <
control type="label" id="104">
            <
height>50</height>
            <
label>ArtWork Downloader</label>
            <include>
menu_Header</include>
        </
control>
        <
control type="button" id="105">
            <
label>List$INFO[Container.artworkdownloader,: ]</label>
            <include>
menu_Button</include>
            <
onclick>SetFocus(4000)</onclick>
        </
control>
    </include>


<!--
ARTWORK-->
    <include 
name="menu_Artwork">
        <
control type="group">
            <include>
menu_Commons</include>
            <
control type="grouplist" id="6000">
                <include>
menu_ContainerCommons</include>
                <!--<include>
menu_QuickNav</include>-->
                <include>
menu_artworkdownloader</include>
            <!--
viewtype options-->
                <!--list: 
artwork-->
                <!-- 
Download Fanarts-->
                    <
control type="radiobutton" id="220">
                        <
label>Fanarts</label>
                        <
onclick>Skin.ToggleSetting(fanart.movies.enable)</onclick>
                        <
selected>Skin.HasSetting(fanart.movies.enable)</selected>
                        <include>
settings_Radiobutton</include>
                        <
enable>System.HasAddon(script.artwork.downloader)</enable>
                    </
control>
                    
                    <
control type="button" id="221">
                        <
label> - Download - </label>
                        <
onclick>XBMC.RunScript(script.artwork.downloadermode=moviesilent=truefanart)</onclick>
                        <include>
settings_Listbutton</include>
                        <
visible>Skin.HasSetting(fanart.movies.enable)</visible>
                    </
control>
                    
            <!--
Download landscape-->        
                    <
control type="radiobutton" id="222">
                        <
label>Landscape</label>
                        <
onclick>Skin.ToggleSetting(landscapethumb.enable)</onclick>
                        <
selected>Skin.HasSetting(landscapethumb.enable)</selected>
                        <include>
settings_Radiobutton</include>
                        <
enable>System.HasAddon(script.artwork.downloader)</enable>
                    </
control>
                    <
control type="button" id="223">
                        <
label> - Download - </label>
                        <
onclick>XBMC.RunScript(script.artwork.downloadermode=customsilent=truelandscape)</onclick>
                        <include>
settings_Listbutton</include>
                        <
visible>Skin.HasSetting(landscapethumb.enable)</visible>
                    </
control>
                    <!--
Download clearlogos-->
                    <
control type="radiobutton" id="224">
                        <
label>Clearlogos</label>
                        <
onclick>Skin.ToggleSetting(logos.movies.enable)</onclick>
                        <
selected>Skin.HasSetting(logos.movies.enable)</selected>
                        <include>
settings_Radiobutton</include>
                        <
enable>System.HasAddon(script.artwork.downloader)</enable>
                    </
control>
                    <
control type="button" id="225">
                        <
label> - Download - </label>
                        <
onclick>XBMC.RunScript(script.artwork.downloadermode=moviesilent=trueclearlogo)</onclick>
                        <include>
settings_Listbutton</include>
                        <
visible>Skin.HasSetting(logos.movies.enable)</visible>
                    </
control>
                    
                    <!--
Download Discart-->
                    <
control type="radiobutton" id="226">
                        <
label>Discart</label>
                        <
onclick>Skin.ToggleSetting(discart.movies.enable)</onclick>
                        <
selected>Skin.HasSetting(discart.movies.enable)</selected>
                        <include>
settings_Radiobutton</include>
                        <
enable>System.HasAddon(script.artwork.downloader)</enable>
                    </
control>
                    <
control type="button" id="227">
                        <
label> - Download - </label>
                        <
onclick>XBMC.RunScript(script.artwork.downloadermode=moviesilent=truediscart)</onclick>
                        <include>
settings_Listbutton</include>
                        <
visible>Skin.HasSetting(discart.movies.enable)</visible>
                    </
control>
                    </include> 

I would like to store in a menu list as list views, different types of download artwork on the submenu (as list of video) ,to below the list video views).
Reply
#4
Use unique ID's. 4000 + 6000 are already in use for the regular menu unless you want to replace that for some reason.

And $INFO[Container.artworkdownloader,: ] is not a valid infolabel, it does not exist.
Reply
#5
ok , i try , i understand Smile

I do not understand how to build it!

I have to add a code?


<onback condition="ControlGroup(6000).HasFocus()">50</onback>
<onback condition="ControlGroup(4000).HasFocus()">6000</onback>
<onclick condition="ControlGroup(4000).HasFocus()">back</onclick>

Huh ... <onclick condition="ControlGroup(5000).HasFocus()">back</onclick> Huh like this ?
Reply
#6
It's complicated! I think. Now that I know the problem I know how to do
Reply
#7
Thx very much for your help Smile go to other Mod for moment , it s too complicate
Reply

Logout Mark Read Team Forum Stats Members Help
add tab submenu , need help0