Feature request

Search
Other Pre-Sale questions
Forum

Feature request

sky's Avatar sky
Hi

would you consider adding below feature into adv module manager?

My use case is to show module based on in-app browser detection like in-app browser of Facebook, Wechat, messenger
when opening joomla page inside these social app's in-app browser, module will be shown only.

stackoverflow.com/questions/70068438/det...ebook-in-app-browser
gist.github.com/pokka/40d13863bed948b7739d38f8197f4e14
stackoverflow.com/questions/32338353/det...n-app-browser-on-ios
Peter van Westen's Avatar Peter van Westen ADMIN
That won't be added as ready-to-use separate condition rule.

But you can use the PHP rule for that:
docs4.regularlabs.com/advancedmodulemana...ustom-php-conditions

Assuming you are on Joomla 4, you could do something like:
$agent = (new \RegularLabs\Library\MobileDetect)->getUserAgent();

return strpos($agent, 'FBAN') > -1;
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in