05-22-2015 07:25 AM
<extension>
<modules>
<module>
<id>myextension</id>
<version>1.0</version>
<auto-deploy>true</auto-deploy>
<!– Do customizaitons to webscripts –>
<customizations>
<customizaiton>
<!– To add a page link in site navigation bar –>
<targetPackageRoot>org.alfresco.share.header</targetPackageRoot>
<sourcePackageRoot>com.example.share.header</sourcePackageRoot>
</customizaiton>
</customizations>
</module>
</modules>
</extension>
var siteNavigationWidgets = widgetUtils.findObject(model.jsonModel, "id", "HEADER_NAVIGATION_MENU_BAR");
if(siteNavigationWidgets != null) {
siteNavigationWidgets.config.widgets.push({
id: "HEADER-SITE-LOCALGROUPS",
name: "alfresco/menus/AlfMenuBarItem",
config: {
id: "HEADER-SITE-LOCALGROUPS",
label: msg.get("page.siteLocalGroups.title"),
targetUrl: "site/" + page.url.templateArgs.site + "/site-localgroups",
selected: (page.titleId == "page.siteLocalGroups.title")
}
});
}
05-25-2015 04:46 AM
05-26-2015 05:33 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.