2018-05-06, 00:35
(2018-05-05, 21:21)andersfisker Wrote: Hi all,
I am in the process of implementing Skin Shortcuts in my skin. In my "home screen" i would like to have my main menu(which i have already implemented with the script) and a separate grouplist containing various widgets. The thing is that the widget grouplist, should be independent from the main menu, as it does not change - no matter which main menu item is focused. So currently i have a "dummy" menu group in the home screen, from which the widget items in the grouplist grab info from(path, target etc.). My question is, is this the proper way to implement a "widget grouplist"? It seems a bit.. hacky. And on another note, it makes the visibility conditions a bit of a mess.
Sorry if the question is confusing, it is a bit difficult to write down
Any help is appreciated, thanks!
If you are using skinshortcuts templates to build the widgets, then it might be the only way.
However, if you're not, then you might be looking for the "just select widgets" method
https://github.com/BigNoid/script.skinsh...0Select.md
This method will put all the properties in skin strings which you can then use to fill the content path and target and so on.
The main downside of this method is that you will have to make a custom dialog for management of the widgets, but with param based includes this is nowhere near as big a task as it used to be.