Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: [Tweak] iWidgets
09-07-2012, 10:49 AM #801
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.
09-07-2012, 11:08 AM #802
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 #803
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.
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:
09-07-2012, 12:00 PM #806
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.
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 #808
09-08-2012, 08:42 AM #809
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
09-08-2012, 09:31 AM #811
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.
#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!
09-08-2012, 09:37 AM #812
09-08-2012, 09:40 AM #813Here to help if I can. If I can't I know someone who can!
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!!
09-08-2012, 09:44 AM #815
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 #816
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:
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
09-08-2012, 10:48 AM #818
09-08-2012, 10:50 AM #819
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)
I started it after helping loads of members out with Jailbreak issues and un lock issues and nobody ever said thanks LOL
Last 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:
09-08-2012, 10:59 AM #820
If I've helped you, please press my "Thanks" button.