![]() |
New Template Hoo!, for iPhone user
I just uploaded a new template named "Hoo!", now you can make your photoblog iPhone-friendly.
Here is it: http://www.pixelpost.org/extend/temp...te-for-iphone/ |
Nice ! but how can I make the Iphone uses the theme automaticly when another theme is active ? I cant use this theme for PC Users. And please limit the thumbnails on the browse page to 12 or so.
|
A quick and dirty way to do that is to add the following line somewhere in the index.php :
Code:
if(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) $cfgrow['template'] = "hoo"; |
Really nice template, I've had a go at playing around with it. My version's not Phone compatible but I'd love to know people opinions?
www.scarabaeus.co.uk |
Quote:
|
Make sure you put this line after the initial loading of $cfgrow. If you put it to early the variable is overwritten by the original contents. This is why you see the default template.
|
This is a great tepplate! One question: How do I get the nice menus I see when browsing using the iphone at hoo.mixfrog.com? The ones that list the categories one by one by one vertically (but not using a pulldown but all of them visible at the same time so I can click on one and then it opens the thumbs in that category)?
|
Hi,
Works great. I added the code to my index.php file on line 115... which will likely vary slightly from person to person. I put it right before the line that reads: Code:
if ($cfgrow['markdown'] == 'T') {-Witty |
Thanks a lot!, now is working perfectly... I'm just adding some more CSS.
:) |
Quote:
Thanks for any hint, Mercator |
| All times are GMT. The time now is 03:13 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.