1. turk1664's Avatar
    I have this theme and I am extremely happy with it. My problem is that I come from a small country town that does not have a Yahoo weather code. I use the one for the nearest larger town. So i get the name of that town on my wallpaper, not mine. This may sound pedantic but in the widget for the app i can find the line to increase the font of this town but cannot replace it with my own. What I would dearly love to do is keep the weather code for the town but change the name that is displayed, or alternatively make it invisible with a clear font color.

    Any help is appreciated.

    PS. its Toyvans
    Last edited by turk1664; 2012-08-03 at 05:12 AM. Reason: spell mistakes
    2012-08-03 05:05 AM
  2. H4CK3R's Avatar
    I don't really think this is possible since it's using Yahoo weather codes, therefore it's fetching it from Yahoo's servers. I honestly don't think you could change it.

    Someone correct me if I'm wrong, this is just my stance on it.
    2012-08-03 02:56 PM
  3. turk1664's Avatar
    I thought I may be able to mod the font to 'clear' or something that will not show up., as a last resort if I can't change the name. I have found the line in the widget to adjust font size & color.
    2012-08-04 01:51 AM
  4. turk1664's Avatar
    Thanks H4CK3R for the response, Something in my head just thought it must be able to be done. I am completely virginal with this stuff.
    However found this string in the weather widget...
    /*末末末末末末末末末末-末末末---------------------------------------末末末末-末末末末末末末末末末*/
    function dealWithWeather(obj){
    if (obj.error == false){
    document.getElementById("city").innerText=obj.city;
    document.getElementById("desc").innerText=obj.desc ription.toLowerCase();
    if(useRealFeel == true){
    tempValue = convertTemp(obj.realFeel);
    }else{
    tempValue = convertTemp(obj.temp)
    }
    document.getElementById("temp").innerText=tempValu e+"ツコ";
    document.getElementById("weatherIcon").src="IconSe ts/"+iconSet+"/"+MiniIcons[obj.icon]+iconExt;
    document.getElementById("WeatherContainer").classN ame = "";
    }else{
    document.getElementById("WeatherContainer").classN ame = "errorWeatherDataFetch";
    }
    }
    /*末末末末末末末末末末-末末末---------------------------------------末末末末-末末末末末末末末末末*/

    Mucked about a bit and then simply put my home town name in brackets to replace obj.city
    and all is good with the world. I now have my own town name proudly displayed instead of the other.

    Thanks for showing an interest and have posted back incase this helps anybody else.
    2012-08-04 10:33 AM
  5. H4CK3R's Avatar
    That's really clever. I never really thought you could do that! Nice find
    2012-08-04 02:38 PM
LINK TO POST COPIED TO CLIPBOARD
We have updated our Privacy Policy and Terms & Conditions. Please check them out.