留言板

Adding Portlet to Manage Menu

Carolyn Curtis,修改在11 年前。

Adding Portlet to Manage Menu

New Member 帖子: 4 加入日期: 12-9-4 最近的帖子
I have created a portlet that supports some admin-level copying of multiple pages. I want to add this portlet to the Manage menu on the dockbar. Is there an easy way to do this? I started to create a hook, thinking it was as simple as adding something to dockbar/view.jsp. However the existing menu items rely on methods in ThemeDisplay to get the url. Do I need to modify ThemeDisplay to add corresponding methods for my portlet?

Here's code from view.jsp to support the SiteSettings menu entry:
<c:if test="<%= themeDisplay.isShowSiteMapSettingsIcon() %>">
<li class="sitemap use-dialog full-dialog">
<aui:a href="<%= themeDisplay.getURLSiteMapSettings().toString() %>" label="site-pages" title="manage-site-pages" />
</li>
</c:if>

Thanks in advance for any help -