How can I change the logo of the public link (pre)view?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member II

How can I change the logo of the public link (pre)view?

Jump to solution

Hi,

I am currently developing my own theme for alfresco and looking for a way to change the alfresco-logo of a public link preview to a custom one.

If I create a public link to share a document with a person. If the person click on the link the document is displayed a preview in the browser and on the top there is still the original alfresco logo which is loaded from http://localhost:8180/share/res/components/images/alfresco-logo.svg 

How can I change this? I already replaced all alfresco logo in my theme, but it seems, that this does not influiences the public link preview.

 

Thanks,

Florian

1 Solution

Accepted Solutions
Highlighted
Active Member II

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Thank you,

I was able to solve this problem.

  1. Created the following folder structure in my aio-share eclipse project: /src/main/resources/alfresco/web-extension/site-webscripts/org/alfresco/components/quickshare
  2. Created a template file called header.get.html.ftl an copied the content from https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...
  3. Modified the template file accoring to my adjustments.

With the same method (dreating a folder called footer intead of quickshare I was also able to modifiy the footer.

Thanks,

Florian

View solution in original post

5 Replies
Highlighted
Moderator
Moderator

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Its not quite clear which image you are talking about. Is it the favicon ? Can you share a screenshot ?

There is discussion around images and logos here pertaining to custom themes:

https://hub.alfresco.com/t5/alfresco-content-services-forum/change-favicon-and-footer-image-on-chang...

You can also find some demo custom themes here: https://github.com/abhinavmishra14/share-theme-demo/tree/master/share62-theme-demo

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
Highlighted
Senior Member II

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Please check header.get.html.ftl of quickshare.Here Path is given how for logo.

alfresco\site-webscripts\org\alfresco\components\quickshare\header.get.html.ftl

Thanks & Regards,
Sanjay
Highlighted
Active Member II

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Thank you for the quick answer,

it´s the logo of the quickshare "preview", see the attached image

https://alfresco.nettania.net/share/s/t3dnqyB5T2SJ3ncjycC5FA 

 

Highlighted
Active Member II

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Thank you,

I was able to solve this problem.

  1. Created the following folder structure in my aio-share eclipse project: /src/main/resources/alfresco/web-extension/site-webscripts/org/alfresco/components/quickshare
  2. Created a template file called header.get.html.ftl an copied the content from https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...
  3. Modified the template file accoring to my adjustments.

With the same method (dreating a folder called footer intead of quickshare I was also able to modifiy the footer.

Thanks,

Florian

View solution in original post

Highlighted
Community Manager
Community Manager

Re: How can I change the logo of the public link (pre)view?

Jump to solution

Hi @nettania 

Great news that you resolved your issue & thanks for updating on how you did it - really helpful to other users.

Cheers,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!