Buttons in Settings (1 Viewer)

Bavarian

Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi,

    does anybody know how I can create a new button at the setting section in MP?


    Bavarian :?
     

    Smirnuff

    Portal Pro
    December 7, 2004
    630
    3
    United Kingdom
    Add your button to the Settings.xml skin markup file like so:

    Code:
    			<control>
    				<description>My New Button</description>
    				<type>button</type>
    				<width>197</width>
    
    				
    				<id>99</id>
    
    				
    				<label>99999</label>
    	
    					
    				<hyperlink>99999</hyperlink>
    			</control>

    Looking at WindowPlugins\GUISettings\GUISettings.cs told me the whole story in 10 seconds flat... source code makes the best tutorial/guide of them all.
     

    Users who are viewing this thread

    Similar threads

    My knowledge of programming is limited, but the logic in this seems to confirm what I thought, thank you.
    My knowledge of programming is limited, but the logic in this seems to confirm what I thought, thank you.
    Good evening, Does anybody know the mouse position (Ypos coordinate) below which the topbar activates. I seem to remember there...
    Replies
    5
    Views
    565
    Many thanks for the answer. So far I've used Logitech's Harmony hub. This allows you to control all components (including the media portal). I have now contacted the Sofabaton hotline. It should also work here like with the Harmony. Unfortunately, not all of the IR codes are correct. You can also learn commands here. But that doesn't...
    Many thanks for the answer. So far I've used Logitech's Harmony hub. This allows you to control all components (including the...
    I don't have a complicated A/V system - a Sony A8H TV, Yamaha receiver, and a HTPC on which I run most media through MediaPortal. I...
    Replies
    8
    Views
    1K
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    You can always use GitHub online But judging by the picture, you are doing well. Direct Push to Master is prohibited, create PR.
    Hello, Because I was annoyed with closing MP, launch config, modify setting and start MP again, I decided to give MP the ability...
    Replies
    5
    Views
    2K
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    1K
    Right, this solved this issue. I added my comment to this thread. Thank you very much!
    Right, this solved this issue. I added my comment to this thread. Thank you very much!
    Until MP 1.31 I was able to change the Videos home screen button to Moving Pictures: MediaPortal Configuration -> GUI -> Skin ->...
    Replies
    2
    Views
    785
    Top Bottom