Titan Skin modification: a simple start (1 Viewer)

karhill

Portal Member
March 19, 2013
24
3
70
United States of America United States of America
Perhaps someone can point me in the right direction. I just want to make a few simple changes to the Basic home screen in Titan.

Basically:
1) I want to eliminate the TV submenus. Hitting the TV button (people on a couch) should go directly to the TV home page (e.g the first submenu option, TV).
2) I want to eliminate some other top-level buttons, like MUSIC, SETINGS, Empty Plugin buttons.

I assume these changes are probably fairly simple. Can someone point me in the right direction to get started?

Thanks.
 

powermarcel10

Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    31
    Groningen
    Netherlands Netherlands
    Hi,

    this is not possible at this moment. We are all waiting for a 'basichome editor' as you can read here: Click!

    For now you have to modify the xml skin files your self, but that requires some skills..

    Cheers
     

    karhill

    Portal Member
    March 19, 2013
    24
    3
    70
    United States of America United States of America
    Ah, yes, I see there are plans for an editor.

    If I wanted to hack with the xml, which xml file(s) would I start with?

    Thanks.
     

    powermarcel10

    Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    31
    Groningen
    Netherlands Netherlands
    Well, there are a lot.. But to start you could check BasicHome.xml in C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan and all other basichome related xml files..

    Best thing you can do is to copy the files you have changed to one of the theme folders; C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\Themes and select the right theme in Mediaportal.

    Than you can't messup your installation. :)
     

    karhill

    Portal Member
    March 19, 2013
    24
    3
    70
    United States of America United States of America
    Great. I'll give that a shot and see if I can grok the xml.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,930
    2,234
    Ba-Wü
    Germany Germany
    Country flag
    1) I want to eliminate the TV submenus. Hitting the TV button (people on a couch) should go directly to the TV home page (e.g the first submenu option, TV).

    You have to look for include.BasicHomeButton.movingpictures.xml in C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan.
    There you should replace <onclick>#(skin.setfocus(35,1100))</onclick> with <hyperlink>96742</hyperlink>

    If you wanna also get rid of the submenu indicator delete this part from the above mentioned xml:
    Code:
    <control>
    	  <description>submenu indicator</description>
    	  <id>0</id>
    	  <type>image</type>
    	  <posX>1818</posX>
    	  <posY>557</posY>
    	  <width>22</width>
    	  <height>20</height>
    	  <texture>basichome_submenu_indicator.png</texture>
    			<visible>![Control.IsVisible(100)|Control.IsVisible(2000)|Control.IsVisible(3000)|control.hasfocus(1000)|control.hasfocus(1001)|control.hasfocus(1002)|control.hasfocus(1003)|control.hasfocus(1004)|control.HasFocus(200) | control.HasFocus(300) | control.HasFocus(400) | control.HasFocus(500) | control.HasFocus(600) | control.HasFocus(700)]</visible>
    	  <animation effect="zoom" start="100,100" end="102,102" time="200" condition="control.hasfocus(4)">conditional</animation>
    		<animation effect="fade" time="250">WindowOpen</animation>
    		<animation effect="fade" time="150">WindowClose</animation>
    	</control>
     

    karhill

    Portal Member
    March 19, 2013
    24
    3
    70
    United States of America United States of America
    Holzi:

    Thanks a ton for that detailed information. Without those comments I would have had a hard time parsing it all. With that help, it was very easy to make the changes I desired.

    What I wanted to do was a little different that what you described, but your help was invaluable.

    I have modified the Titan basic home skin in the following ways:
    1) Clicking on the TV button (people sitting on couch) goes directly to the main TV screen, rather than the submenus on the main screen.
    2) I eliminated close/shutdown/restart actions from the main screen.


    1) To modify the Titan skin so that the basic home TV button (people sitting on a couch) goes directly to the TV screen, rather than the submenu, change:
    a. Basichome.xml.
    Change the xml for the control with the description "BasicHome TV". Change "<onclick>#(skin.setfocus(35,1000))</onclick>" to "<hyperlink>1</hyperlink>"
    The 1 is the ID of the window that you want to hyperlink to. In this case, 1 is ID of the window described in mytvhomeServer.xml
    2) To modify the Titan skin so that the close/shutdown/restart actions are eliminated from the main menu:
    a. Basichome.exitmenu.xml
    Remove the controls starting at the control with the description "exit menu" and remove through (including) the control with the description "Exit label".
     

    sleepycol

    Portal Pro
    June 2, 2006
    534
    37
    United Kingdom United Kingdom
    Country flag
    1) I want to eliminate the TV submenus. Hitting the TV button (people on a couch) should go directly to the TV home page (e.g the first submenu option, TV).

    You have to look for include.BasicHomeButton.movingpictures.xml in C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan.
    There you should replace <onclick>#(skin.setfocus(35,1100))</onclick> with <hyperlink>96742</hyperlink>

    If you wanna also get rid of the submenu indicator delete this part from the above mentioned xml:
    Code:
    <control>
    	  <description>submenu indicator</description>
    	  <id>0</id>
    	  <type>image</type>
    	  <posX>1818</posX>
    	  <posY>557</posY>
    	  <width>22</width>
    	  <height>20</height>
    	  <texture>basichome_submenu_indicator.png</texture>
    			<visible>![Control.IsVisible(100)|Control.IsVisible(2000)|Control.IsVisible(3000)|control.hasfocus(1000)|control.hasfocus(1001)|control.hasfocus(1002)|control.hasfocus(1003)|control.hasfocus(1004)|control.HasFocus(200) | control.HasFocus(300) | control.HasFocus(400) | control.HasFocus(500) | control.HasFocus(600) | control.HasFocus(700)]</visible>
    	  <animation effect="zoom" start="100,100" end="102,102" time="200" condition="control.hasfocus(4)">conditional</animation>
    		<animation effect="fade" time="250">WindowOpen</animation>
    		<animation effect="fade" time="150">WindowClose</animation>
    	</control>

    Works perfectly, so much cleaner looking now. Thank you!!!! I've been desperate to get rid of the sub menus for ages now.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Mr6686 [solved] Titan skin broken since update to 1.23 Installation, configuration support 6
    Y Titan Skin unter 1.23 nicht mehr so schön Allgemeines Supportforum 1
    S Titan tile label position MediaPortal 1 Talk 3
    zunixnuz TV Mini-EPG long text cropped on bottom side Titan Skin Feedback 0
    S Touchscreen skin? MediaPortal 1 Talk 5
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    V Skin With Menu Editor MediaPortal 1 Skins 13
    wizard123 New Skin Template ? MediaPortal 2 8
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    doskabouter Skin question Skins and Plugins Installer (MPEI) 1
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 5
    ajs [fixed] 4936 - Strange behavior of the font in the skin MediaPortal 1 35
    ajs [solved] 4935: Add string.replace function to Skin engine MediaPortal 1 10
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    T Skin Wechsel Installationsprobleme? 1
    JJDoherty Designing & implementing a new skin... Skins and Design 8
    D [fixed] Image browser crashing in Folder View (WMC skin) 2.2 Archive 10
    CyberSimian Do skin variables have global scope? MediaPortal 1 16
    N Skins to download separately MediaPortal 1 Talk 5
    P WMC Skin full screen/EPG Skins and Design 3
    Similar threads

























    Top Bottom