Open LockBackground.html with Text Edit/Texwrangler or Not pad
Scroll down to <head><title>weather</title></head>
A few lines under this you will see
var locale = "UKXX0085" that is my code for London
Replace with your code for your city which you can find at Yahooweather
Replace file back into theme and respring
Thanks Lex I thought that was the file but I just got my first mac and it wasn't working with TextEdit but did with Textwrangler.
I think I sent this modded weather widget to everyone who asked...if I missed you, pm me your email address
Here is my look for the weekend
![]()
![]()
Ok just a general question here since so many of you do these themes. Are most of these configured on your own or can you find them as a package. I don't mind tunneling into my phone but many of these just look... confusing. I'd love to have these calendar and weather widgets on my lock screen but I haven't the first clue on where you go about finding and configuring these.
Anyone have a 'Themes for Noobs' link maybe?
LEXS, I've got one question (something I've wondered about for a while).
I want to use this Springboard widget, but I want to be able to use my own wallpaper, yet keep the overlay with the box around the information. I know if I want to use my own wallpaper on the Lockscreen, I change
<div id="Layer"><img src="LockBackground.png" class="stretch"/></div>
to:
<div id="Layer"><img src="/private/var/mobile/Library/SpringBoard/LockBackground.jpg" class="stretch"/></div>
In the html file for this widget, I see:
<div id="Layer"><img src="Wallpaper.png" class="stretch"/></div>
What do I change this to so I can use my own Springboard wallpaper (and still keep the overlay?)
Thanks!
Ah ok, yeah I failed to ask if they were in fact used via Winterboard. Now I know. Thanks!Virtually all the download links/widgets/themes you see in this thread can be activated via Winterboard. All you need to do is copy them to your phone, select and then respring. Only thing you really need to edit are the weather codes/locations if the widget has one.
You can look at Macthemes for a lot of themes as well. Best advice is simply to look around and read threads. Pretty much the easiest way to learn.
Hey Lex, do you know how to change this widget to 12 hr format? thanks.
In the Widget.html file find this line and remove the "//" before the "currentHours..." so it it should appear like so:Hey Lex, do you know how to change this widget to 12 hr format? thanks.
// Convert the hours component to 12-hour format if needed
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
// Convert an hours component of "0" to "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
You have it correct. Do you have your pic in the main theme folder and labeled Wallpaper.png
Make sure you have these 2 scripts in the HTML
<div id="Layer"><img src="Wallpaper.png" class="stretch"/></div>
<div id="Layer"><img src="Overlay.png" class="stretch"/></div>
What i do as well (not sure if it applies to you or not) is if its labeled Wallpaper.html, i change it to Widget.html and it works the same after a respring
Any prob PM me the file and ill fix it for you
Thank you for the helpIn the Widget.html file find this line and remove the "//" before the "currentHours..." so it it should appear like so:
Code:// Convert the hours component to 12-hour format if needed currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours; // Convert an hours component of "0" to "12" currentHours = ( currentHours == 0 ) ? 12 : currentHours;
Thank you for the help
here is how mine looks now, thanks LEX for the widget.
![]()