掲示板
Liferay 6.2 CE different meniu options for mobile devices
7年前 に JIna :) によって更新されました。
Liferay 6.2 CE different meniu options for mobile devices
New Member 投稿: 22 参加年月日: 13/10/16 最新の投稿
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
7年前 に Juan Gonzalez によって更新されました。
RE: Liferay 6.2 CE different meniu options for mobile devices
Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
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.
7年前 に JIna :) によって更新されました。
RE: Liferay 6.2 CE different meniu options for mobile devices
New Member 投稿: 22 参加年月日: 13/10/16 最新の投稿
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
7年前 に Juan Gonzalez によって更新されました。
RE: Liferay 6.2 CE different meniu options for mobile devices
Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿JIna :):
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