Foren
Liferay 6.2 CE different meniu options for mobile devices
JIna :), geändert vor 7 Jahren.
Liferay 6.2 CE different meniu options for mobile devices
New Member Beiträge: 22 Beitrittsdatum: 16.10.13 Neueste Beiträge
Hi,
Some pages in our site are useful for PC users only and we want to hide them from menu. I noticed that Liferay 6.2. CE has those Mobile devices rules, but there is no default devices recognition library available. Is it just unfinished functionality or I should just download something from marketplace?
I would really appreciate any ideas how to hide/show (redirects are also ok) portal pages in navigation menu according device.
Thanks in advance
Some pages in our site are useful for PC users only and we want to hide them from menu. I noticed that Liferay 6.2. CE has those Mobile devices rules, but there is no default devices recognition library available. Is it just unfinished functionality or I should just download something from marketplace?
I would really appreciate any ideas how to hide/show (redirects are also ok) portal pages in navigation menu according device.
Thanks in advance
Juan Gonzalez, geändert vor 7 Jahren.
RE: Liferay 6.2 CE different meniu options for mobile devices
Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Jina.
You have two options:
1-Use Liferay's WURFL mobile device provider, existing here (take into account it's in 6.2.x branch):
https://github.com/liferay/liferay-plugins/tree/6.2.x/webs/wurfl-web
Just clone 6.2.x branch from liferay-plugins and deploy this plugin.
2- or find out some third- party available in Marketplace like this: https://web.liferay.com/marketplace/-/mp/application/70735109.
You have two options:
1-Use Liferay's WURFL mobile device provider, existing here (take into account it's in 6.2.x branch):
https://github.com/liferay/liferay-plugins/tree/6.2.x/webs/wurfl-web
Just clone 6.2.x branch from liferay-plugins and deploy this plugin.
2- or find out some third- party available in Marketplace like this: https://web.liferay.com/marketplace/-/mp/application/70735109.
JIna :), geändert vor 7 Jahren.
RE: Liferay 6.2 CE different meniu options for mobile devices
New Member Beiträge: 22 Beitrittsdatum: 16.10.13 Neueste Beiträge
Hi Juan,
Tried second option. It detects mobile browser but if device is a tablet or mobile for it is the same.
As about first option I wasn't able to make build myself. Maybe there is prebuild stable version? We are using Liferay 6.2 CE last realese.
Thanks in advance
Tried second option. It detects mobile browser but if device is a tablet or mobile for it is the same.
As about first option I wasn't able to make build myself. Maybe there is prebuild stable version? We are using Liferay 6.2 CE last realese.
Thanks in advance
Juan Gonzalez, geändert vor 7 Jahren.
RE: Liferay 6.2 CE different meniu options for mobile devices
Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste BeiträgeJIna :):
As about first option I wasn't able to make build myself. Maybe there is prebuild stable version? We are using Liferay 6.2 CE last realese.
Thanks in advance
I searched through Marketplace but seems it isn't there.
You should configure a 6.2 Plugins SDK, and then in the plugin directory just run "ant deploy" as said here. Before this, you should configure the SDK to point to your local server:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-2/deploying-plugins-to-a-local-portal-instance
In order to create a WAR to deploy remotely, try with
ant war
, and then your WAR file will be located in <PLUGINS_SDK>/dist