Slight problem with additional menu button - HELP please
#1
Following Ronie's guide on http://forum.xbmc.org/showpost.php?p=411326&postcount=7 and also on http://forum.xbmc.org/showthread.php?tid=76531, I got to making my own button for documentaries. I have successfully managed to get the button on the "vertical" view (as that is what I use, I don't like the horizontal). It appears in all it's glory for a button and also have the background image showing a picture of my choosing.

This is the code I have added to the Includes_Home.xml file in the 720p folder.

<item id="20">
<label>Documentaries</label>
<onclick>ActivateWindow(Documentaries,//****/documentaries,return)</onclick>
<icon>special://skin/images/backgrounds/rocks.jpg</icon>
</item>

My problem here is that the button doesn't do anything when clicking on it (or in my case) hitting Enter on the keyboard. I have shared a folder from my PC called "Documentaries" and thought I could put that in to the <onclick> tag but this obviously doesn't seem to work. What do I need to do so that I can add a source that points directly to my shared folder (nb: please ignore the **** in the path, I just removed the name of my PC Big Grin)?

I will be creating a folder for each documentary and each will have an nfo associated so that I don't have to use a scraper.

Any help would be appreciated.
Reply
#2
Anyone??
Reply
#3
the folder you specified seems a bit too complex...... are those video files? if so.

it should be <onclick>ActivateWindow(VideoFiles,Documentaries)</onclick>
Reply
#4
Yeah most things are just video files. I tried this and it worked perfectly. The documentaries button on the main menu now opens to the right share and I can see all of them listed. Thanks for the help kevenz.
Reply

Logout Mark Read Team Forum Stats Members Help
Slight problem with additional menu button - HELP please0