We are trying to hide some user bar elements using the techniques outlines in this document: http://download.jivesoftware.com/docs/clearspace/latest/UIComponentsXMLReference.html
... but we aren't having any luck. Here's what we tried to do in our plugin.xml file:
<components>
<component id="user-bar">
<hide id="jiveUserMenu4" />
</component>
</components>
... we are hoping to hide the History menu from the user bar using this technique. Is this possible? Is our syntax wrong?
Thanks in advance.
Cheers.
Never mind - the sample below works fine. We just didn't notice that there is a different item ID for offline IM users.
It's not working for me either. We are trying to hide the instant message link (eventually by role, but we can't get it hidden at all right now). Our sample is:
<components>
<component id="profile-actions">
<hide id="jive-link-im"/>
</component>
</components>
Can someone from Jive please correct our syntax or confirm this as a bug?
Message was edited by: javageoff
Hmm, I am doing some local testing and seeing the same issue. I am thinking it might not be possible to hide the menu's at the top using this method. If you look at the HTML source for a page you will see that the actual menu link is displayed with the following HTML:
<a href="#" class="jive-userbar-droplink" id="jiveUserMenu3Link" onclick="return false;" accesskey="Y">
<span class="jive-userbar-toolbox">
<u>Y</u>our Stuff
</span>
</a>
This is not part of the UI-Components. So it looks like if you are wanting to get rid of this tab you will need to theme it away using the user-bar.ftl template.
-Todd