Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
542 Visits 7 Comments
Created
Daniel Damiani Daniel Damiani
Kablink Component
  • Teaming

Hi.

 

Please, i would like to hide "sidebar" and close "Tutorial Panel" automaticaly when a new user is created in Kablink. Someone know how to customize these?

 

Thanks

Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(0)
Entry History
Tags
 
Replies
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

The setting of those two options is a "user property" for the current user. Normally, they are set and remembered when the user toggles them off (or on). It may be possible to detect that the property has never been set and therefore it should assume to be hidden. If the user has set these values by showing or hiding them, then the user property will be "true" or "false". But if it has never been set, then it will be "null". Using this, you could change the jsps that show these items to check for null and then hide them.

Thumbnail Image
Daniel Damiani Daniel Damiani

Hi Peter.

Could you tell me which are the jsps files? sorry.

Thanks a lot

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)
Modified by
Peter Hurley (Novell) Peter Hurley (Novell)
Jan 28, 2010 4:02 PM

Here's how to always have the sidebar hidden when you go to any page...

I have created a call-out jsp that initializes the sidebar visibility to "hidden" no matter what the current setting might be. The user can always click the "Show Sidebar" link to view the sidebar on any page.

Copy ss_call_out_css_init.jsp into "ssf/WEB-INF/jsp/custom_jsps". This will overwrite an empty file that is always put there during installation.

 

(The first version of this file did not work in all cases. Be sure to get V2 of the file.)

Attachments
  File Name Version Status Date Size Modified by Actions Edit
ss_call_out_css_init.jsp V1.1
Jan 28, 2010  4:01 PM 1KB Peter Hurley (Novell)  
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

If you want to initialize the Tutorial panel to "collapsed", add the followin line to the bottom of the ss_call_out_css_init.jsp file mentioned above.

<c:set var="ss_tutorial_panel_state" value="3" scope="request"/>

 

If you want it to not show at all, add the following line:

<c:set var="ss_tutorial_panel_state" value="1" scope="request"/>

Thumbnail Image
Daniel Damiani Daniel Damiani

Thanks Peter.

Thumbnail Image
Daniel Damiani Daniel Damiani

Peter. And is it possible to hide the tree navigation in top too?

Please, check the attached file.

Thanks, and thanks again.

Attachments
  File Name Version Status Date Size Modified by Actions Edit
tree_top_navigation.jpg V1.0
Jan 28, 2010  6:02 PM 74KB Daniel Damiani  
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

If you are trying to hide everything (sidebar, tutorial, navigation buttons), then it tells me that you are trying to do something quite different with Teaming than was intended. Removing both the sidebar and the navigation will make it very hard to move between folders or workspaces.

However, if that is what you want, then I would suggest that you look at using the control that are available on "Landing Pages". They will let you remove the sidebar permanently, remove the navigation links, remove the toolbars and also the search buttons and the other info at the top of the page. To do this, edit the User Workspace definition using the Form and View Designer on the Site Admin page to add a "Landing Page" element onto the form and view. Then you can edit the User Workspace Template (from the Site Admin page) to select the default settings for the landing page controls. (I think this will work but I haven't tried it.) Then, all new users will get this new look. (Pre-existing user workspaces will not change.)

Skip Footer Toolbar