Kodi Community Forum
add widget in the includes_home.xml - 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: Aeon Nox: Silvo (https://forum.kodi.tv/forumdisplay.php?fid=142)
+---- Thread: add widget in the includes_home.xml (/showthread.php?tid=227494)



add widget in the includes_home.xml - roozbehid - 2015-05-21

Hi,

I want to enable widgets by default in the includes_home.xml

I modified followings :

PHP Code:
            <property name="Widget" fallback="plugin://plugin.video.mytest/">$INFO[Skin.String(MovieHomeItem.Widget)]</property>
            <
property name="WidgetLabel" fallback="my test plugin">$INFO[Skin.String(MovieHomeItem.WidgetLabel)]</property>
            <
property name="WidgetType" fallback="1">$INFO[Skin.String(MovieHomeItem.WidgetType)]</property

As I found these values from guisettings.xml. They are correct yet nothing is shown as widget.
I guess while typing and entering information, xml codes also does something else....
I kind of narrowed to setting nox.widgettype?

Anyway...Is it possible so I modify it so by installing the skin I have by default enabled widgets?

Thanks


RE: add widget in the includes_home.xml - Mr. V - 2015-05-21

Its a bit more complex than editing one file to change the widgets. You will need to edit multiple files.

See this thread. 227102 (thread). My mod may do what you need (when released). If not you can always request a feature.