Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Purpose

  • Required:  No
  • Type of Change:  Feature

With this change you can use Skin Settings and Skin Expressions in a lot of new fields. The purpose of this is to build customizable menus based on SkinSettings, but skinners can go wild. You can also use these abilities to change navigation based on SkinSettings (for example navigate to a selectable overlay).

Description of Change

The following tags now allow Skin Settings and Skin Expressions:

Note: Most controls which support navigation tags inherit them from GUIControl, so skins may use expressions and settings in OnLeft, OnRight, OnUp, OnDown in any control that supports them..

Additional Information and References

Issue #:

MP1-4088

Related xml(s):

any

Windows IDs:

n/a

Related control:

button, GUIControl

Author:

mbuzina

Date added:

Tue, 28 Jan 2014

XML/Code Samples

Use the expressions as you would use normal settings, sample for hyperlink:

<control Style="BasicHomeButton">
        <description>TV normal push button</description>
        <type>button</type>
        <id>201</id>
        <label>#skin.basichome.TV1</label>
        <hyperlink>#(string.format('{0}.hyperlink',#skin.basichome.TV1))</hyperlink>
        <onup>208</onup>
        <ondown>202</ondown>
        <onleft>2</onleft>
        <onright>200200</onright>
        <onfocus>#(skin.setstring('#skin.currentbutton',string.format('{0}||201',#skin.basichome.TV1)))</onfocus>
        <visible>!string.equals(#skin.basichome.TV1,NoPlugin)</visible>
</control>

Create a Basic Home Editor in MP GUI

See catavolt's example in PureVision Forum: HOW TO: Build your own GUI-based BasicHome Editor

   

 

This page has no comments.