Posts: 3
Joined: Mar 2012
Reputation:
0
Hi There,
I'm trying to use your example of adding a BG image from two pages back and I'm not having much success.
Is there something I need to turn off in another part of the XML?
Please see code
- <!-- Foundation
-->
- <window id="0">
<defaultcontrol always="true">300</defaultcontrol>
<allowoverlay>yes</allowoverlay>
- <controls>
<include>GlobalBackground</include>
- <control type="wraplist" id="300">
<description>Home Wraplist</description>
<posx>0</posx>
<posy>108</posy>
<width>1920</width>
<height>846</height>
<onup>300</onup>
<ondown>300</ondown>
<onleft>300</onleft>
<onright>300</onright>
<focusposition>5</focusposition>
<scrolltime>200</scrolltime>
- <itemlayout width="540" height="75">
- <control type="label">
<posx>960</posx>
<height>75</height>
<width>375</width>
<font>Medium</font>
<info>ListItem.Label</info>
<align>center</align>
</control>
</itemlayout>
- <focusedlayout width="810" height="96">
- <control type="label">
<posx>960</posx>
<width>810</width>
<height>96</height>
<info>ListItem.Label</info>
<font>Home</font>
<textcolor>Blue</textcolor>
<align>center</align>
</control>
- <control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture background="true">$INFO[Container(300).ListItem.Icon]</texture>
<fadetime>600</fadetime>
</control>
</focusedlayout>
- <content>
- <item id="1">
<description>Programs</description>
<label>31002</label>
<icon>backgrounds/programs-1080.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
</item>
- <item id="2">
<description>Videos</description>
<label>31003</label>
<onclick>ActivateWindow(Video,Files)</onclick>
</item>
- <item id="3">
<description>Music</description>
<label>31004</label>
<onclick>ActivateWindow(Music)</onclick>
</item>
- <item id="4">
<description>Pictures</description>
<label>31005</label>
<onclick>ActivateWindow(Pictures)</onclick>
</item>
- <item id="5">
<description>Movies</description>
<label>31006</label>
<onclick>ActivateWindow(Video,movietitles)</onclick>
<visible>Library.HasContent(Movies)</visible>
</item>
- <item id="6">
<description>TV Shows</description>
<label>31007</label>
<onclick>ActivateWindow(Video,tvshowtitles)</onclick>
<visible>Library.HasContent(TVShows)</visible>
</item>
- <item id="7">
<description>Favourites</description>
<label>31008</label>
<onclick>ActivateWindow(Favourites)</onclick>
</item>
- <item id="8">
<description>Profiles</description>
<label>31009</label>
<onclick>ActivateWindow(Profiles)</onclick>
</item>
- <item id="9">
<description>Weather</description>
<label>31010</label>
<onclick>ActivateWindow(weather)</onclick>
</item>
- <item id="10">
<description>File manager</description>
<label>31011</label>
<onclick>ActivateWindow(filemanager)</onclick>
</item>
- <item id="11">
<description>Settings</description>
<label>31012</label>
<onclick>ActivateWindow(settings)</onclick>
</item>
- <item id="12">
<description>Shutdown</description>
<label>31013</label>
<onclick>ActivateWindow(shutdownmenu)</onclick>
</item>
- <item id="13">
<description>Play Disc</description>
<label>31014</label>
<onclick>PlayDVD</onclick>
<visible>System.HasMediadvd</visible>
</item>
</content>
</control>
- <control type="rss">
<description>RSS Feed</description>
<posx>0</posx>
<posy>1035</posy>
<width>1920</width>
<height>21</height>
<font>Small</font>
<urlset>1</urlset>
<titlecolor>Red</titlecolor>
<headlinecolor>White</headlinecolor>
<textcolor>White</textcolor>
</control>
</controls>
</window>
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
There aren't images in your items.
Posts: 3
Joined: Mar 2012
Reputation:
0
Is this not instructing it to use said image?
- <item id="1">
<description>Programs</description>
<label>31002</label>
<icon>backgrounds/programs-1080.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
Thanks
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
They're not scraped fanart image that's why they wont work unless you add the new image control.
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Copy your current Foundation folder somewhere safe and install a fresh one, then try copying your modified ones over one at a time (refreshing each time).
Hopefully you'll find the problem one.
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
The strings are found in skin.foundation\language\English\strings.xml
Posts: 63
Joined: Nov 2010
Reputation:
1
thanks for the quick response! that's great it was driving me crazy!
Posts: 737
Joined: May 2010
Reputation:
6
for some reason i cant for the life of me download Foundation Eden i have hitchers new repo and xbmc 11 with fresh installs on two computers is the repo down?? anyway where can i download this on the net could someone point me in the right direction i am sure i can find a copy but i have brain freeze ATM thanks.