Skin Settings to Edit the Home Menu
#1
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.
Reply
#2
Probably start by considering using script.skinshortcuts to manage home window main menu (typically id="9000") and submenus.
https://github.com/MikeSiLVO/script.skin...ion%201.md
Reply
#3
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....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.
Reply
#4
(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.skin...ion%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....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.
Reply

Logout Mark Read Team Forum Stats Members Help
Skin Settings to Edit the Home Menu0