Remove default submenus?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Addam1125 Offline
Junior Member
Posts: 11
Joined: Oct 2011
Reputation: 0
Post: #1
I want to remove some submenus eg. Files/Genres/Years etc.. under the 'Movies' menu. Is this possible right now?
find quote
stoli Offline
Skilled Skinner
Posts: 2,409
Joined: Nov 2008
Reputation: 31
Location: Florida
Post: #2
You'll have to edit the Includes_Home_Horizontal.xml to remove them.
find quote
Addam1125 Offline
Junior Member
Posts: 11
Joined: Oct 2011
Reputation: 0
Post: #3
Gotchya, thanks!
find quote
Addam1125 Offline
Junior Member
Posts: 11
Joined: Oct 2011
Reputation: 0
Post: #4
I'm a bit stuck, can anyone help?

[Image: sToxV.png]

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>
find quote
stoli Offline
Skilled Skinner
Posts: 2,409
Joined: Nov 2008
Reputation: 31
Location: Florida
Post: #5
if you want to remove it completely from under Movies, remove that whole section of code, from <!--MOVIES --> to <!--TV SHOWS -->
find quote
Addam1125 Offline
Junior Member
Posts: 11
Joined: Oct 2011
Reputation: 0
Post: #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.
find quote
stoli Offline
Skilled Skinner
Posts: 2,409
Joined: Nov 2008
Reputation: 31
Location: Florida
Post: #7
Without the code in front of me, I'm not sure... You probably have to work on x coordinate positioning or width...
find quote