Kodi Community Forum
v18 Adding additional homepage items. - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: v18 Adding additional homepage items. (/showthread.php?tid=343691)



Adding additional homepage items. - elsmandino - 2019-05-07

Sorry if this is a really stupid question, but I am having trouble adding additional homepage items to confluence.

I am trying to follow this guide

https://kodi.wiki/view/HOW-TO:Edit_the_home_screen_skin_files

but cannot seem to find anything resembling this format in the confluence.xml file:

<item id="7">
    <label>8</label>
    <onclick>ActivateWindow(Weather)</onclick>
    <icon>-</icon>
   <thumb>-</thumb>
   <visible>!Skin.HasSetting(HomeMenuNoWeatherButton) + !IsEmpty(Weather.Plugin)</visible>
</item>

is the guide still compatible with Confluence Laya or have there been some changes?


RE: Adding additional homepage items. - DaVu - 2019-05-08

This: https://kodi.wiki/view/HOW-TO:Edit_the_home_screen_skin_files#How_to_add_a_new_button_to_the_Menu

Should still work. And yes, that wiki might be pretty outdated. So just look at the current Confluence Home.xml and take a look how its done nowadays and make the changes accordingly. Anyway the "onclick" on a newly added home menu item should generally still work as that behaviour hasn't changed.

If you want to use some visible conditions, make sure, the skin has the specific setting. If a skin doesn't provide a specific setting you make conditions on, it won't work.


RE: Adding additional homepage items. - the_other_guy - 2019-05-08

(2019-05-07, 18:14)elsmandino Wrote: Sorry if this is a really stupid question, but I am having trouble adding additional homepage items to confluence.

I am trying to follow this guide

https://kodi.wiki/view/HOW-TO:Edit_the_home_screen_skin_files

but cannot seem to find anything resembling this format in the confluence.xml file:

<item id="7">
    <label>8</label>
    <onclick>ActivateWindow(Weather)</onclick>
    <icon>-</icon>
   <thumb>-</thumb>
   <visible>!Skin.HasSetting(HomeMenuNoWeatherButton) + !IsEmpty(Weather.Plugin)</visible>
</item>

is the guide still compatible with Confluence Laya or have there been some changes?
<item id="7">
under skin.estuary they are like

<item>
       <label>skinhelper</label>
       <property name="menu_id">$NUMBER[22000]</property> this is for right side in estuary
       <onclick>ActivateWindow()</onclick>
       <thumb>icons/sidemenu/videos.png</thumb>
       <property name="id">skinhelper</property>   this is for right side in estuary
       <!-- <visible>!Skin.HasSetting(HomeMenuNostandupButton)</visible> -->
      </item>