2

可以在 Liferay 中创建登录页面吗?如果是这样,在哪个版本?如何?

4

2 回答 2

5

这可以通过以下方式实现:

  1. 制作一个页面(只是一个普通的 liferay 页面)并记住友好的 url。
  2. 根据您的情况设置适当的权限
  3. 转到控制面板
  4. 在门户部分 - 单击门户设置
  5. 您可以在导航部分下设置友好网址(位于屏幕中央)

在此处输入图像描述

这些步骤适用于 Liferay 6.1.0 CE。

于 2012-05-08T14:57:18.527 回答
1

从版本 5 开始修改 liferay 以使用登录页面。您也可以使用属性文件进行设置。在 webapp/ROOT/WEB-INF/classes 文件夹中创建(如果您之前没有这样做过)portal-ext.properties 文件,并根据您修改这些行。

##
## Default Landing Page
##

#
# Set the default landing page path for logged in users relative to the
# server path. This is the page users are automatically redirected to after
# logging in. For example, if you want the default landing page to be
# http://localhost:8080/web/guest/login, set this to /web/guest/login. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLandingPageAction in
# the "login.events.post" property above.
#
default.landing.page.path=
#default.landing.page.path=/web/guest/login
于 2012-05-11T11:20:09.477 回答