Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: [Tweak] iWidgets
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;Adding a removal feature was discussed with eldwin before. Not sure what he is doing about it. The way I mentioned worked. Once you rename and Respring you go back
...-
09-07-2012, 10:49 AM #801The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,447
- Thanks
- 29,694
- Thanked 34,572 Times in 6,574 Posts
Adding a removal feature was discussed with eldwin before. Not sure what he is doing about it.
The way I mentioned worked. Once you rename and Respring you go back and rename the widget to its original and add it again. It shows up in top left again.
You can always clear your cache after renaming as well which should remove the saved states of widgets that are inactive.
-
The Following User Says Thank You to The_Durben For This Useful Post:
The.Drifter (09-07-2012)
-
09-07-2012, 11:08 AM #802
Correct, readding it again will create a new instance and place it on the top.
But on my device, (I just tested it again ) the original one that was originally added and positioned then renamed/respringed/renamed back/respring was still there in its original position. You would have 2 instances now on your springboard, the original and the readded one.
So this behavior isnt happening on your device?
Just physically tested it again, but tried wiping the caches with iCleaner inbetween, the original still stays. What other cache cleaning program were you referring to?
-
09-07-2012, 11:23 AM #803The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,447
- Thanks
- 29,694
- Thanked 34,572 Times in 6,574 Posts
Just dont Respring after naming it back to the original
Rename it, Respring, it's gone. Rename it back then add it again.
It will then save the current state.
-
The Following User Says Thank You to The_Durben For This Useful Post:
The.Drifter (09-07-2012)
-
09-07-2012, 11:42 AM #804
Hey I'm an extreme noob lemme just start off by saying that. Can any please tell me how I a) find a widget pack I downloaded off cydia to move it into the iwidgets folder and b) how I unzip widgets and place them in the folder on my iPhone. Thanks in advance !
-
09-07-2012, 11:49 AM #805
-
The Following User Says Thank You to The.Drifter For This Useful Post:
The_Durben (09-07-2012)
-
09-07-2012, 12:00 PM #806wanna-be Themer/Modder
- Join Date
- Dec 2008
- Location
- In your Head
- Posts
- 1,048
- Thanks
- 1,421
- Thanked 3,999 Times in 796 Posts
if you downloaded via cydia then they should already be where they need to be! if zip file right click and extract all if its rar file can use something like 7zip then to add to device ya need something like ifunbox or winscp (Google) then move each folder to var/mobile/library
Edit: Thought I would help ya get started
7Zip Download 7-Zip
also iFile from cydia is useful
Last edited by jima6636; 09-07-2012 at 12:20 PM.


-
The Following 5 Users Say Thank You to jima6636 For This Useful Post:
elilab (09-23-2012), It's Mi (09-11-2012), King_O_Hill (09-10-2012), Lito1 (09-07-2012), The_Durben (09-07-2012)
-
09-07-2012, 02:51 PM #807
Why is my screen black when I got the iweather iwidget on and my iwidget on as well
-
09-07-2012, 07:35 PM #808wanna-be Themer/Modder
- Join Date
- Dec 2008
- Location
- In your Head
- Posts
- 1,048
- Thanks
- 1,421
- Thanked 3,999 Times in 796 Posts
-
09-08-2012, 08:42 AM #809Random Thanks Collector
- Join Date
- Mar 2008
- Location
- England (leeds)
- Posts
- 1,603
- Thanks
- 684
- Thanked 1,104 Times in 543 Posts
How do you make a widget into a iWidget ?
. I Am the Random Thanks Collector So Please Press the Thanks Button
-
09-08-2012, 09:00 AM #810
-
The Following 3 Users Say Thank You to schnedi For This Useful Post:
indyzzzz (10-20-2012), It's Mi (09-11-2012), King_O_Hill (09-10-2012)
-
09-08-2012, 09:31 AM #811Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,903
- Thanks
- 1,255
- Thanked 2,913 Times in 1,449 Posts
Schnedi's explanation is correct in every way but a little oversimplified.
After you've renamed the SB(SpringBoard)Widget's .html document from "Wallpaper.html" to "Widget.html" you have to deal with a few more things.
1) 95% of all SBWidgets have a background wallpaper that you'll have to get rid of. It's often an IMG Source reference early in the Wallpaper.html(renamed to Widget.html now) you have to get rid of.
Look for something like this:
//<img s rc="/var/mobile/springboard/ConvertedBackground................"> style="position: absolute; top: 0px; left: 0px; width: 320px; height: 480px; z-index: -20;">
..and get rid of everything between <img src= and the ">
DON'T GET rid of anything called: <img src="Style/Overlay.png"
You'll need that OVERLAY and sometimes UNDERLAY for the widget part you want to covert. You're just getting rid of the 'full page background' in this first step.
2) Then you need to move the OVERLAY and UNDERLAY (if there is an underlay) from where it is on the original SB Widget to as uppermost and leftmost as possible as if the corner of the overlay (rounded or squared were sitting at the top left of the screen. This takes some playing with but you can use negative numbers to achieve this.
For example if it looks like this:
<img src="Style/Overlay.png" style="position:absolute; top:301px; left:20px; width:320px; height:480px; z-index:-10;">
You could change the top:301px to top:0px and the left:20px to left:0px.
--NOW - that only works if the Overlay (main art behind the information of the widget) is separated out as its own image. If it's part of a larger dual layer document where there's a transparent part of image surrounding the overlay part that defines your widget - then you'll already see it sitting at Top:0 and Left:0... In that case you have to trick it a bit by using negative numbers.. as if you were sliding the page up and off the left part of the screen.. So top:-201px and left: -18px.. Then the main pic BEHIND the weather info now sits in the upper left.
THEN - the tedious part starts.. You have to subtract that same amount from the top and left values of all your style stuff in the Main.css file.
#city
#temp
#hi temp
#lo temp..... for ALL of them you'd have to subtract 201 from the top value and 18 from left value of EACH info tag (#......)
3) Then often, for GPS weather widgets, the reference to the MyLocation.txt file - its path needs to be changed in the Location.js script file - since an iWidget is located in a different path in the OS from Themes. If - in the first JQueryGet command in Location.js you see "file://......." - then you're good as is! But if you see a bunch of ".. /../../ ....." before "var" -- then you have to remove them all until you just see "/var ......."
4) Lastly just copy any Widget.plist, from any other iWidget you have, into the widget you're converting -- and then all you'll have to do is reset the height and width numbers to something that's a little larger than your actual widget to define its boundaries. Make sense?
That should get you going.Last edited by NewdestinyX; 09-11-2012 at 12:02 AM.
Here to help if I can.
If I can't - I know someone who can.
-
The Following 5 Users Say Thank You to NewdestinyX For This Useful Post:
dark.knight (09-08-2012), gavinr98 (09-10-2012), indyzzzz (10-20-2012), It's Mi (09-11-2012), mejemaka (09-10-2012)
-
09-08-2012, 09:37 AM #812My iPhone is a Part of Me
- Join Date
- Jul 2012
- Posts
- 756
- Thanks
- 1,037
- Thanked 2,900 Times in 568 Posts
-
09-08-2012, 09:40 AM #813Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,903
- Thanks
- 1,255
- Thanked 2,913 Times in 1,449 Posts
Here to help if I can.
If I can't - I know someone who can.
-
The Following 2 Users Say Thank You to NewdestinyX For This Useful Post:
dark.knight (09-08-2012), dwizurd (10-03-2012)
-
09-08-2012, 09:43 AM #814
but "play" with css it's too easy! you have to undersand the code to do a good widget! most of the widgets around have a lot of lines with useless code you should know what to delete, change or add.
move things, and change colors can be done by anyone
once you understand the code you can do almost whatever you want/imagine!!
-
The Following 7 Users Say Thank You to schnedi For This Useful Post:
dwizurd (10-03-2012), elilab (09-23-2012), It's Mi (09-11-2012), King_O_Hill (09-10-2012), M3RC_enary (09-11-2012), stratnik (09-09-2012), The.Drifter (09-08-2012)
-
09-08-2012, 09:44 AM #815My iPhone is a Part of Me
- Join Date
- Jul 2012
- Posts
- 756
- Thanks
- 1,037
- Thanked 2,900 Times in 568 Posts
Last edited by dark.knight; 09-08-2012 at 09:48 AM.
________________
If I've helped you, please press my "Thanks" button.
-
09-08-2012, 10:25 AM #816Not always right, but always confident
- Join Date
- Jan 2012
- Posts
- 3,903
- Thanks
- 1,255
- Thanked 2,913 Times in 1,449 Posts
Well -yes. But the vast majority of people don't have time to learn code. They just want to make their widgets look a little different - which can be done without cleaning up any code.. That's for sure. LOL!

Yeah. Most of us don't need to learn to 'create' code. We just want to change some colors. And now with iWidget - it's so easy to convert most SB widgets - I think many 'intermediate modders' will prefer iWidgets over regular widgets. I'm surprised it took so long for this thread to really catch on. This is a really old thread actually that just recently got revitalized when I started asking questions too. :-) Now I have more iWidgets than regular widgets. And I have SOOOO many more options.
Now I just wish our master modders were interested in more widgets than just weather ones. We need artistically done info widgets for facebook, news, calendar events, etc.. So many more. Weather widgets dominate these threads. There's more to the way we do life with our phones than weather. ;-)
-
The Following User Says Thank You to NewdestinyX For This Useful Post:
dark.knight (09-08-2012)
-
09-08-2012, 10:36 AM #817
yes, but then they are asking hey "Moder's name" can you move this there? and put this here? and make some code for me?
sometimes i recieve PMs saying: hey schnedi, i really love your work (say it just when gonna ask you a favor) can you make me a widget? i want this, this and this. i'll appreciate it. tia
it's like. WTF? i don't ask you anything, just to hit the thanks button when i share anything, you don't thank me and then ask me to make a widget just for you? Modders make things for themselves and share! if you want it's ok and if you don't like do it yourself
and i'm sure that happens to all modders! i don't even answer
-
The Following 5 Users Say Thank You to schnedi For This Useful Post:
dwizurd (10-03-2012), elilab (09-23-2012), It's Mi (09-11-2012), King_O_Hill (09-10-2012), The.Drifter (09-08-2012)
-
09-08-2012, 10:48 AM #818My iPhone is a Part of Me
- Join Date
- Jul 2012
- Posts
- 756
- Thanks
- 1,037
- Thanked 2,900 Times in 568 Posts
-
The Following 3 Users Say Thank You to dark.knight For This Useful Post:
elilab (09-23-2012), King_O_Hill (09-10-2012), The.Drifter (09-08-2012)
-
09-08-2012, 10:50 AM #819Random Thanks Collector
- Join Date
- Mar 2008
- Location
- England (leeds)
- Posts
- 1,603
- Thanks
- 684
- Thanked 1,104 Times in 543 Posts
And this is why I ask. Surly it's more satisfying making some thing for yourself. There is lots and lots of widgets out there and if we can learn how to code our own, we can make what we want. And like I said something made by your own hand has got to be satisfying. Rather than just putting your finger on the screen and hey presto you have an amazing tweak.
I am sure that I will never be as talented as you guys, and I am sure I will have lots more questions, but if you don't ask you don't learn.
I assume that the same theory works with lockscreen widgets too ?
And all codes I have ever altered I have done on iFile, so if I was to do this on a PC would I just open the HTML and the strings in note book. Or can somebody recommend something else (this may be a stupid question but I don't care LOL)
Thanks
And this is why. A year ago I started a thanks party thread, it's now closed but it's a funny read if you ever get time. And it will explain why I am the random thanks collector.
I started it after helping loads of members out with Jailbreak issues and un lock issues and nobody ever said thanks LOLLast edited by Richard; 09-08-2012 at 10:53 AM.
. I Am the Random Thanks Collector So Please Press the Thanks Button
-
The Following User Says Thank You to Richard For This Useful Post:
King_O_Hill (09-10-2012)
-
09-08-2012, 10:59 AM #820My iPhone is a Part of Me
- Join Date
- Jul 2012
- Posts
- 756
- Thanks
- 1,037
- Thanked 2,900 Times in 568 Posts
LOL i know what u talking about...modders like schnedi.max pa1n,Durben,Chevy,dacal,metaserph,mone,MAMAjay. and many more...deserve more than thanks because of their awesome work but unfortunately most of the users do not even press the thanks button or write few words to admire their work...
________________
If I've helped you, please press my "Thanks" button.
-
The Following 3 Users Say Thank You to dark.knight For This Useful Post:
King_O_Hill (09-10-2012), The.Drifter (09-08-2012), Wildfowler (09-10-2012)
LinkBacks (?)
-
04-20-2013, 12:34 AM
-
04-15-2013, 10:39 AM
-
04-08-2013, 06:20 AM
-
&#63743;iDevice help us&#63743;: Add HTML Widgets to the Home Screen With 'iWidgets'
Refback This thread10-29-2012, 07:45 AM




LinkBack URL
About LinkBacks
Reply With Quote
That extra respring is what was throwing me off. I was having it re-appear after I renamed it back and resprung.
