Forums de discussion
Change to desktop version in mobile version
A G, modifié il y a 6 années.
Change to desktop version in mobile version
New Member Publications: 14 Date d'inscription: 01/02/17 Publications récentes
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.
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.
Irfan Aloha, modifié il y a 6 années.
RE: Change to desktop version in mobile version
New Member Publications: 5 Date d'inscription: 04/12/17 Publications récentes
How you can navigate to Descktop version from mobile? I am curious about it.
raji tamil, modifié il y a 5 années.
RE: Change to desktop version in mobile version
New Member Publications: 3 Date d'inscription: 16/06/18 Publications récentes
Thank you for the informative post.
Lee Jordan, modifié il y a 4 années.
RE: Change to desktop version in mobile version
Expert Publications: 449 Date d'inscription: 26/05/15 Publications récentes
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.