Custom Submenu Items for Home Style 1 [Alaska only]
#16
I've a video plugin named tvalacarta, i've added it to favourites; now i want to create a shortcut from home to use it. In favorites i have an entry named "TV Online"... How can i go to that plugin using ActivateWindow?
Reply
#17
It works great! Thanks Hitcher for this feature Smile
Reply
#18
Having some issue adding an additional custom submenu. First one I added worked like a charm. For the second submenu, I copied the entire group and change the button ID and visible control to no avail.

I figured it out. This is the right code if you want an additional submenu in case anyone needs it.


PHP Code:
<!--Music Files -->
  <include 
name="CustomMusicButtons">
    <
control type="button" id="3309">
      <
label>Music Files</label>
      <
onclick>ActivateWindow(10501,Z:\)</onclick>
      <include>
Home_MainMenuLabel</include>
    </
control>
      <
control type="button" id="3310">
      <
label>OPM</label>
      <
onclick>ActivateWindow(10501,Z:\MUSIC\OPMP3\)</onclick>
      <include>
Home_MainMenuLabel</include>
    </
control>
  </include>
  <include 
name="CustomMusicImages">
    <
control type="image">
      <include>
Home_MainMenuIconF</include>
      <
texture diffuse="mainmenu/homematte.png" fallback="backdrops/music.jpg">customimages/music.bmp</texture>
      <
visible>ControlGroup(3300).HasFocus() + ControlGroup(3300).HasFocus(3309)</visible>
    </
control>
    <
control type="image">
      <include>
Home_MainMenuIconF</include>
      <
texture diffuse="mainmenu/homematte.png" fallback="backdrops/music.jpg">customimages/apo-flag.jpg</texture>
      <
visible>ControlGroup(3300).HasFocus() + ControlGroup(3300).HasFocus(3310)</visible>
    </
control>
  </include>
  <!--
End--> 
Reply
#19
Is it also possible to link a submenu to a script, or is it only possible to linkt it to plugins?

I also wonder how to make 'programs' point directly to games.
I don't use programs, only games, so it's a bit stupid I need to push down first everytime I want to go to games Smile
I saw it was possible in Home2 (or 3) to make programs point directly to games.
Edit:
Nevermind that last request. I've worked it out with this helpful post:
http://forum.xbmc.org/showpost.php?p=501777&postcount=4
Reply

Logout Mark Read Team Forum Stats Members Help
Custom Submenu Items for Home Style 1 [Alaska only]0