Kodi Community Forum

Full Version: Remove sub menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
looked around, couldn't find an answer.

Is there a way to remove the sub menu completely? Non techsavvy people will be using xbmc in our house so i don't want the left function to do anything in the home menu

I'm assuming id have to edit the xml, not sure where and how though
bump, can't be too hard right?
Since you're using the vertical menu, do the following:

- Open C:\Users\YOURUSERNAME\AppData\Roaming\XBMC\addons\skin.ace\720p\IncludesMenuV.xml

- Search for these lines:
PHP Code:
<onleft>Skin.SetBool(submode)</onleft>
<
onleft>ActivateWindow($VAR[Sub_GoTo])</onleft

- Delete them, or change them to this:
PHP Code:
<!--onleft>Skin.SetBool(submode)</onleft>
<
onleft>ActivateWindow($VAR[Sub_GoTo])</onleft--> 

- Save the file and exit.

You can restore the submenu by removing the "!--" symbols at the beginning and "--" at the end.


For the horizontal menu you'd have to edit IncludesMenuH.xml in a similar way, by changing/deleting these lines:
PHP Code:
<ondown>Skin.SetBool(submode)</ondown>
<
ondown>ActivateWindow($VAR[Sub_GoTo])</ondown
Please don´t, skin have settings for it, don´t need change anything in code, look the images for reference:

1, Press Left Arrow in Settings option in main menu

Next Screen
Image

2. Go to Customize Main menu (choose show item in main menu or not)
Image

For submenu in Movies, for example:
3. Movie Item - Press Left arrow again, now show all submeny, only need turn off each item

Repeat for each item in main menu, this steps, for hidden submenus items.

Image

After turn off, change blue color for red.

Image
thank you to the both of you, both methods work perfectly!