Hide certain Programs submenus in Confluence Lite

Discussion and development of skins for XBMC4XBOX
Post Reply
elmimmo
Posts: 6
Joined: Sat Dec 27, 2014 10:27 pm
Been thanked: 1 time

Hide certain Programs submenus in Confluence Lite

Post by elmimmo »

In Confluence Lite, is it possible to hide Emulators, Scripts & Plugins submenus (while keeping Apps & Games submenus) in the Home screen?
User avatar
xbs
Posts: 292
Joined: Thu Jul 05, 2012 3:22 pm
Location: Portugal
Has thanked: 29 times
Been thanked: 22 times

Re: Hide certain Programs submenus in Confluence Lite

Post by xbs »

Not without editing the .xml file.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
elmimmo
Posts: 6
Joined: Sat Dec 27, 2014 10:27 pm
Been thanked: 1 time

Re: Hide certain Programs submenus in Confluence Lite

Post by elmimmo »

xbs wrote:Not without editing the .xml file.
I know nothing of how skins are, internally. Can you please tell me the name and path of the XML file where to look for that?
User avatar
Spongy
Posts: 97
Joined: Sun Jul 08, 2012 5:11 am
Has thanked: 16 times
Been thanked: 18 times

Re: Hide certain Programs submenus in Confluence Lite

Post by Spongy »

Open skin/Confluence Lite/720p/IncludesHomeMenuItems.xml with a decent text editor.
Find <include name="HomeSubMenuPrograms">.
Within this <include> are the submenu <control>.
Remove the controls you don't want (Emulators,Scripts,Plugins).

So this.

Code: Select all

	<include name="HomeSubMenuPrograms">
		<control type="image" id="90181">
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
		</control>
		<control type="button" id="90182">
			<include>ButtonHomeSubCommonValues</include>
			<label>31271</label>
			<onclick>ActivateWindow(Programs,Apps,return)</onclick>
		</control>
		<control type="button" id="90183">
			<include>ButtonHomeSubCommonValues</include>
			<label>15016</label>
			<onclick>ActivateWindow(Programs,Games,return)</onclick>
		</control>
		<control type="button" id="90184">
			<include>ButtonHomeSubCommonValues</include>
			<label>31272</label>
			<onclick>ActivateWindow(Programs,Emulators,return)</onclick>
		</control>
		<control type="button" id="90185">
			<include>ButtonHomeSubCommonValues</include>
			<label>247</label>
			<onclick>ActivateWindow(Scripts)</onclick>
		</control>
		<control type="button" id="90186">
			<include>ButtonHomeSubCommonValues</include>
			<label>31251</label>
			<onclick>ActivateWindow(Programs,Plugins,return)</onclick>
		</control>
		<control type="image" id="90188">
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3">HomeSubEnd.png</texture>
		</control>
	</include>

Becomes this.

Code: Select all

	<include name="HomeSubMenuPrograms">
		<control type="image" id="90181">
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
		</control>
		<control type="button" id="90182">
			<include>ButtonHomeSubCommonValues</include>
			<label>31271</label>
			<onclick>ActivateWindow(Programs,Apps,return)</onclick>
		</control>
		<control type="button" id="90183">
			<include>ButtonHomeSubCommonValues</include>
			<label>15016</label>
			<onclick>ActivateWindow(Programs,Games,return)</onclick>
		</control>
		<control type="image" id="90188">
			<width>35</width>
			<height>35</height>
			<texture border="0,0,0,3">HomeSubEnd.png</texture>
		</control>
	</include>
Post Reply