View Single Post
Old 08-07-2013, 08:39 AM  
Dankasaur
So Fucking Fossilized
 
Industry Role:
Join Date: Sep 2011
Posts: 1,432
I have made a default mobile template inside the default template folder so now if you open the demo page up in your phone, you should see it automatically switches to the mobile template (because one exists) without requiring you to maintain two separate sites or redirect to mobile subdomain or whatnot.

How this works is the system checks in your current template folder for a mobile folder, if that is found it uses those templates, otherwise it checks in the templates folder for a mobile folder and then uses that if it exists, otherwise just displays the default template.
Dankasaur is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote