MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Skins


Skins You are working on a new Skin? Post it here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-05-02, 19:47   #1 (permalink)
Portal Member
 
Join Date: Apr 2007
Age: 32
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts


Default Different backgounds 1 per XML file

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
egandt is offline   Reply With Quote
Old 2007-05-02, 21:44   #2 (permalink)
Portal Designer
 
mirk's Avatar
 
Join Date: Jun 2006
Location: Växjö, Sweden
Age: 25
Posts: 845
Thanks: 42
Thanked 58 Times in 20 Posts

Country:

My System

Default

Quote:
Originally Posted by egandt View Post
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>1280</width>
		<height>720</height>
		<texture>backgroundfilename.png</texture>
	</control>
Maybee you have to change the width and height so it will fitt you skin
__________________
Download SpinSafe skins | TVSeries Logos | Swedish TV logos
Found a bug in one of the SpinSafe skins? Why not add it to the SpinSafe bugtracker...

Last edited by mirk; 2007-05-02 at 21:46.
mirk is offline   Reply With Quote
Reply

Bookmarks

Tags
backgounds, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XML file instead of registry? Oceanwatcher Support 4 2007-04-27 17:18
Help editing the xml file icefeniks Installation, configuration support 8 2007-03-17 04:48
EPG with only an xml file sugaraspa WebEPG 2 2006-11-17 20:12
File CaptureCardDefinitions.xml ccason General Support 2 2006-11-02 12:34
Which XML file CodeMonkey Skins 2 2005-05-09 19:27


All times are GMT +1. The time now is 08:44.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress