Theme - Titan Plus (5 Viewers)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    If you have seconds enabled in your Time Display, it will Overlap.
     

    tony3ridge

    MP Donator
  • Premium Supporter
  • June 1, 2012
    243
    85
    Home Country
    United Kingdom United Kingdom
    View attachment 124562This edit to common.time.xml for Titan shows a small weather icon in basic home. It allows support of World Weather Lite in addition to World Weather.



    Icons are adapted from Climacons, 75 climatically categorised pictographs for web and UI design by @adamwhitcroft.
    Visit the Climacons website for more information.
    I have installed common.time.xml and it works, but now have this error.....
    09-12-28.png
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Thats because of the date format I guess.
    <align>right</align> would be better.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    @tony3ridge I see now.

    Can you modify this part in common.time.xml

    Code:
    	<control>
    			  <description>Date</description>
    			  <id>0</id>
    			<type>label</type>
    			<posX>1845</posX>
    			<posY>96</posY>
    			<font>TitanLight12</font>
    			<textcolor>ffffff</textcolor>
    			<label>#date</label>
    			<align>right</align>
    			<visible>[[window.isvisible(35) | window.isvisible(0)] | [!window.isvisible(35) + !window.isvisible(0) + !window.isvisible(96742) + !window.isvisible(7111992)] | [window.isvisible(96742) + Control.IsVisible(50)] | [window.isvisible(96742) + Control.IsVisible(51)]] + !plugin.isenabled(World Weather Lite)|!plugin.isenabled(World Weather)</visible>
    			<animation effect="fade" time="250">WindowOpen</animation>
    			<animation effect="fade" time="250">WindowClose</animation>
    		  </control>

    Add ! in front of plugin.isenabled(World Weather) -> !plugin.isenabled(World Weather) in the visibility line.
    All people who use World Weather instead of World Weather Lite should see this problem.
     
    Last edited:

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    If you have seconds enabled in your Time Display, it will Overlap.

    Should be fixed now. I've moved the icon to the other side of the clock.

    @tony3ridge I see now.
    Add ! in front of plugin.isenabled(World Weather) -> !plugin.isenabled(World Weather) in the visibility line.
    All people who use World Weather instead of World Weather Lite should see this problem.

    I've fixed this now, there were a few other changes needed. I've also made it that if either worldweather or worldweather lite are disabled the standard layout is preserved.

    Updated first post.
     

    tony3ridge

    MP Donator
  • Premium Supporter
  • June 1, 2012
    243
    85
    Home Country
    United Kingdom United Kingdom
    If you have seconds enabled in your Time Display, it will Overlap.

    Should be fixed now. I've moved the icon to the other side of the clock.

    @tony3ridge I see now.
    Add ! in front of plugin.isenabled(World Weather) -> !plugin.isenabled(World Weather) in the visibility line.
    All people who use World Weather instead of World Weather Lite should see this problem.

    I've fixed this now, there were a few other changes needed. I've also made it that if either worldweather or worldweather lite are disabled the standard layout is preserved.

    Updated first post.
    Thanks very much,works perfectly:) :)
     

    Users who are viewing this thread

    Top Bottom