cancel
Showing results for 
Search instead for 
Did you mean: 

Special home page

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,
i want that after login, user see a "home" page with link to specific space. But after when user choose space i want use traditional webclient.
Someone have an idea ?
5 REPLIES 5

gavinc
Champ in-the-making
Champ in-the-making
You can easily override the page that gets displayed after a successful login.

You'll need to override the navigation rule for the login page which involves creating a faces-config.xml file and following the instructions in: http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions

For example if you had a custom JSP /jsp/extension/home.jsp, you could have the following in your faces-config.xml…


<navigation-rule>
   <from-view-id>/jsp/login.jsp</from-view-id>
   <navigation-case>
      <from-outcome>success</from-outcome>
      <to-view-id>/jsp/extension/home.jsp</to-view-id>
   </navigation-case>
</navigation-rule>

Your home.jsp can then contain anything you want!

ribz33
Champ on-the-rise
Champ on-the-rise
thx for your help i didnt see things like it but its working thx Smiley Happy

lars
Champ in-the-making
Champ in-the-making
thx for your help i didnt see things like it but its working thx Smiley Happy

I tried it as well, following the mentioned procedure, unfortunately without success. In this specific case, I just
a) created the home.jsp file within the /jsp/extension directory and
b) the jar file within /WEB-INF/lib/, containing just the faces-config.xml file within the META-INF directory:
Content of jar:
-> META-INF
    -> faces-config.xml
    -> MANIFEST.MF (empty, besides "Manifest-Version: 1.0")
Is there anything missing?

Thanx for the help,

Lars

lars
Champ in-the-making
Champ in-the-making
Hi again,
ok the procedure as described workes in general. But it took a while since I figured it out, because one specific case seems not to work:
After the login I would like to redirect to the "Company Home" space. The code in my home.jsp file is as follows:
<%
response.sendRedirect(request.getContextPath() + "/navigate/browse/workspace/SpacesStore/[NodeID]");
%>
However the user allways ends up in his home space.
It works well for any other node ID, but not for the "Company Home".

Is there anyone who can bring more light on this issue, or propose some workaround.

Thank you in advance for your help,

Lars

chetna
Champ in-the-making
Champ in-the-making
hey guyz,
i m looking for same solution from past 2-3 weeks. so can u tell me each and every step . as i m not a coder :cry: , so i am facing problem related to this issue.
i simply want "company home->sharing" to be my special home page.

please help me out.
thanks
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.