How to hide module from source code?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Sep 25, 2014 11:02 am
Reply with quote
Report this post
I need to hide module for mobile and tablet and show some modules only for mobile or tablet.

nomobile, notablet, onlymobile, onlytablet won't hide modules from the source code.

I use Google AdSense and it allows to use 3 ads/page. CSS won't solve this. Is there any solutions?
User avatar
Fresh Boarder

GK User
Thu Sep 25, 2014 11:27 am
Reply with quote
Report this post
Hello,

As far as I know, there is no easy solution, because it would need a device detection based on the user-agent not the resolution - it should be done on the PHP code-level.

You can try to search on joomla extensions directory some plugins for it.
User avatar
Administrator

GK User
Thu Sep 25, 2014 4:48 pm
Reply with quote
Report this post
Thank you for quick reply.

I tested this plugin http://extensions.joomla.org/extensions ... play/21806
and it seems to work correctly with iPhone and iPad.
User avatar
Fresh Boarder


cron