我是Liferay的新手我创建了两个UserGroups
- Grp1(用户a1,b1,c1)和Grp2(用户a2,b2,c2)。
Groupwise创建了一些公共和私人页面,它们将Grp1任务与Grp2区分开来。
当我通过用户说a2登录时,默认情况下会查看liferay的公共页面,并且在转到用户的(a2)公共和私人页面可用。
无法登录本身用户查看公共和私人页面而不是liferay的默认页面?
GROUP LEVEL
和USER LEVEL
如何公开&私人页面不同?我在公共和私人的组级别(Grp2)创建了页面,所有页面都对a2,b2,c2可见。在添加页面(a2)时,它表现为私有页面,只有a2可以查看它。
答案 0 :(得分:2)
我希望用户a2,b2,c2拥有自己的私人网页,只有他们才能查看。
GO TO
http://localhost/user/a2/home
菜单中看到该内容
将用户添加到liferay时,将自动创建这些页面。您可以通过修改portal.properties
中的以下属性来控制这些页面的创建:
layout.user.private.layouts.enabled=true
layout.user.private.layouts.auto.create=true
您还可以查看portal.properties
中的Default User Private Layouts部分,了解更多信息。
登录时无法查看用户的公共和私人页面,而不是liferay的默认页面?
login.events.post
,并在DefaultLandingPageAction
行中添加CustomLandingPageAction
类。GROUP LEVEL和USER LEVEL如何公开&私人页面不同?
请参阅Liferay用户指南中的User Group Sites部分,该部分的相关摘录:
Liferay allows users to each have a personal site consisting of public and
private pages. Permissions can be granted to allow users to customize their
personal sites at will. Originally, the default configuration of those pages
could only be determined by the portal administrator through the
portal-ext.properties file and, optionally, by providing the configuration in
a LAR file. You can still configure it like this but it isn’t very flexible or
easy to use.
By using User Group Sites, portal administrators can add pages to the personal
sites of all the users who belong to the site in an easy and centralized way.
All the user group site’s public pages are shown as part of the user’s public
personal site. All the user group site’s private pages are shown as part of the
user’s private site. If a user belongs to several user groups, all of its pages
are made part of his public and private site. In an educational institution’s
portal, for example, teachers, staff and students could get different default
pages and applications on their personal sites.
希望这会有所帮助。