Print  
Gold star Gold star Gold star Gold star Gold star 5.0 Average - 1 Rating
693 Visits 8 Comments
Created
Daniel Clar Daniel Clar
Modified by
Daniel Clar Daniel Clar
Feb 22, 2010 3:54 PM
Kablink Component
  • Teaming

Hello,

Is it possible to add the company Logo on the Login Form ?

Thanks

Daniel

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)

Currently in Teaming 2.1 (or earlier) there isn't a way to do this through the UI.

However, I think the following might work...

Edit the file "ssf/WEB-INF/jsp/forum/login_please.jsp".

Add the following code at the top of the jsp:

 

<%@ page import="org.kablink.teaming.util.NLT" %>
<%@ include file="/WEB-INF/jsp/common/common.jsp" %>
<% 
org.kablink.teaming.domain.Binder topBinder = null;
org.kablink.teaming.module.workspace.WorkspaceModule workspaceModule = (org.kablink.teaming.module.workspace.WorkspaceModule)org.kablink.teaming.util.SpringContextUtil.getBean("workspaceModule");
try {
topBinder = workspaceModule.getTopWorkspace();
} catch(java.lang.Exception e) {}
%>
<c:set var="ssBinder" value="<%= topBinder %>" scope="request"/>

 

This change requires that you make the top workspace visible to the "guest" user account. Be careful when doing this. You will probably have to change the ACLs of the 3 workspaces just below the top workspace so that they don't inherit their access controls fro their parent. Otherwise, you might be opening up more binders to the guest account than you want.

 

I haven't tried this, but it should work.

Thumbnail Image
Daniel Clar Daniel Clar
Modified by
Daniel Clar Daniel Clar
Feb 22, 2010 5:02 PM

Thanks Peter,

But it's my company Logo and not Novell's logo which is needed ;-)

I think I'll wait for 2.x.

Regards,

Daniel

 

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

I made it more complicated than it needs to be in my last comment.

All you need to do is add the guest user as a visitor to the top workspace. Then add the guest user as a visitor to the Guest User Workspace. This will allow the branding that you put on the top workspace page to be shown on the login page.

If you don't want to let guests see the top workspace page, then add the company branding to the Guest User Workspace and allow the guest to see the Guest User Workspace page as a visitor.

Thumbnail Image
f pernet f pernet

Hi Peter,

Somehow lied to this question, another one concerning the logo. I can change the default login page and by using the branding, change anything i want (2.0,2.1) in this modified login page, that's cool.

But if i click logout, I am back to the regular login page on which i retrieved the novell logo login box.

Question is :

- is there a way to change the logout so it can come back to the modified login page instead of the regular one ? (prefered solution)

or

- is there another way than replace the logo, to specify a brand new image instead of novell logo ?

BTW, thanks for your teaming extensions, really cool. Waiting for new ones ;-))

Thanks

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)

I need to know how you set the branding.

1) Did you set the branding at the top workspace?

2) Did you make the top workspace visible to Guest?

 

If the answers to the above are true, then you can try adding the same branding on the Guest User Workspace. Also, make the Guest user workspace visible to the "guest" user.

I don't know if version 2.1 is different than 2.0, but it might be.

Thumbnail Image
f pernet f pernet

Yes .... Perfect .... Thanks Peter

1) Did you set the branding at the top workspace?

No, in a special folder inside the global workspaces and modified the login page ...

2) Did you make the top workspace visible to Guest?

No. But when I did, it solved the problem. Now wherever you are, pressing logout drive you back to this special

login page ...

3) I don't know if version 2.1 is different than 2.0, but it might be.

I am in version 2.1 so I guess 2.0 and 2.1 are the same...

 

Thx again

Thumbnail Image
Chip Phelps Chip Phelps
Modified by
Chip Phelps Chip Phelps
Aug 22, 2010 2:10 AM

So when I made Guest have Visitor access to the "Home Workspace" and / or the "Global Workspace" on a new (mostly default) installation of 2.1 it had no branding effect on the login page.

 

If I made Guest have Visitor access to the "Guest Personal Workspace" it always showed his full profile page with no login screen until I hit the "Sign In" link at the top.   Not acceptable..

 

The only thing I could find to "Brand" the login page easily was to go to the "ssf\i\icib\pics\Login" directory and put our own logo in place of "login_kablink_top.png".

 

I know that this won't work for all platforms, etc., but it was a quick way to get our logo on the login page.

 

Any feedback?

 

Thumbnail Image
Daniel Clar Daniel Clar

It's working now !

Thank you Peter.

Could it be a good idea to write this in the documentation ?


Daniel

 

Skip Footer Toolbar