Return to Jive Software

Skip navigation

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1,989 Views 2 Replies Last post: Jan 8, 2009 10:04 AM by todd.west RSS
thomh Novice 117 posts since
Mar 29, 2007
Currently Being Moderated

Nov 25, 2008 10:38 AM

Problem hiding user bar elements using <hide> in a plugin.xml file

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.

javageoff Novice 21 posts since
Oct 7, 2004
Currently Being Moderated
Jan 8, 2009 3:26 PM in response to: Thom Hickey
Re: Problem hiding user bar elements using <hide> in a plugin.xml file

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

todd.west Jive Employee 15,926 posts since
Jul 14, 2008
Currently Being Moderated
Jan 8, 2009 10:04 AM in response to: javageoff
Re: Problem hiding user bar elements using <hide> in a plugin.xml file

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

More Like This

  • Retrieving data ...

Bookmarked By (0)