Welcome, Guest
Username Password: Remember me

disable content plugin for mobile only
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: disable content plugin for mobile only

disable content plugin for mobile only 14 years, 4 months ago #378

is it possible to not to load the content plugins in the mobile version of joomla using MJ? I've few plugins like share / fb etc which I want to keep only for web and not on mobile.

please help.

disable content plugin for mobile only 14 years, 4 months ago #1841

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
The easiest way is to add check for "mobileness" in these plugins:
if(defined('_MJ')) return;

Re: disable content plugin for mobile only 13 years, 5 months ago #4608

  • kjmeijer
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Where to use this line?
  • Page:
  • 1
Time to create page: 0.09 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.