Fórum

Can we have a mobile only site using Liferay and redirect to mobile site?

thumbnail
Prakash Khanchandani, modificado 8 Anos atrás.

Can we have a mobile only site using Liferay and redirect to mobile site?

Expert Postagens: 329 Data de Entrada: 10/02/11 Postagens Recentes
I am not talking about being responsive.

I am talking about sites like http://m.something.com, which would have a desktop version like http://something.com. I am trying to build it as another Site (Group or Community) within the same instance as that of the desktop Site.

I know this is possible, but will it be possible to have minimum CSS and JS for mobile site? Should not be heavy like desktop site. What would be the minimum CSS and JS that would be required by Liferay to function correctly?

Also it should re-direct to the mobile site when the desktop version is accessed.

Thank you
Aravinth Raj Raju, modificado 8 Anos atrás.

RE: Can we have a mobile only site using Liferay and redirect to mobile sit

Junior Member Postagens: 27 Data de Entrada: 03/10/11 Postagens Recentes
Hi Prakash,

I hope, you can Mobile devices rule in Liferay to achieve your requirement.
https://dev.liferay.com/discover/portal/-/knowledge_base/6-2/displaying-site-pages-to-mobile-devices?notice=1

This works via user agent from requests. We can redirect to different page/site base on user devices.

Thanks,
Aravinth R
thumbnail
Prakash Khanchandani, modificado 8 Anos atrás.

RE: Can we have a mobile only site using Liferay and redirect to mobile sit

Expert Postagens: 329 Data de Entrada: 10/02/11 Postagens Recentes
Thanks Aravinth.

This would answer the redirection part, what about having minimal CSS or JS? Can we minimize that?