Trying to create custom menu item in Transparency...
#18
[quote='RyeHumor' pid='2428416' dateline='1475446162']

Define your button:

Open the Includes_Home.xml and around line 2630 or so you'll find the group of button definitions. Add your own here such as:

<include name="3dMoviesButton">
<item id="17">
<label>Cinema 3d</label>
<onclick>ActivateWindow(Videos,"special://profile/playlists/video/3d.xsp", return)</onclick>
<icon>special://skin/backgrounds/settings.jpg</icon>
<thumb>-</thumb>
</item>
</include>
/quote]

Thanks so much for this coding example. I'm also trying to split up Anime TV and Anime Movies, so I created 2 new buttons with only some old COBOL skills Smile.
The one area I'm still a little confused is the:

"<onclick>ActivateWindow(Videos,"special://profile/playlists/video/3d.xsp", return)</onclick>".

Is 3d.xsp the name of the playlist? If so, is that what you named the playlist? Any layman's explication of that particular line of code will be greatly appreciated.
Reply


Messages In This Thread
RE: Trying to create custom menu item in Transparency... - by Lakesidex - 2016-10-22, 04:43
Logout Mark Read Team Forum Stats Members Help
Trying to create custom menu item in Transparency...0