cancel
Showing results for 
Search instead for 
Did you mean: 

Share login page icon

srinivasmurty
Champ in-the-making
Champ in-the-making
I decided to create a new thread for this problem since the other thread is more focused on other kinds of Share customizations. My problem is simple:

1. I want to show my own logo at the Share login page as well as a new logo for the user's dashboard view.
2. In order to do this, I took the easy route which involved replacing the existing logo.png and app-logo.png files with my own. I did this in the "default" theme's "images" folder.
3. My problem was that my Alfresco Share was deployed using a ".war" (presumably on an OS pre-packaged with Tomcat). So I expanded the 'war', made the file replacements and then recreated the 'war' and replaced the older one.
4. I also restarted the tomcat6 service in my Ubuntu system.
5. I still keep getting the old logo (the default Alfresco logo).

In another Alfresco implementation which was a pre-configured bundle with Tomcat, I did the same process and it worked. But there I went to the "themes" folder and did all the changes. No 'war' file was extracted or created. I understand that I am taking a major shortcut and would be better off creating my own theme. But I don't understand why it's not working.
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
The war file probably hasn't been redeployed. Shutdown Tomcat, remove the webapps/share folder and restart.

Thanks,
Mike

srinivasmurty
Champ in-the-making
Champ in-the-making
The only things I see under webapps are:

1. alfresco.war
2. share.war
3. mobile.war
4. default_root (folder)

If I understand you right, your recommendation is that I delete 'share.war'. In that case, how would I redeploy my custom 'share.war'? Do I need to use 'mvn' or something to do this?

srinivasmurty
Champ in-the-making
Champ in-the-making
I'd really appreciate if someone can guide me a bit here. I can follow Mike's suggestion but since my 'share.war' is exploded and is still a '.war', how do I delete it and then redeploy it? I am not sure I understand.

srinivasmurty
Champ in-the-making
Champ in-the-making
Ok, I guess I was on the wrong track all this while. I should have been looking in the /var/lib/tomcat6 folder instead of /usr/share/tomcat6. Once I went to the former folder, I figured it out and was able to delete the "share" folder and redeploy. Works well now.

And now, I'm headed back to the other problems that I need to tackle. Configuring outbound email invitations, modifying the footer…..

chandu7ee
Champ in-the-making
Champ in-the-making

croc
Champ in-the-making
Champ in-the-making
Please note that when you run a web project from tomcat, e.g share. it first looks for web.xml in WEB INF folder. that file specifies the welcome page. So when you deploy the project or run ./alfresco.sh start command, the folder of your project name gets created in the webapps folder under tomcat. and the files inside the .war file gets extracted into that folder. That is the reason why you'll get error 404 if it didn't deploy because it look for files that doesn't exist in the <project-name> folder.

If you edit a file under webapps/share/ I would advice you to add it to the war file because if you clean the project, when you re-deploy it, you changes won't appear.

Thanks,
Croc

komal_masood
Champ in-the-making
Champ in-the-making
Hello Sri Nivaas,
Had you been able to enable Outbound email activated?

thanks.