[HOME] How to display weather forecast on focus?
#1
Question 
I don't how to make weather forecast show up on home screen, when you hover Weather in menu.

I have tried to look through other skins on how its done, but there too much code for me to look through (and a lot i don't understand, yet).


Any help is appreciated Nod


Cheers!
HTPC Streacom FC8 Evo, BIOSTAR Hi-Fi 3D Motherboard, Intel Core i5 4670T 2.3 GHz, 4GB Kingston HyperX, 500GB 7200 HDD, Streacom IRRC Remote
TV Sony Bravia 32" Full HD
Reply
#2
it depends on how your home menu is coded,
but basically you need to add a visible condition to your weather widget:
Code:
<visible>Container(5040).HasFocus(10)</visible>
where '5040' is your home menu list and '10' is the weather item in that list.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
ronie Wrote:it depends on how your home menu is coded,
but basically you need to add a visible condition to your weather widget:
Code:
<visible>Container(5040).HasFocus(10)</visible>
where '5040' is your home menu list and '10' is the weather item in that list.

Great, thanks. Is my weather widget MyWeather.xml? Laugh
HTPC Streacom FC8 Evo, BIOSTAR Hi-Fi 3D Motherboard, Intel Core i5 4670T 2.3 GHz, 4GB Kingston HyperX, 500GB 7200 HDD, Streacom IRRC Remote
TV Sony Bravia 32" Full HD
Reply
#4
doestergaard Wrote:Great, thanks. Is my weather widget MyWeather.xml? Laugh

nope, far from it.
MyWeather.xml is the weather screen.

if you want a weather widget on home, you'll have to code it in Home.xml
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
ronie Wrote:nope, far from it.
MyWeather.xml is the weather screen.

if you want a weather widget on home, you'll have to code it in Home.xml

Oh sure. Still learning Smile Thank you, i'll try it out!
HTPC Streacom FC8 Evo, BIOSTAR Hi-Fi 3D Motherboard, Intel Core i5 4670T 2.3 GHz, 4GB Kingston HyperX, 500GB 7200 HDD, Streacom IRRC Remote
TV Sony Bravia 32" Full HD
Reply
#6
It's working! Thank you so much! Big Grin
HTPC Streacom FC8 Evo, BIOSTAR Hi-Fi 3D Motherboard, Intel Core i5 4670T 2.3 GHz, 4GB Kingston HyperX, 500GB 7200 HDD, Streacom IRRC Remote
TV Sony Bravia 32" Full HD
Reply

Logout Mark Read Team Forum Stats Members Help
[HOME] How to display weather forecast on focus?0