Liferay 6.2 改造系列之十二:修改Portal设置页面表单内容

将Portal设置页面中无用的内容删除:

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:

#
# Input a list of sections that will be included as part of the company
# settings form.
#
company.settings.form.configuration=general,authentication,users,mail-host-names,email-notifications,content-sharing
#company.settings.form.configuration=general,authentication,users,mail-host-names,email-notifications,content-sharing,recycle-bin
company.settings.form.identification=addresses,phone-numbers,additional-email-addresses,websites
company.settings.form.miscellaneous=display-settings,analytics,google-apps
#
# Input a list of sections that will be included as part of the company
# authentication settings form.
#
company.settings.form.authentication=general,ldap,cas,facebook,ntlm,open-id,open-sso,siteminder

修改为:

#
# Input a list of sections that will be included as part of the company
# settings form.
#
company.settings.form.configuration=general,authentication,users,mail-host-names,email-notifications
#company.settings.form.configuration=general,authentication,users,mail-host-names,email-notifications,content-sharing,recycle-bin
company.settings.form.identification=addresses,phone-numbers,additional-email-addresses,websites
company.settings.form.miscellaneous=display-settings
#
# Input a list of sections that will be included as part of the company
# authentication settings form.
#
company.settings.form.authentication=general,ldap,cas

  

时间: 2024-10-05 07:32:49

Liferay 6.2 改造系列之十二:修改Portal设置页面表单内容的相关文章

Liferay 6.2 改造系列之十:修改系统登录相关配置

1.关闭自动登录功能: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to allow users to select the "remember me" feature to # automatically login to the portal. # company.security.auto.login=true 修改为: # # Set this to true

Liferay 6.2 改造系列之十六:关闭OpenID模式的单点登录

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true to enable OpenId authentication. If set to true, then the # property "auto.login.hooks" must contain a reference to the class # com.liferay.portal.security.auth.Ope

Liferay 6.2 改造系列之十九:修改站点设置的表单内容

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the form when # updating a site. # sites.form.update.main=details,categorization,site-url,site-template sites.form.update.seo=si

Liferay 6.2 改造系列之十四:修改组织的表单内容

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included as part of the organization # form when adding an organization. # organizations.form.add.main=details,organization-site organizations.form.

Liferay 6.2 改造系列之十八:修改登录Portlet配置,去除无用链接

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Input a list of sections that will be included in login form navigation. # login.form.navigation.pre=anonymous,sign-in,facebook,open-id login.form.navigation.post=create-account,forgot-p

Liferay 6.2 改造系列之十五:修改默认可用语言

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Specify the locales that are enabled by default. # locales.enabled=ca_ES,zh_CN,en_US,fi_FI,fr_FR,de_DE,iw_IL,hu_HU,ja_JP,pt_BR,es_ES 修改为: # # Specify the locales that are enabled by defa

Liferay 6.2 改造系列之九:修改用户信息填写规则

为了让用户信息更贴近实际需求,修改如下信息: 1.让登录名可以使用数字.“.”.“_”等 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # Set this to true when you want the validation to allow for creation of # numeric screen names. # users.screen.name.allow.numeric=false # # In

Liferay 6.2 改造系列之十三:修改用户编辑页面表单内容

为简化用户编辑,删除无用内容: 在/portal-master/portal-impl/src/portal.properties文件中,有如下配置: # # 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.ide

Liferay 6.2 改造系列之二十三:修改Liferay原始主题中"技术支持:Liferay"字样

1.修改主题模板文件,具体位置如下 (1) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal.vm (2) portal-master\portal-web\docroot\html\themes\_unstyled\templates\portal_normal.vm 将上述两个文件改为相应如下即可: <footer id="footer" role="cont