开发者

Drupal6 - Mobile version issue

开发者 https://www.devze.com 2023-03-02 20:46 出处:网络
Hi Suppose I have menu A, menu B...Menu F in desktop version, I want to display only menu A and menu B in mobile version. The quickly way is us开发者_开发问答ing CSS with display:none, but is there an

Hi

Suppose I have menu A, menu B...Menu F in desktop version, I want to display only menu A and menu B in mobile version. The quickly way is us开发者_开发问答ing CSS with display:none, but is there any Drupal's API that I can use for this situation?

On the other hand, I want to redirect to http://xxx/product instead of http://xxx/index.php for home page in mobile version, any idea?

Thanks


You could use the mobile tools module to detect the device and switch themes accordingly. Each theme could then have a different menu configured to display.

0

精彩评论

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