We use panels for our home page. We would like these panels to not appear at all if the user is on a mobile device. I was glad to see Selection rules added for Panels by Mobile Tools, but either they aren't working or I'm not using them correctly.
I added a variant with basically a blank page (added some text so I could see it) and set the selection rule to mobile browsers. This blank page does not show when I check the panel page on a simulated mobile browser. I added a selection rule to show the variant if the user role is anonymous(mobile), authenticated(mobile), or admin(mobile). The variant still won't appear. I added a selection role to the original panel page to only show if user role is anything but one of the (mobile) roles. It still shows up on the mobile site.
Could we have a selection rule added to only show a panel for non-mobile browsers?
Comments
Comment #1
twom commentedHi,
There was a bug with the panels integration. Currently you should be able to use a selection rule. I also added the choice for a general mobile device.
Let me know if this works for you.
Tom
Comment #2
twom commentedComment #3
elly commentedWhere is the bugfix implemented? In the development snapshot or the current release? I am having the same problem - mobile tools panel selection rules are not working.
Comment #4
elly commentedThanks - I installed the dev snapshot and now selection rules for mobile in panels are working for me.
Comment #5
joachim commentedCould the module maintainer please consider making a new release with this fix?
Comment #6
twom commentedRelease has been made. Closing this issue.