cancel
Showing results for 
Search instead for 
Did you mean: 

Login directly to a site and not to dashboard

rcsalazar77
Champ in-the-making
Champ in-the-making
I created some sites on alfresco share, but when I invite an external user with profile "consumer" I need this user redirects to: site - documents-library as the default page and not your dashboard.

This is possible?

Regards,
Roberto
4 REPLIES 4

rcsalazar77
Champ in-the-making
Champ in-the-making
I change:
/opt/alfresco-3.4.a/tomcat/webapps/share/site-index.jsp
in url : dashboard by "user-sites" and this page now is default.
and:

/opt/alfresco-3.4.a/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/user-sites.get.html.ftl

in url: dashboard by "documentlibrary" and this page is default in "sites"acces module

Regards, sorry my english,
Roberto

mikeh
Star Contributor
Star Contributor
It's a bad idea to alter files within the webapps folder directly. As soon as Tomcat decides to redeploy the share.war, or you want to upgrade, you'll lose all your modifications. Instead, the correct place is the Tomcat/shared/classes/alfresco/web-extension folder for Share.

Please see http://wiki.alfresco.com/wiki/Alfresco_Share and http://wiki.alfresco.com/wiki/Share_Custom_Pages
You'll also need to ensure Tomcat is picking up the /shared folder: http://wiki.alfresco.com/wiki/Install_Tomcat6

Thanks,
Mike

chrisokelly
Champ on-the-rise
Champ on-the-rise
It's a bad idea to alter files within the webapps folder directly. As soon as Tomcat decides to redeploy the share.war, or you want to upgrade, you'll lose all your modifications. Instead, the correct place is the Tomcat/shared/classes/alfresco/web-extension folder for Share.

Please see http://wiki.alfresco.com/wiki/Alfresco_Share and http://wiki.alfresco.com/wiki/Share_Custom_Pages
You'll also need to ensure Tomcat is picking up the /shared folder: http://wiki.alfresco.com/wiki/Install_Tomcat6

Thanks,
Mike

Hi Mike,
Sorry to be a bit of a thread necro, I was wondering if you could clarify this a little - If I want to change site-index.jsp  I understand I should not just change it in the webapps folder as it will eventually be overidden. I know that inside of tomcat/shared/classes I can place override config files and in tomcat/shared/lib I can place jar files to be deployed, however my JAR files seem to start at the alfresco directory (ie webapps/share/WEB-INF/classes/alfresco). As a result it seems I cannot place a new site-index.jsp in a jar file and have it override the default one (or if I can, I do not know how). Similarly as it is script as opposed to configuration I do not see it helping to place it in the tomcat/shared/classes or any of the directories below. What would be the recommended way to override site-index.jsp?

mythilyn
Champ in-the-making
Champ in-the-making
Hi,
I want to know about how to override the site-index.jsp file from tomcat/shared.How can this be done?

Thanks,
Mythily