Kodi Community Forum
Remove sub menu - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Ace 2 (https://forum.kodi.tv/forumdisplay.php?fid=190)
+----- Thread: Remove sub menu (/showthread.php?tid=170705)



Remove sub menu - verismo - 2013-08-06

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


RE: Remove sub menu - verismo - 2013-08-08

bump, can't be too hard right?


RE: Remove sub menu - CutSickAss - 2013-08-09

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



RE: Remove sub menu - Wanilton - 2013-08-09

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


RE: Remove sub menu - verismo - 2013-08-09

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