Results 1 to 5 of 5

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Need Help with slight mod to Toyans G.O.C theme

  1. #1
    Default Need Help with slight mod to Toyans G.O.C theme
    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; 08-02-2012 at 08:12 PM. Reason: spell mistakes

  2. #2
    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.
    I will no longer be very active here anymore due to a variety of reasons.

  3. #3
    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.

  4. #4
    Default All Figured Out
    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.

  5. #5
    That's really clever. I never really thought you could do that! Nice find
    I will no longer be very active here anymore due to a variety of reasons.

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