Foren

Change to desktop version in mobile version

A G, geändert vor 6 Jahren.

Change to desktop version in mobile version

New Member Beiträge: 14 Beitrittsdatum: 01.02.17 Neueste Beiträge
Hi,
I am using Liferay 7 GA4 CE. I have two different sites, one for the desktop version(which is also responsive) and another for the mobile devices. I use mobile device rules to redirect users to mobile version when they are visiting the page through a mobile or a tablet, but i also need a button in the mobile site to redirect them to desktop site.
The problem is that I can´t find the way to do that, since the rule I defined, avoid accesing desktop site because always makes the redirection to the mobile site.

Do you know if there is a way to solve this? I am completely lost.

Thanks in advance.
thumbnail
Irfan Aloha, geändert vor 6 Jahren.

RE: Change to desktop version in mobile version

New Member Beiträge: 5 Beitrittsdatum: 04.12.17 Neueste Beiträge
How you can navigate to Descktop version from mobile? I am curious about it.
raji tamil, geändert vor 5 Jahren.

RE: Change to desktop version in mobile version

New Member Beiträge: 3 Beitrittsdatum: 16.06.18 Neueste Beiträge
Thank you for the informative post.
Lee Jordan, geändert vor 4 Jahren.

RE: Change to desktop version in mobile version

Expert Beiträge: 449 Beitrittsdatum: 26.05.15 Neueste Beiträge
In theme detect device and then window.location.href to the relevant url. In the footer add a jQuery toggle button to switch between the two sites.