在liferay portal中自定义用户管理的问题

在liferay portal中自定义用户管理的问题,liferay,hook,liferay-6,portlet,liferay-aui,Liferay,Hook,Liferay 6,Portlet,Liferay Aui,我想对用于添加和编辑用户的表单进行一些增强。在我的要求中,我只使用网站,所以我不想使用组织和用户组部分。我想在用户创建和编辑表单中隐藏一些部分。参考一些web搜索,我创建了properties-ext.properties文件,其中包含以下内容 users.form.my.account.main=details,password,sites,roles users.form.my.account.identification=addresses,phone-numbers users.for

我想对用于添加和编辑用户的表单进行一些增强。在我的要求中,我只使用网站,所以我不想使用组织和用户组部分。我想在用户创建和编辑表单中隐藏一些部分。参考一些web搜索,我创建了properties-ext.properties文件,其中包含以下内容

users.form.my.account.main=details,password,sites,roles
users.form.my.account.identification=addresses,phone-numbers 
users.form.my.account.miscellaneous=announcements,comments

重新启动tomcat后,更改只反映在“我的帐户”选项卡上。但我也希望在用户创建和用户编辑表单中反映同样的变化。我该怎么做?是否有任何特定的配置可以执行相同的操作,或者我是否错过了一些步骤?或者,如果我们想通过钩子进行增强,我可以在哪里找到用于添加和编辑用户表单的源代码文件

下面是门户属性,用于设置要在用户添加/编辑屏幕中显示的部分

#
# Input a list of sections that will be included as part of the user form
# when adding a user.
#
users.form.add.main=details,organizations,personal-site
users.form.add.identification=
users.form.add.miscellaneous=

#
# Input a list of sections that will be included as part of the user form
# when updating a user.
#
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.update.miscellaneous=announcements,display-settings,comments,custom-fields

它正在工作。非常感谢。我还有几个问题,我已经更新为新问题。如果你有相同的想法,请给我一些建议。在哪里可以找到用户添加和编辑屏幕的前端源代码?您能告诉我liferay源包中这些文件的路径吗。请…
portal web\docroot\html\portlet\users\u admin\edit\u user.jsp
和文件夹
portal web\docroot\html\portlet\users\u admin\user
下的jsp文件添加和编辑屏幕jsp文件是否相同?我可以看到edit_user.jsp。添加屏幕如何?添加/编辑用户屏幕使用相同的文件