Welcome, Guest
Username Password: Remember me

Disable Mobile Viewing on Certain URL's
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Disable Mobile Viewing on Certain URL's

Re: Disable Mobile Viewing on Certain URL's 12 years, 11 months ago #4317

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
Spitfire wrote:
Any idea on how to get started or direction you can point me to to build this plugin?


You can use any of default MJ's plugin as an example. The code can be smth like
	function onDeviceDetection(&$MobileJoomla_Settings, &$MobileJoomla_Device)	{
switch($_SERVER['REQUEST_URI'])
{
case '/firsturl':
case '/secondurl':
//... $MobileJoomla_Device['markup'] = $markup;
}
}

Re: Disable Mobile Viewing on Certain URL's 12 years, 11 months ago #4338

  • peterlacis
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
dryabov wrote:
Seems the easiest way to do it is to make a plugin (of mobile group) that will choose desktop version for certain set of links.

But the best would be to optimize all the pages for mobile view.


I, too, need a solution like this. The idea is that until a mobile version of a complicated page can be created (one off), I need to force the mobile joomla nav to display the "standard" (i.e. full desktop) version of a page as well (including sub menus that are currently located within sidebar module positions on the page in question).

Re: Disable Mobile Viewing on Certain URL's 11 years, 2 months ago #13788

I know this is an old topic, but was there ever and answer to this? I can't seem to figure it out. Thanks.

Re: Disable Mobile Viewing on Certain URL's 10 years, 8 months ago #15635

  • Netmeister
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I too would love to find a solution for this!

Re: Disable Mobile Viewing on Certain URL's 9 years, 11 months ago #17391

I think look for a demo site...
Oh how to do that ....
  • Page:
  • 1
  • 2
Time to create page: 0.13 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.