如何在liferay中管理页面?

如何在liferay中管理页面?,liferay,webpage,Liferay,Webpage,我是Liferay的新手,我创建了两个用户组——Grp1(用户a1、b1、c1)和Grp2(用户a2、b2、c2) 按组创建一些公共和私有页面,以区分Grp1任务和Grp2任务 我希望用户a2,b2,c2有自己的私人网页,只有他们可以查看 当我通过用户(比如a2)登录时,默认情况下会查看liferay的公共页面,并且在中转到用户(a2)的公共和私人页面 不能在登录本身上查看用户的公共和私有页面,而不是liferay的默认页面吗 而组级和用户级公共和私人页面有何不同 我在组级别(Grp2)创

我是Liferay的新手,我创建了两个
用户组
——Grp1(用户a1、b1、c1)和Grp2(用户a2、b2、c2)

按组创建一些公共和私有页面,以区分Grp1任务和Grp2任务

  • 我希望用户a2,b2,c2有自己的私人网页,只有他们可以查看

  • 当我通过用户(比如a2)登录时,默认情况下会查看liferay的公共页面,并且在中转到用户(a2)的公共和私人页面

    不能在登录本身上查看用户的公共和私有页面,而不是liferay的默认页面吗

  • 组级
    用户级
    公共和私人页面有何不同

  • 我在组级别(Grp2)创建了公共和私有页面,所有页面都对a2、b2和c2可见。在添加页面(a2)时,它表现为只有a2才能查看的私有页面

    我希望用户a2,b2,c2有自己的私人网页,只有他们可以查看

    • 然后使用用户级私有页面。您可以在
      中看到,使用url
      进入
      菜单http://localhost/user/a2/home
    • 将用户添加到liferay时,将自动创建这些页面。您可以通过在中修改以下属性来控制这些页面的创建:

      您还可以查看
      portal.properties
      中的部分以了解更多信息

    • 这些页面仅对用户可见,并且只有用户对其具有完全控制权
    • 有关详细信息,请参见《Liferay用户指南》中关于的部分
    • -
    不能在登录本身上查看用户的公共和私有页面,而不是liferay的默认页面吗

    • 为此,您必须创建一个登录后操作挂钩
    • 您需要修改属性:
      login.events.post
      在钩子中,并在的行中包含一个
      CustomLandingPageAction
    • 这是一个很好的资源来创建
    组级和用户级的公共和私有页面有何不同

    • 我想你们是在问用户组级别(而不仅仅是组)和用户级别之间的区别
    • 请参阅Liferay用户指南中的部分,该部分的一些相关摘录:

      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.
      

    希望这能有所帮助

    嘿,普拉卡什,谢谢你的回复。
    当我添加“layout.user.private.layouts.enabled=false”时,转到已被删除
    layout.user.private.layouts.enabled=false”
    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.