Foros de discusión

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

thumbnail
Prakash Khanchandani, modificado hace 8 años.

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

Expert Mensajes: 329 Fecha de incorporación: 10/02/11 Mensajes recientes
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 hace 8 años.

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

Junior Member Mensajes: 27 Fecha de incorporación: 3/10/11 Mensajes recientes
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 hace 8 años.

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

Expert Mensajes: 329 Fecha de incorporación: 10/02/11 Mensajes recientes
Thanks Aravinth.

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