cancel
Showing results for 
Search instead for 
Did you mean: 

Change User Start Page

buddyfarr
Champ in-the-making
Champ in-the-making
When an end user logs in they go to the "Getting Started" page. I have found in the user profile section that I can change the start page to go to 1 of 4 different locations:

My Alfresco
My Home
Company Home
Guest Home

What I want to do is force the start page to start inside another space underneath the Company Home. So when they login they would automatically start inside this new space:

Company Home> New Space Name

Is there a way to do that?
14 REPLIES 14

zaizi
Champ in-the-making
Champ in-the-making
See http://wiki.alfresco.com/wiki/Customising_The_Login_Page#Overriding_JSF_configuration.


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

Replace to-view-id with the URL to the space you want.

What is the URL to the your space? See http://wiki.alfresco.com/wiki/URL_Addressability#ExternalAccessServlet.

buddyfarr
Champ in-the-making
Champ in-the-making
Where I am trying to get to is:

Company Home > Family & Children's Center, Inc.

but when I get there the url shows:

http://alfresco:8080/alfresco/faces/jsp/browse/browse.jsp

Test server name is alfresco, that is why that is there. But it doesn't show the Space name of Family & Children's Center, Inc. in the browser address bar. I am a regular system admin, not a coder, so this will be very new to me. I also do not know Java so it gets confusing quickly. I appreciate the help.

kayan
Champ in-the-making
Champ in-the-making
Hi,

You can try changing the following entry in the webclient "web-client-config-custom.xml"

<!– The path to starting point when creating/finding home folders for new users in the UI –>
<default-home-space-path>/app:company_home</default-home-space-path>

to

<!– The path to starting point when creating/finding home folders for new users in the UI –>
<default-home-space-path>/app:company_home/cm:Family & Children's Center, Inc</default-home-space-path>


Thanks
Kayan

buddyfarr
Champ in-the-making
Champ in-the-making
Kayan -

I looked for that section in the web-client-config-custom.xml file and it is not there.  I found the file in this directory (windows installation):

c:\Alfresco\tomcat\shared\classes\alfresco\extension

is there any other place it would be? I checked the entire drive. If not, should I insert the entire section of code? If so where in the file should I insert it?

thanks for all the help!

Buddy

kayan
Champ in-the-making
Champ in-the-making
Hi,

Yes, the file location is perfect.  You just need add this section and restart your server.

Thanks
kayan

buddyfarr
Champ in-the-making
Champ in-the-making
I added that info to the xml file and saved it. then I restarted the server and it still takes the user to the company page and not to the Company > Family & Childrens Center, Inc page.   Smiley Sad

kayan
Champ in-the-making
Champ in-the-making
Hi,

Sorry,the change i have provided ll set the "Home Space Location" on create user step.  What i think, you have to assign all the user to that homespace.

E.g: Here is the simple step that you can follow..

Let there is a folder under companyhome called TESTHOME
1)create a user called test1 and assign him to the TESTHOME space.
2)login with that user, it should automatically take to that space.

So, in your case , you can assign all your user to "Family & Children's Center, Inc" homespace, and when they ll login they should directly come under that.

Thanks
Kayan

buddyfarr
Champ in-the-making
Champ in-the-making
BINGO!! I didn't even think of setting their home space as the main company space. Then in the profile section I set their START LOCATION to MY HOME and it works perfectly!! Thanks for the help!! Smiley Very Happy

joaotpd
Champ on-the-rise
Champ on-the-rise
Hi all! …
It's possible to configure alfresco in a way that when a user writes http://myhost.mydomain:8080/alfresco it gets the login page??
(http://myhost.mydomain:8080/alfresco/faces/jsp/login.jsp)
There's an easy way to configure this??
Thanks!

João Duarte