Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Template design and Front-End Code (http://www.pixelpost.org/forum/forumdisplay.php?f=20)
-   -   New Template Hoo!, for iPhone user (http://www.pixelpost.org/forum/showthread.php?t=9847)

lushnis 11-15-2008 08:38 PM

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/

Smartphoner 11-15-2008 11:05 PM

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.

toots 11-19-2008 04:30 PM

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";

Scarabaeus 11-28-2008 04:47 PM

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

Smartphoner 12-03-2008 09:41 AM

Quote:

if(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) $cfgrow['template'] = "hoo";
Does not run ! The default template is loading on iPhone and not hoo....

Dennis 12-03-2008 10:30 AM

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.

mercator 12-04-2008 04:49 AM

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)?

witty 12-04-2008 04:41 PM

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

CyberGus 12-05-2008 02:32 AM

Thanks a lot!, now is working perfectly... I'm just adding some more CSS.

:)

mercator 12-19-2008 07:22 AM

Quote:

Originally Posted by mercator (Post 63531)
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)?

Trying again: Has anyone taken his/her iPhone and gone to to http://hoo.mixfog.com and looked at the way the overview page shows the categories? How does one do that? I only get the not-so-nice pulldown menu...

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.