dockbar is a regular portlet, you can change it as such. It just has a different display, because some css fantasies are included in the standard theme, but otherwise there is nothing else that configures the dockbar portlet than for any other portlet.
So, you just need to create a hook and override the JSP (s) you want -> do.
source
share