2014-09-07, 18:36
Hi,
I'm trying to compile a version of XBMC and I'd like to edit the skin to automatically include some Video submenu shortcuts.
I've found the below lines of code in the SkinSetting.xml file but not sure how to add the correct line for whatever addon I'd like to place there
I'm thinking I have to change the "OnClick" line but don't know what I need to change.
Any help would be great!
I'm trying to compile a version of XBMC and I'd like to edit the skin to automatically include some Video submenu shortcuts.
I've found the below lines of code in the SkinSetting.xml file but not sure how to add the correct line for whatever addon I'd like to place there
Code:
<control type="button" id="411">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]1[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeVideosButton1))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeVideosButton1,xbmc.addon.video,xbmc.addon.executable)</onclick>
</control>
I'm thinking I have to change the "OnClick" line but don't know what I need to change.
Any help would be great!
![Big Grin Big Grin](https://forum.kodi.tv/images/smilies/grin.png)