The GetDPI Photography Forum

Great to see you here. Join our insightful photographic forum today and start tapping into a huge wealth of photographic knowledge. Completing our simple registration process will allow you to gain access to exclusive content, add your own topics and posts, share your work and connect with other members through your own private inbox! And don’t forget to say hi!

iPhone friendly Blog

steflaurent974

Active member
I have just upgraded my Blog with this really cool patch on Pixelpost.

http://www.reallyjapan.com/blog/tutorials/iphone-friendly-pixelpost/

It will detect if the browser is an iPhone or a computer and choose the good template (the HOO template for the iPhone)

NB : if you are using Pixelpost and want to add this, beware of a little mistake in the code :

if (stristr($_SERVER['HTTP_USER_AGENT'], ‘iPhone’)) {
$template_dir=”hoo”;
}else{
$template_dir=$cfgrow['template'];
}

you should replace $template_dir="hoo" by $template_dir='hoo' and then it works.

Thanks to Emmanuel R. comment who correct this.

Feel free to browse and comment my blog on your iPhone by clicking on the lin below.

Merry Christmas to all of you !!!

Stephane.
 
Top