2015-11-28, 06:59
I'm using the stock Confluence skin, and doing some customization.
I've created a custom button between Videos and TV Shows by editing the home.xml and adding a link to the VideoSets:
<item id="19">
<label>Sets</label>
<onclick>ActivateWindow(Videos,MovieSets,return)</onclick>
<icon>-</icon>
<thumb>-</thumb>
</item>
Under that button I'd like to add a submenu, I've looked through the includeshomemenuitems.xml but I'm not sure how to add a new subarea.
Do I just add an include with the name of my label like so?
<include name="HomeSubMenuSets">
<control type="image" id="342323">
<width>35</width>
<height>35</height>
<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
</control>
<control type="button" id="51923">
<include>ButtonHomeSubCommonValues</include>
<label>Tags</label>
<onclick>ActivateWindow(Videos,MovieTags,return)</onclick>
</control>
<control type="image" id="90168">
<width>35</width>
<height>35</height>
<texture border="0,0,0,3">HomeSubEnd.png</texture>
</control>
</include>
Thanks!
I've created a custom button between Videos and TV Shows by editing the home.xml and adding a link to the VideoSets:
<item id="19">
<label>Sets</label>
<onclick>ActivateWindow(Videos,MovieSets,return)</onclick>
<icon>-</icon>
<thumb>-</thumb>
</item>
Under that button I'd like to add a submenu, I've looked through the includeshomemenuitems.xml but I'm not sure how to add a new subarea.
Do I just add an include with the name of my label like so?
<include name="HomeSubMenuSets">
<control type="image" id="342323">
<width>35</width>
<height>35</height>
<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
</control>
<control type="button" id="51923">
<include>ButtonHomeSubCommonValues</include>
<label>Tags</label>
<onclick>ActivateWindow(Videos,MovieTags,return)</onclick>
</control>
<control type="image" id="90168">
<width>35</width>
<height>35</height>
<texture border="0,0,0,3">HomeSubEnd.png</texture>
</control>
</include>
Thanks!