diff --git a/src/main/webapp/WEB-INF/liferay-plugin-package.properties b/src/main/webapp/WEB-INF/liferay-plugin-package.properties index 08cf7ee..f954efb 100644 --- a/src/main/webapp/WEB-INF/liferay-plugin-package.properties +++ b/src/main/webapp/WEB-INF/liferay-plugin-package.properties @@ -1,6 +1,6 @@ name=social-dockbar-hook module-group-id=liferay -module-incremental-version=2 +module-incremental-version=3 tags= short-description= change-log= diff --git a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf index 05be1b9..b038226 100644 --- a/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf +++ b/src/main/webapp/custom_jsps/html/portlet/dockbar/custom_dockbar_view.jspf @@ -2,6 +2,8 @@ <%@ page import="org.gcube.common.portal.PortalContext" %> <% +// show the custom dockbar buttons only if the user is logged in, useless otherwise +if (themeDisplay.isSignedIn()) { PortalContext context = PortalContext.getConfiguration(); String groupName = context.getGatewayName(request); String mySiteURL = context.getSiteLandingPagePath(request); @@ -240,3 +242,4 @@ +<% } %> \ No newline at end of file