Kodi Community Forum
Re-Organising Main Menu Items - 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: Re-Organising Main Menu Items (/showthread.php?tid=161934)



Re-Organising Main Menu Items - SouthMark - 2013-04-09

Hi All

Really like this skin but the one thing that's driving me nuts is not being able to re-organise the main menu items. I understand that MQ doesn't want to add this feature in as it may slow the performance of the skin which is fine, but what would be good if someone could tell me how to do it manually through editing of the VIP menu?

As always any help on this subject would be great and then I could put together a process for others to follow

Thanks

Mark


RE: Re-Organising Main Menu Items - Poulpe_38 - 2013-04-09

Hi SouthMark,

From what I understood of the IncludesVIPMenu.xml file, it's divided in two sections :

- the first section is the main menu of XBMC
- the second section is the menu used in the "Customize menu" part of the settings

You can reorder both sections apparently, by moving any item element of the XML file in the corresponding section of the menu. For example, you can move the movies section by moving this part of the code :

Code:
<item id="1"><!-- Filmes -->
    <label fallback="31003">$INFO[skin.string(movies.label)]</label>
    <label2 fallback="31097">$VAR[value_librarymovies]</label2>
    <icon fallback="special://skin/backgrounds/movies.jpg">$VAR[value_mainmenubg_movies]</icon>
    <onclick condition="Library.HasContent(Movies) + !Skin.HasSetting(menumovies_sets)">ActivateWindow(videos,movietitles,return)</onclick>
    <onclick condition="Library.HasContent(MovieSets) + Skin.HasSetting(menumovies_sets)">ActivateWindow(videos,moviesets,return)</onclick>
    <onclick condition="!Library.HasContent(Movies)">ActivateWindow(videos,files)</onclick>
    <onclick condition="!Library.HasContent(Movies)">Notification($LOCALIZE[31586],$LOCALIZE[31587]: [UPPERCASE]$LOCALIZE[999][/UPPERCASE])</onclick>
    <visible>SubString(skin.string(movies.menu),on)</visible>
</item>

(this is the main menu element) to another location in the main menu part. For a more coherent result, don't forget to move the counterpart in the other menu to the same position.

By the way, I think that if you update the skin, you will lose your changes as the files would be overwriten, so it's a temporary fix Wink


RE: Re-Organising Main Menu Items - SouthMark - 2013-04-09

Hi Pouple

Do you have to change the IDs also? as the only items I want to move around are the custom menu items

Cheers

Mark


RE: Re-Organising Main Menu Items - Poulpe_38 - 2013-04-09

No, you don't have to modify the IDs. For what I understand, the list is read in order, so only the order of the items will matter.


RE: Re-Organising Main Menu Items - SouthMark - 2013-04-10

Cheers Pouple will give it a go and see if it works

Thanks

Mark


RE: Re-Organising Main Menu Items - SouthMark - 2013-04-10

Hi Pouple

Worked a treat! That's been annoying me for ages, and now I have the perfect skin! Smile

Thanks again

Cheers

Mark


RE: Re-Organising Main Menu Items - Poulpe_38 - 2013-04-10

@SouthMark :

Glad I could help Wink

Cheers