2010-12-22, 19:15
Angelscry Wrote:Woaaa... Great view !!!! I think the SHADE skin may works as the other skins and because I have modded the Alaska.Revisited skin I could give you some tips to add an additionnal view.
First, you have to change the name of the ViewsFileMode.xml file to a unique one (like NewViewsFileMode.xml) Then you have to choose him an unique name (New_View_File_Mode for example), an unique control panel ID (over 500) and a unique label (like 40000) like this for your NewViewsFileMode.xml file.
You also have to change the all control panel ID references into your NewViewsFileMode.xml file. When it is done you have to edit the Includes.xml file and include your view file into the include list.:Code:<includes>
<include name="New_View_File_Mode"> <---- HERE
<!-- Browser -->
<control type="panel" id="500"> <---- HERE
<viewtype label="40000">icon</viewtype> <---- HERE
...Then you have to edit the MyPrograms.xml file to add view ID and the view name like this :Code:...
<include file="Viewtype_List.xml" />
<include file="Viewtype_Banner.xml" />
<include file="NewViewsFileMode.xml" /> <---- HERE
<include file="Viewtype_Landscape.xml" />
...Finally you have to edit the strings.xml file to add the label of your view :Code:<views>55,58,54,59,500</views> <---- HERE
<defaultcontrol>55</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<include>Global_Filter</include>
<include>Viewtype_Files</include>
<include>New_View_File_Mode</include> <---- HERE
<include>Viewtype_List</include>
...
You have to do all of this and be sure the the label, id, name and filename of you view is UNIQUE. If one of them is already used you view will not display of you will have problems.Code:...
<string id="40000">NEW VIEW MODE</string> <---- HERE
...
Thanks, gonna give it a shot and maybe release it as a mod sometime this week, I found a bug in my view when more than 6 launchers are on display and I'm fixing that at the moment.