G'day all. I wanted to edit the Confluence horizontal menu bar, and ended up making a video.
http://youtu.be/RSthtSaXjrU
It's short, and based on the default Eden theme, but hopefully provides enough info to get anyone on the right track. It's heavily 'inspired by' Myth's awesome guide, but basically ignores the 'Custom Playlists' bit cos I forgot. Maybe next time.
I understand there's now an addon that allows this kind of tweak from within XBMC, but reckon this is a) a more lightweight way of doing things, and b) cooler.
Hope it helps someone, and thanks to all at XBMC!
First bit of
Second bit of
Third bit of
http://youtu.be/RSthtSaXjrU
It's short, and based on the default Eden theme, but hopefully provides enough info to get anyone on the right track. It's heavily 'inspired by' Myth's awesome guide, but basically ignores the 'Custom Playlists' bit cos I forgot. Maybe next time.
I understand there's now an addon that allows this kind of tweak from within XBMC, but reckon this is a) a more lightweight way of doing things, and b) cooler.
Hope it helps someone, and thanks to all at XBMC!
First bit of
Code:
<!-- This section creates a custom button. -->
<control type="grouplist" id="lstLectures"> <!--Define new control with a unique name-->
<include>HomeSubMenuCommonValues</include> <!-- Give it default look -->
<visible>Container(9000).HasFocus(butLectures)</visible> <!--The HasFocus variable needs to match the item id in the next section.-->
<include>HomeSubMenuLectures</include> <!-- Content to be defined in IncludesHomeMenuItems; use this name in the third section-->
</control>
Second bit of
Code:
<!-- This section adds functionality to a custom button. -->
<item id="butLectures"> <!-- This is the actual category button; use the HasFocus variable name from above -->
<label>Lectures</label> <!-- Button label -->
<onclick>ActivateWindow(Videos,special://profile/playlists/Lectures.xsp,return)</onclick> <!--link to playlist -->
<icon>special://skin/backgrounds/decrepit_lecture_hall.jpg</icon> <!-- Put custom picture in XBMC backgrounds folder -->
<visible>True</visible> <!-- Indeed -->
</item>
Third bit of
Code:
<!-- This section creates the custom dropdown sub-menu. -->
<include name="HomeSubMenuLectures"> <!-- Use the name included in the GroupList above. -->
<control type="image" id="sbmLecturesLeft"> <!-- This control is just the left menu graphic -->
<width>35</width>
<height>35</height>
<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
</control>
<control type="button" id="sbmLecturesPhys"> <!--First Custom category; use a unique name.-->
<include>ButtonHomeSubCommonValues</include>
<label>Physics</label>
<onclick>ActivateWindow(Videos,special://profile/playlists/video/Physics.xsp,return)</onclick> <!--link to playlist -->
<visible>True</visible>
</control>
<control type="button" id="sbmLecturesChem"> <!--Second Custom category; use a unique name.-->
<include>ButtonHomeSubCommonValues</include>
<label>Info Tech</label>
<onclick>ActivateWindow(Videos,special://profile/playlists/lectures/InfoTech.xsp,return)</onclick><!--link to playlist -->
<visible>True</visible>
</control>
<control type="button" id="sbmLecturesFiles"> <!-- This control adds the default 'Files' option. Use a unique name.-->
<include>ButtonHomeSubCommonValues</include>
<label>744</label>
<onclick>ActivateWindow(Videos,Files,return)</onclick>
</control>
<control type="image" id="sbmLecturesRight"> <!-- This control is just the left menu graphic -->
<width>35</width>
<height>35</height>
<texture border="0,0,0,3">HomeSubEnd.png</texture>
</control>
</include>