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

    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video signal") on the TV I suspect the AVR has something to do with that. If I manually put the TV only into standby when TV is playing but paused then on wakeup I could not immediately take it out of pause and...
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video...
    Hi all, I´m using MP 1.30 at the moment and have a problem which also exists on my system on previous versions. So I don´t think...
    Replies
    3
    Views
    316
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    344
    MP1 MP2 WSE 2019 / WSE 2022 DE
    @ajs Thank you, that gives me the hope to try.
    @ajs Thank you, that gives me the hope to try.
    I‘m planning to create a new server that also should be used for a MP1 TV sever. But I should know if I can install and run the MP...
    Replies
    2
    Views
    279
    Yes, unfortunately, this would need a code change to support it. Next time I'm doing something on the plugin I'll try and remember to add support for this sort order.
    Yes, unfortunately, this would need a code change to support it. Next time I'm doing something on the plugin I'll try and...
    Hi, I was wondering if there is anyone who might be able to help me out. Is there a way to either use the sort feature and/or a...
    Replies
    6
    Views
    264
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11. Saved me a lot of time having to debug the code. Thanks for the tip!
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11...
    Hello, I spent a couple of days trying to resolve this issue and cannot figure it out. I have set up MediaPortal Server on an old...
    Replies
    2
    Views
    376
    Top Bottom