Kodi Community Forum

Full Version: Adding additional homepage items.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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_h...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?
This: https://kodi.wiki/view/HOW-TO:Edit_the_h...o_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.
(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_h...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>