开发者

How to use mobile layouts in PyroCMS

I'm trying to use mobile layouts so that PyroCMS will choose the correct layout automatically if the user is visiting with a mobile device.

I have my MyTheme/views/web and MyTheme/views/mobile.

The web views get loaded as they should, the mobile views however do not. When I use an android or iphone simulator I don't get the mobile-views, I just get the web-views.

why? is ther开发者_如何学Goe something I have to enable, or is there somewhere I can go to perhaps get an error message and see why?


mobile safari was not added to mobile user agents, that was why it wasn't registered

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜