Quote:Not very difficult to add a new entry and sub menu in home.xml
I am using XBMC since two weeks, so it is not easy for me to edit the Home.xml
Quote:If you set a new entry, you can also set 4 submenu for this entry.
Oh yes you are right, sorry it was my fault, thanks
The first steps are done. To create a new menu entry into the confluence basic skin, following links helps me out:
-
http://forum.xbmc.org/showthread.php?tid=62229 and
-
http://forum.xbmc.org/showpost.php?p=411326&postcount=7
1. create a backup from confluence Home.xml
Code:
# cp -dv /usr/share/xbmc/addons/skin.confluence/720p/Home.xml ./Home.backup.xml
2. edit the Home.xml file (example with the gedit editor)
Code:
# gedit /usr/share/xbmc/addons/skin.confluence/720p/Home.xml
2.1 search for the main menu start lines (STRG + F)
Code:
<control type="fixedlist" id="9000">
2.2 insert a new menu entry (button) by duplicating an existing entry like "Music" for example
Code:
<!-- radio, start of menu button code -->
<item id="10001">
<label>Radio</label>
<onclick>ActivateWindow(MusicFiles,Radio)</onclick>
<icon>special://skin/backgrounds/music.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
</item>
<!-- radio, end of menu button code -->
I have paste this entry directly under the existing "Music" entry, after that I have modify some lines. I have set an non existing Item-ID an set the Radio directory as the destination folder (onclick), in this example, the folder Radio must exist in my home directory.
3. restart xbmc, thats it
Now I need to create some submenu entries, how can I do that?
---
System information: Linux: Mandriva Linux 2010.1, Kernel 2.6.33.7, Gnome, XBMC: xbmc-10.0-0.svn35305.dharma.pvr.0.1mdv2010.1.i586 (# urpmi xbmc), Skin: Confluence
Regards and thanks for your time, efforts and support