Liferay 6.2 CE
如何设置portlet以显示添加应用程序面板上突出显示的类别?我一直在寻找好几个小时,没有任何运气。
尝试将类别名称定义为“突出显示”,但它只创建一个具有相同名称的新名称。
主要目标是让我自己的portlet位于其余部分的顶部。
干杯。
答案 0 :(得分:3)
在portal-ext.properties
:
##
## Dockbar Portlet
##
#
# Set the portlet ids that will be shown directly in the "Add Application"
# menu.
#
dockbar.add.portlets=56,101,110,71
在这里你可以看到Liferay有为所有核心portlet编号的习惯。您自己的portlet id将根据其插件名称和portlet id构建,例如部署在webapplication my-great-custom-plugins-portlet 中的 AmazingApp portlet将具有* amazingapp_WAR_mygreatcustompluginsportlet *(或类似)的ID。你怎么能自己发现这个?将其添加到页面,然后选择“外观和感觉”和“高级样式” - 这将显示portlet的HTML ID,您可以轻松地提取用于portal-ext.properties
的实际portlet ID。