Drupal 7 开发内部培训资料, 分头诗人

手机客户端访问drupal7的方案?

赞成!
0
否决!

某个web应用,既要能在pc中打开,也要能在各种手机客户端打开,调取同一数据库,只是theme不同,请问如何做呢?

我先前在网上找到mobile_theme模块 + mobile 主题,但是根据操作步骤下载"设备检测程序“时要收费

Alternative detection methods

    Browscap
        Install the Browscap Drupal module.
        Select Browscap in the Appearance settings.
    Mobile Device Detect
        Visit http://detectmobilebrowsers.mobi.
        Download the code and extract it to the Mobile Theme module directory.
        You should end up with sites/all/modules/mobile_theme/mobile_device_detect.php.
        It is recommended you upgrade if on a commercial site.
        Select Mobile Device Detect in the Appearance settings.

请问大家有更合适的解决方案吗?

2 个回答

赞成!
0
否决!

用bootstrap 做响应式网站就好了。

赞成!
0
否决!

谢谢飞翔,请问是用这个东东么?http://www.bootcss.com/scaffolding.html#responsive