|
#1
|
||||
|
||||
|
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/ |
|
#2
|
|||
|
|||
|
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.
__________________
My Photoblog: http://www.romankeller.ch |
|
#3
|
|||
|
|||
|
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";
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
Quote:
__________________
My Photoblog: http://www.romankeller.ch |
|
#6
|
||||
|
||||
|
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.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#7
|
|||
|
|||
|
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)?
|
|
#8
|
||||
|
||||
|
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 |
|
#9
|
||||
|
||||
|
Thanks a lot!, now is working perfectly... I'm just adding some more CSS.
|
|
#10
|
|||
|
|||
|
Quote:
Thanks for any hint, Mercator |
| Post Reply |
| Thread Tools | |
|
|