Hi,
can anyone tells how Mobile page layout works? Which techinch uses to recognize the mobile device / os.
Tnx
Hi,
can anyone tells how Mobile page layout works? Which techinch uses to recognize the mobile device / os.
Tnx
Web design agency - EDsolution.si Izdelava spletnih strani
It's done by detecting the user agent:
\system\modules\core\library\Contao\Environment.ph p
https://github.com/contao/core/blob/...nment.php#L498
\system\config\agents.php
https://github.com/contao/core/blob/...fig/agents.php
If mobile, then the mobile layout gets used if available. You also can see the class "mobile" in the BODY tag.
Last edited by Andreas; 05/30/2016 at 03:05.
Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
Amazon wishlist
Bookmarks