Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: [Tweak] PerPageHTML
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;...
-
01-24-2011, 02:29 PM #401
-
01-24-2011, 03:04 PM #402
You sir, are a -uhhm yeah-, great sir
-
01-24-2011, 03:17 PM #403
How do I move the clock down?
-
01-24-2011, 03:59 PM #404Theme Creator
- Join Date
- Jun 2009
- Location
- com.apple.springboard
- Posts
- 675
- Thanks
- 72
- Thanked 3,259 Times in 359 Posts
A couple things I should mention:
Images should be 320x480, or 640x960, and they will be 40/20px cut off from the top of the screen (unfortunately no fix).
DO NOT HAVE SPACES IN YOUR FOLDER NAME <-- should be fixed...
and souce code:
Code:NSDictionary *myDictionary = [[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/PerPage.plist"]; NSString *str1 = [myDictionary valueForKey:@"SpotLight"]; if(str1 && ![str1 isEqualToString:@"none"]){ if([[NSFileManager defaultManager] fileExistsAtPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Wallpaper.png", str1]]){ UIImageView *wallpaper1 = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)]; wallpaper1.image = [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Wallpaper.png", str1]]; [self addSubview:wallpaper1]; } if([[NSFileManager defaultManager] fileExistsAtPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Widget.html", str1]]){ UIWebDocumentView *docView1 = [[[UIWebDocumentView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)] autorelease]; [docView1 loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Widget.html", str1]]]]; [docView1 setBackgroundColor:[UIColor clearColor]]; [docView1 setDrawsBackground:NO]; [self addSubview:docView1]; } } for(int i = 1; i<=11; i++){ NSString *str = [myDictionary valueForKey:[NSString stringWithFormat:@"Page%d", i]]; if(str && ![str isEqualToString:@"none"]){ if([[NSFileManager defaultManager] fileExistsAtPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Wallpaper.png", str]]){ UIImageView *wallpaper = [[UIImageView alloc] initWithFrame:CGRectMake(i*320,0, 320, 480)]; wallpaper.image = [UIImage imageWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Wallpaper.png", str]]; [self addSubview:wallpaper]; } if([[NSFileManager defaultManager] fileExistsAtPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Widget.html", str]]){ UIWebDocumentView *docView = [[[UIWebDocumentView alloc] initWithFrame:CGRectMake(i*320, 0, 320, 480)] autorelease]; [docView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[NSString stringWithFormat:@"/var/mobile/Library/PerPageHTML/%@/Widget.html", str]]]]; [docView setBackgroundColor:[UIColor clearColor]]; [docView setDrawsBackground:NO]; [self addSubview:docView]; } } }
-
The Following 5 Users Say Thank You to wyndwarrior For This Useful Post:
Blue (01-24-2011), It's Mi (01-26-2011), JesseDegenerate (01-24-2011), lao3hero (01-24-2011), Lloyd Evil (01-25-2011)
-
01-24-2011, 04:20 PM #405
can someone PLEASE make a simple text clock for me!?for the top-left and when i say text i mean like this- fiveTHIRTEEN pm

-
01-24-2011, 04:51 PM #406Master Theme Creator (aka Bluemetal)
- Join Date
- Dec 2008
- Location
- Germany
- Posts
- 5,757
- Thanks
- 2,590
- Thanked 11,145 Times in 2,986 Posts
-
01-24-2011, 06:13 PM #407
I got the widget from this thread. A couple of days ago i downloaded PerPageHTML off here and included were 4 different widgets. Now OP seems to have updated his first page and has included two widgets with his PerPageHTML file. So i don't know what happened to the HTC Clock widget because the two widgets included were Calender and Analog Clock. So i'll wait for OP to answer, hope he resolve it.
Just a recap, my HTC widget is showing temperature in Fahrenheit and i like to set it to Celsius, and also get rid of the Hi/Lo thing.
-
01-24-2011, 06:38 PM #408
Hi dude, if i understand you directly, what it means is that if we were to specify different wallpaper folders ("Wallpaper1", "Wallpaper2"..."WallpaperN") and select different wallpaper folders for different pages of our springboard using PerPage, we will not be able to install widgets on different pages using PerPage.
The only workaround to have different wallpapers on each page using PerPage will be as follows:- Incorporate the desired wallpaper into the Widget.html for each widget & let the widget call out the wallpaper instead of using PerPage's capabilities
Please correct me if i'm wrong as i'm at work right now & i can't really test what i've juz asked.Last edited by rine5; 01-24-2011 at 06:59 PM.
-
01-24-2011, 07:34 PM #409
Just tried playing with this, so i went over to twitter, and went to there create a widget web app, which just generates a little html widget that will feed off your twitter in a number of different ways.
I just put that into a text file, named it widget.html, put that in a folder in with the other mods.
amazingly it does update, however you cannot scroll,
still a good quick spring board twitter if you want one.
Just thought i would share:
Twitter / Widgets <--- generates code
here's a screenshot:

here's my iphone photostream if you want to see how the rest of the phone is setup:
Flickr: jessedegenerate's Photostream
amazing work wynd.Last edited by JesseDegenerate; 01-24-2011 at 09:42 PM.
-
The Following 9 Users Say Thank You to JesseDegenerate For This Useful Post:
bignighttrain (01-27-2011), BR0MERZ (01-25-2011), holdemdogg (01-24-2011), Jdot1224 (02-26-2011), jsayz (01-25-2011), lao3hero (02-09-2011), LennyTheDub (01-25-2011), Lloyd Evil (01-25-2011), SnowLeo (01-24-2011)
-
01-24-2011, 08:33 PM #410
Can a moderator explain why all of Wynndwarriors tweaks do not automatically become stickies? Common seriously, these are essential new tweaks for theming here and need to be easily accessable as they unlock so much theming capbilities its insanity!
HOLY CRAP!!! DO YOU HAVE ANY IDEA HOW LONG I WANTED A FACEBOOK AND TWITTER WIDGET FOR MY IPHONE! Screw android! Finally! Can you please share this awesomeness? Can we get master tweaker wynnd to make it work? please?!?
Edit: tried out the site- awesomeness!! Great find! Any chance you know of a site that generates facebook widget code?Last edited by SnowLeo; 01-24-2011 at 08:33 PM. Reason: Automerged Doublepost
-
The Following 3 Users Say Thank You to SnowLeo For This Useful Post:
bignighttrain (01-27-2011), holdemdogg (01-24-2011), It's Mi (01-26-2011)
-
01-24-2011, 08:36 PM #411
Just a tip if you name a folder to put your widget in and it has two names say rss feed do not put the space in-between the words it will not recognize it so it needs to be like this instead rssfeed
Twitter it does work I created one to a little different and it works thanks for the tip
And yes I think these tweaks should be a sticky!!!!!
-
01-24-2011, 08:41 PM #412
what size did you make yours?
If you choose the "include scrollbar" option does it scroll?Last edited by SnowLeo; 01-24-2011 at 08:42 PM. Reason: Automerged Doublepost
-
01-24-2011, 08:53 PM #413
Full screen an I haven't tried scrolling yet and made the background transparent or add your own background it will be released with my iPhonyHTC theme here's my list of widgets for this
Working flipping flipclock
Fullscreen weather
Fullscreen calendar
Rss Feed
Fullscreen twitter
Analog clock
All included for free as soon as I release my theme maybe tomorrow night
Widgets will be separate so you can use them with any theme
-
-
01-24-2011, 09:02 PM #414
Last edited by JesseDegenerate; 01-24-2011 at 09:45 PM.
-
The Following User Says Thank You to JesseDegenerate For This Useful Post:
DA_GHOST (01-24-2011)
-
01-25-2011, 03:26 AM #415Master Theme Creator
- Join Date
- Feb 2010
- Location
- var/stash/Themes
- Posts
- 2,833
- Thanks
- 1,715
- Thanked 5,969 Times in 1,579 Posts
+ me on the sticky request...
-
The Following User Says Thank You to ALIEN1974 For This Useful Post:
bignighttrain (01-27-2011)
-
01-25-2011, 05:06 AM #416
I, having been new to modding, have even realized how important these tweaks that wynd has come out with to be an upgrade through themeing ideas.
+1 for sticky
-
01-25-2011, 06:30 AM #417
Loving all the widgets and the new options because of this amazing tweak!
I've been looking around hard the last day or two for a photo slideshow widget...anyone know where I can get one? Preferably one that takes up the top 2 rows of icons.
-
01-25-2011, 08:23 AM #418
Some kinda Facebook widget or rss feed would be cool if anyone smart could make one
-
01-25-2011, 08:39 AM #419
-
01-25-2011, 11:46 AM #420




LinkBack URL
About LinkBacks

Reply With Quote

give me thanks in my post, i still have to establish myself here:P