Disable Mobile Viewing on Certain URL's

dryabov
14 years, 1 month ago
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;
}
}
peterlacis
14 years, 1 month ago
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).
msminteractive
12 years, 4 months ago
I know this is an old topic, but was there ever and answer to this? I can't seem to figure it out. Thanks.
Netmeister
11 years, 10 months ago
I too would love to find a solution for this!
charlottewindow099
11 years, 1 month ago
I think look for a demo site...
Oh how to do that ....
2

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.