Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

best practice for several customizable widgets per main-MenuItem beside Weather widge

$
0
0
Hello

Its been a While since i touched Skincode, and im stuck currently, by trying to allow the User to set several widgets per main menu Item. + have the Option to choose a weather widget to.

Im Looking for a Simple (or at least a good) way to have several customizable Widgets per main-menuItem. + Weather (and PVR Widgets).

I knew its possible to set "single Widgets" per menu Item, which is also quiet easys. Did already some Witchets that way, but when it comes to more than one widget per menuItem i get stuck.
I did already have a look at the Skin "Andromeda" which work with "Templates" (template.xml) to provide the widgets. But even this way i dont see a way to provide the ability to choose a weather widget beside thows.

(If i dont get This wrong, all i would need from the shortcut script are 5 properties (but multple Times per MenuItem)
- Widgetpath propertie
- WidgetTarhet propertie
- sortorder propetie
- Thumbsize propertie
- WidgetLabel propertie
And in best case the ability to set them within the shortcut-script (skriptskinshortcuts.xml), might similar to how submenu Items get set.


<!-- 1st Widget -->
$INFO[Container(9000).ListItem.Property(widgetPath)]
$INFO[Container(9000).ListItem.Property(widgetTarget)]
$INFO[Container(9000).ListItem.Property(widgetName)]
<!-- 2nd Widget -->
$INFO[Container(9000).ListItem.Property(widgetPath.2)]
$INFO[Container(9000).ListItem.Property(widgetTarget.2)]
$INFO[Container(9000).ListItem.Property(widgetName.2)]
<!-- 3rd Widget -->
$INFO[Container(9000).ListItem.Property(widgetPath.3)]
$INFO[Container(9000).ListItem.Property(widgetTarget.3)]
$INFO[Container(9000).ListItem.Property(widgetName.3)]

But as long i didnt miss it, thats not possible with Skinshortcuts)
--

So in short - whats best practice?

Viewing all articles
Browse latest Browse all 1803

Trending Articles