cancel
Showing results for 
Search instead for 
Did you mean: 

Making 'about-share' into a return to homepage link

justin_haney
Champ in-the-making
Champ in-the-making
When you click the company logo in top left of share it pops open the about-share box. Is there a way to disable this functionality and make the company logo link to another page.
2 REPLIES 2

jordiv
Champ on-the-rise
Champ on-the-rise
You could change the line 26 of the file:

<ALF_HOME>/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/header/header.get.html.ftl
Specifically:

<a href="#" onclick="${jsid}.showAboutShare(); return false;"><img src="${url.context}/res/themes/${theme}/images/${logo}" alt="Alfresco Share" /></a>
But (if I'm not wrong) this is not a good practice, the correct thing to do would be to override it. Take a look at this blog post, it may help.


Cheers,
Jordi.

justin_haney
Champ in-the-making
Champ in-the-making
<a href="#" onclick="${jsid}.showAboutShare(); return false;"><img src="${url.context}/res/themes/${theme}/images/${logo}" alt="Alfresco Share" /></a>

Hey thanks for the reply, I was actually able to solve this by placing my link in the href="#" section and then changing the return false to return true. Now it goes right where I want it!

This is now solved 😃