Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:56:38 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Mobile Device Website  (Read 711 times)
Tez Oner

Offline Offline

Posts: 50



WWW
« on: February 06, 2012, 10:25:29 PM »

Eeey,

a new Mobile website on the Website Baker CMS and the
VA WB Template Framework 3.0 the can be added on a iPhone
to the Homescreen as a Webapp!

The pages use the MobileDevices 2 Scheme which is included in
the Premium version of the Template Framework.

Check mdemo.vanallerlei.c om or demosite.vanallerle i.com
(the device is automaticly detected by platform and browser).

Cheers,

Tez
Logged

Tez | vanAllerlei
--------------------------------
Media • Design • Strategy
easyuser

Offline Offline

Posts: 56


« Reply #1 on: February 06, 2012, 10:36:31 PM »

Does not work with android browser. Does not matter witch of both sites.  It says "too much server redirects". Browser works good on other sites e.g. this Text here written.
Android 2.3.5 @ sgs2.
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #2 on: February 06, 2012, 10:56:51 PM »

Same (android) problem here.

There is a great FF tool for testing this: http://chrispederick.com/work/user-agent-switcher/
A pretty good list of useragents are found here: http://techpatterns.com/forums/about304.html
With this tool you can test mobile sites using firefox.
 
Logged

Professional WebsiteBaker Solutions
Tez Oner

Offline Offline

Posts: 50



WWW
« Reply #3 on: February 07, 2012, 02:25:55 PM »

Thanks for the comments...

At the moment it's optimized for iOS 3 and 4, it should detect Android
but as a Mac-user I have a iPhone myself Wink gonna work on the
Android... tho it's mainly webkit... but the jQuery-mobile framework
especially the 'page-preload'-function loads pages a few times...

Cheers,

Tez
Logged

Tez | vanAllerlei
--------------------------------
Media • Design • Strategy
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #4 on: February 07, 2012, 02:59:04 PM »

The problem is not on jQuery or webkit level.
There is somekind of roundtrip in redirecting between the two websites.

(See screenshot)
Logged

Professional WebsiteBaker Solutions
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #5 on: February 13, 2012, 03:43:49 PM »

i've never had this kind of foreverredirect with my mobile detector, at witch level do you detect? and how do you implement the templates?
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Tez Oner

Offline Offline

Posts: 50



WWW
« Reply #6 on: February 15, 2012, 12:29:39 AM »

Eey,

thanx for the replies... esspecially the Andriod issue... it should be fixed now!
The issue was; 1 - a redirect on browser-platform e.g. iPhone, Android etc...
to detect mobile-devices and 2nd; a redirect that detects the system-platform
e.g. Mac, Linux and Windows for the proper CSS-files.

And as Android is both Android-browser and Linux-system... it kept redirecting
between the regular and mobile website...

Used a code like this, should be better by now:

Code:
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod')
{
$browser = 'mobileDevice';
}

Check out the VA Template Framework for an implementation of this script!
http://demosite.vanallerlei.com/pages/en-us/downloads.php

Cheerz,

Tez

Logged

Tez | vanAllerlei
--------------------------------
Media • Design • Strategy
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #7 on: February 15, 2012, 12:55:44 AM »

you should check the detector on my mobile template:
http://www.websitebaker2.org/forum/index.php/topic,20946.0.html
more "thorought"

but it's not the latest version

i've now a platforme detector that can give "wap" "mobile touch" "html4" and "html5" different templates.
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!