Remove default submenus?
#1
I want to remove some submenus eg. Files/Genres/Years etc.. under the 'Movies' menu. Is this possible right now?
Reply
#2
You'll have to edit the Includes_Home_Horizontal.xml to remove them.
-stoli-
Reply
#3
Gotchya, thanks!
Reply
#4
I'm a bit stuck, can anyone help?

Image

That's supposed to say 'Trailers' but it's cut off on the left.

Code:
<!--MOVIES -->    <control type="list" id="9011">
                    <posx>420</posx>
                    <posy>30</posy>
                    <width>1380</width>
                    <height>465</height>
                    <orientation>horizontal</orientation>
                    <onleft>9011</onleft>
                    <onright>9011</onright>
                    <focusposition>2</focusposition>
                    <scrolltime>200</scrolltime>
                    <preloaditems>2</preloaditems>
                    <onup></onup>
                    <ondown>301</ondown>
                    <itemgap>0</itemgap>
                    <visible>Container(301).HasFocus(3)</visible>
                    <itemlayout width="320" height="245">
                        <control type="group">    
                            <posx>20</posx>
                            <posy>-5</posy>
                                <control type="label"><!--Movie title-->
                                    <width>320</width>
                                    <height>56</height>
                                    <label>$INFO[ListItem.Label]</label>
                                    <align>center</align>
                                    <font>Font_Bartowski_Main_SubMenu</font>
                                    <textcolor>grey3</textcolor>
                                </control>
                        </control>
                    </itemlayout>
                    <focusedlayout width="320" height="515">
                        <control type="group">    
                            <posx>20</posx>
                            <posy>-5</posy>
                                <control type="label"><!--Movie title-->
                                    <width>320</width>
                                    <height>56</height>
                                    <label>$INFO[ListItem.Label]</label>
                                    <align>center</align>
                                    <font>Font_Bartowski_Main_SubMenu</font>
                                    <textcolor>mainblue</textcolor>
                                </control>
                        </control>
                    </focusedlayout>
                        <content>
                            <item id="1">
                                <label>$INFO[Skin.String(Menu_Custom11_Label)]</label>
                                <onclick>$INFO[Skin.String(Menu_Custom11_Path)]</onclick>
                                <visible>Skin.HasSetting(Menu_Custom11)</visible>
                            </item>
                            <item id="2">
                                <label>$INFO[Skin.String(Menu_Custom12_Label)]</label>
                                <onclick>XBMC.ActivateWindow(10025,$INFO[Skin.String(Menu_Custom12_Path)],return)</onclick>
                                <visible>Skin.HasSetting(Menu_Custom12)</visible>
                            </item>
                            <item id="9">
                                <label>Newly Added</label>
                                <onclick>ActivateWindow(VideoLibrary,RecentlyAddedMovies,return)</onclick>
                            </item>
                            <item id="10">
                                <label>20389</label>
                                <onclick>ActivateWindow(VideoLibrary,MusicVideoTitles,return)</onclick>
                                <visible>Library.HasContent(MusicVideos)</visible>
                            </item>
                        </content>
                </control>
Reply
#5
if you want to remove it completely from under Movies, remove that whole section of code, from <!--MOVIES --> to <!--TV SHOWS -->
-stoli-
Reply
#6
stoli Wrote:if you want to remove it completely from under Movies, remove that whole section of code, from <!--MOVIES --> to <!--TV SHOWS -->

I removed everything that I wanted removed. "Trailers" and "Newly Added" are all I want left. I switched it from a 'wraplist' to a 'list' for aesthetic purposes, and adjusted xpos. However, the word 'Trailers' is cut off after doing that.
Reply
#7
Without the code in front of me, I'm not sure... You probably have to work on x coordinate positioning or width...
-stoli-
Reply

Logout Mark Read Team Forum Stats Members Help
Remove default submenus?0