Kodi Community Forum
Skin Settings to Edit the Home Menu - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Skin Settings to Edit the Home Menu (/showthread.php?tid=379121)



Skin Settings to Edit the Home Menu - Doctor Eggs - 2024-10-11

This may be too complex a question or too advanced for my skinning skill set, but what is the best way (or maybe easiest?) to make an interface to allow users to edit the Home.xml menu items?

Essentially I would like the ability to have users go into Skin Settings and have users be able to Add/Remove Main Menu items, Add/Remove Sub Menu items and change the order of those menu items.

I've seen some skins store all of that info in the settings.xml for the skin but the way that it was done was a little bit more than I was able follow.

Thanks for any help.


RE: Skin Settings to Edit the Home Menu - scott967 - 2024-10-11

Probably start by considering using script.skinshortcuts to manage home window main menu (typically id="9000") and submenus.
https://github.com/MikeSiLVO/script.skinshortcuts/blob/master/docs/started/Basic%20integration%201.md


RE: Skin Settings to Edit the Home Menu - pkscout - 2024-10-12

I've done something similar with my Estuary mod without using skinshortcuts, but I'm not sure I'd recommend it for general use.  Skinshortcuts really is the best choice.  If you really want to look at what I've done, you can get my code from:

https://github.com/pkscout/skin.estuary.pkscout.mod/tree/omega

Unfortunately the only way to really see what I changed is to do a diff between my mod and the original Estuary for Omega.  I'm so horrible at git commits that you'll probably never find everything any other way.


RE: Skin Settings to Edit the Home Menu - Doctor Eggs - 2024-10-15

(2024-10-11, 22:59)scott967 Wrote: Probably start by considering using script.skinshortcuts to manage home window main menu (typically id="9000") and submenus.
https://github.com/MikeSiLVO/script.skinshortcuts/blob/master/docs/started/Basic%20integration%201.md

I saw skinshortcuts, but never saw the writeup by Mike Silvo. That should help out a lot. Thanks!

I'm going to leave this open as I will probably have more questions when I start to get into it.

 
(2024-10-12, 00:32)pkscout Wrote: I've done something similar with my Estuary mod without using skinshortcuts, but I'm not sure I'd recommend it for general use.  Skinshortcuts really is the best choice.  If you really want to look at what I've done, you can get my code from:

https://github.com/pkscout/skin.estuary.pkscout.mod/tree/omega

Unfortunately the only way to really see what I changed is to do a diff between my mod and the original Estuary for Omega.  I'm so horrible at git commits that you'll probably never find everything any other way.

Thanks for the info. I hear you on the git commits. I'm trying to get better about it but just getting things up and committed usually wins out.