我正在使用Liferay 6.1.0 GA1。
当您转到控制面板时 - >网站设置,右侧有菜单。
我的问题是 - 这个菜单是在哪里生成的?我需要隐藏一些东西(“分期”和整个SEO部分)。我花了一天时间等等,找不到合适的位置。
答案 0 :(得分:0)
Liferay的portal.properties包含此部分:
#
# Input a list of sections that will be included as part of the layout form
# when updating a layout.
#
layout.form.update=details,seo,look-and-feel,layout,javascript,custom-fields,advanced,mobile-rule-groups
另外,正如您所说的网站更新:
#
# 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=sitemap,robots
sites.form.update.advanced=default-user-associations,staging,analytics,content-sharing,recycle-bin
sites.form.update.miscellaneous=custom-fields
在portal.properties中查看这些位置,然后在portal-ext.properties中覆盖您需要更改的内容,重新启动Liferay并检查是否选择了正确的设置。