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

Issue with customizing user administration in liferay portal

我想对用于添加和编辑用户的表单进行一些改进。在我的要求中,我只使用网站,所以我不想使用组织和用户组部分。我想隐藏用户创建和编辑表单中的某些部分。参考一些网络搜索,我创建了具有以下内容的 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 后,更改仅反映在 "My Account" 选项卡中。但我也想在用户创建和用户编辑表单中反映相同的变化。我怎样才能做到这一点?是否有任何特定的配置可以做同样的事情或者我错过了一些步骤?或者如果我们想通过 Hooks 做增强,我在哪里可以找到添加和编辑用户表单的源代码文件?

下面是门户属性,用于设置您想要在用户 Add/Edit 屏幕中显示的部分。

#
# 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