Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Remove sub menu
#1
Star 
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
Reply
#2
bump, can't be too hard right?
Reply
#3
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
Reply
#4
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
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
#5
thank you to the both of you, both methods work perfectly!
Reply

Logout Mark Read Team Forum Stats Members Help
Remove sub menu0