Different backgounds 1 per XML file (1 Viewer)

egandt

MP Donator
  • Premium Supporter
  • April 28, 2007
    45
    0
    48
    Is it possible to have many backgrounds, with 1 used on each plugin, or better yet each xml file, I ask because I'd like 1 bg for home, 1 for TV, 1 for music ..., normally it appears the background is only in 1 place the home.xml, I tried copying over that code to another xml, but it did not seem to take so I was either doing it wrong, or else I am missing something fundamental, about how skins work.

    Thanks,
    ERIC
     

    mirk

    Retired Team Member
  • Premium Supporter
  • June 2, 2006
    863
    64
    Växjö, Sweden
    Home Country
    Sweden Sweden
    Is it possible to have many backgrounds, with 1 used on each plugin, or better yet each xml file, I ask because I'd like 1 bg for home, 1 for TV, 1 for music ..., normally it appears the background is only in 1 place the home.xml, I tried copying over that code to another xml, but it did not seem to take so I was either doing it wrong, or else I am missing something fundamental, about how skins work.

    Thanks,
    ERIC

    No problems.

    Just add this to every XML file you want to change the background.
    Place it after the <controls> tag.
    And do not forget to delete the cache files placed in the "Cache" folder in the mediaportal root folder. If not no changes will apear.

    Code:
             <control>
    		<description>BG</description>
    		<type>image</type>
    		<id>1</id>
    		<posX>0</posX>
    		<posY>0</posY>
    		<width>[B]1280[/B]</width>
    		<height>[B]720[/B]</height>
    		<texture>[I][B]backgroundfilename[/B][/I].png</texture>
    	</control>

    Maybee you have to change the width and height so it will fitt you skin
     

    Users who are viewing this thread

    Top Bottom