[WIP][MOD] Advanced Launcher support

  Thread Rating:
  • 1 Votes - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Angelscry Offline
Skilled Python Coder
Posts: 2,694
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #1
Add an Games/Advanced Launcher entry into default home page (home1)

[Image: screenshot000.jpg]

Step 1 : Open /720p/Includes_Home1.xml file, and add the following code :

Code:
<item id="14">
    <description>Games</description>
    <label>$LOCALIZE[31500]</label>
    <icon>special://skin/extras/home1/games.jpg</icon>
    <thumb>$INFO[Skin.String(CustomGame)]</thumb>
    <onclick>ActivateWindow(Programs,plugin://plugin.program.advanced.launcher,return)</onclick>
    <visible>system.hasaddon(plugin.program.advanced.launcher)</visible>
</item>

just after :

Code:
...
<item id="6">
    <description>Pictures</description>
    <label>$LOCALIZE[1]</label>
    <icon>special://skin/extras/home1/pictures.jpg</icon>
    <thumb>$INFO[Skin.String(CustomPictures)]</thumb>
    <onclick>ActivateWindow(Pictures)</onclick>
    <visible>!Skin.HasSetting(NoPictures)</visible>
</item>

Step 2 : Open /language/English/Strings.xml file, and add the following code :

Code:
<!-- New String from Angelscry -->
<string id="31500">Games</string>

just before the last line :

Code:
</strings>

Step 3 : Download and save this image as extras/home1/pictures.jpg.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

(This post was last modified: 2012-07-04 03:21 by Angelscry.)
find quote