How to make new rule (IS_TABLET) .

Mean we need the desktop version for the tablet and only mobiles with small screens took under the rule is_mobile

Comments

mhmd’s picture

Issue summary: View changes

explain

StuartDH’s picture

Title: tablet as modile rule » tablet as mobile rule
Issue summary: View changes
StuartDH’s picture

Using the Mobile Detect module you can choose tablet/mobile to select versions of panels for many different types of device.

For example, you could clone 2 extra versions of a homepage Landing Page/panel - i.e. Landing Page Tablet and Landing Page Mobile - put them in that to make things work properly.

Use selection rules for each version as:

Original landing page/panel - Mobile Detect: NOT (User is using a Mobile device.)
Tablet panel - Mobile Detect: User is using a Tablet device.
Mobile panel - Mobile Detect: User is using a Mobile device.

StuartDH’s picture

Using the Mobile Detect module you can add selection rules to panels for tablets and/or mobiles.

For example, clone 2 extra versions of a homepage Landing Page/panel - i.e. Landing Page Tablet and Landing Page Mobile.

Use selection rules for each variant of the panel:

Original landing page/panel - Mobile Detect: NOT (User is using a Mobile device.)
Tablet panel - Mobile Detect: User is using a Tablet device.
Mobile panel - Mobile Detect: User is using a Mobile device.

Jeff Burnz’s picture

Status: Active » Fixed

Marking as fixed, mobile detect is a good way to target device groups.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.