Foren

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

thumbnail
Prakash Khanchandani, geändert vor 8 Jahren.

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

Expert Beiträge: 329 Beitrittsdatum: 10.02.11 Neueste Beiträge
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, geändert vor 8 Jahren.

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

Junior Member Beiträge: 27 Beitrittsdatum: 03.10.11 Neueste Beiträge
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, geändert vor 8 Jahren.

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

Expert Beiträge: 329 Beitrittsdatum: 10.02.11 Neueste Beiträge
Thanks Aravinth.

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