Hallo Contao-Fans,
wenn ich das richtig verstanden habe, kann ich im Be einstellen, ob ein dektop- oder mobiles Layout verwendet werden soll. Die Unterscheidung wird durch die agents.php vorgenommen.
Das Ipad wird nicht als mobile erkannt, hingegen das Iphone und der Ipod schon. Soweit ok. Aber bei Android gilt es grundsätzlich als mobile, egal ob Tablet oder Phone? Warum wird hier nichtPHP-Code:$GLOBALS['TL_CONFIG']['os'] = array
(
'Macintosh' => array('os'=>'mac', 'mobile'=>false),
'Windows CE' => array('os'=>'win-ce', 'mobile'=>true),
'Windows Phone' => array('os'=>'win-ce', 'mobile'=>true),
'Windows' => array('os'=>'win', 'mobile'=>false),
'iPad' => array('os'=>'ios', 'mobile'=>false),
'iPhone' => array('os'=>'ios', 'mobile'=>true),
'iPod' => array('os'=>'ios', 'mobile'=>true),
'Android' => array('os'=>'android', 'mobile'=>true),
'BB10' => array('os'=>'blackberry', 'mobile'=>true),
'Blackberry' => array('os'=>'blackberry', 'mobile'=>true),
'Symbian' => array('os'=>'symbian', 'mobile'=>true),
'WebOS' => array('os'=>'webos', 'mobile'=>true),
'Linux' => array('os'=>'unix', 'mobile'=>false),
'FreeBSD' => array('os'=>'unix', 'mobile'=>false),
'OpenBSD' => array('os'=>'unix', 'mobile'=>false),
'NetBSD' => array('os'=>'unix', 'mobile'=>false),
);
unterschieden?
Grüße,
varix

Zitieren

