Project

General

Profile

Task #2143

Replacing favicon for LibreOffice Extensions and Templates website

Added by Krasnaya Ploshchad’ . 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Tags:
URL:

Description

LibreOffice Extensions and Templates website have been rewrite in Dec. 2016 based on Plone, but the favicon is also replaced by default Plone icon, this should replaced by LibreOffice icon as LibreOffice website used.

History

#1 Updated by Florian Effenberger 11 months ago

  • Assignee set to Andreas Mantke

Indeed - Andreas, do you know how to fix that quickly maybe? ;-)

#2 Updated by Christian Lohmaier 11 months ago

  • Status changed from New to Resolved

instead of fiddling with plone's template/finding out where the icon is defined, I added a location = /favicon.ico block to nginx config. (and set root to /var/www/html, where I did put the favicon.ico)

#3 Updated by Florian Effenberger 11 months ago

Andreas just poked me and wants to fix it in the Plone template itself -
sorry for the double work (and thanks so much for jumping in!), but can
you maybe reverse your change?

#4 Updated by Krasnaya Ploshchad’ . 11 months ago

The favicon have been replaced as expected, yay!

#5 Updated by Christian Lohmaier 11 months ago

If/when Andreas wants to tackle this, he just has to comment-out/remove the block

    location = /favicon.ico {
        try_files /favicon.ico =404;
    }

from the vhost definitionn (/etc/nginx/sites-enabled/extensions) and reload nginx (sudo systemctl reload nginx)

EDIT: oh, and when you do, please drop a note here as to where to find that setting in Plone :-)

#6 Updated by Guilhem Moulin 10 months ago

Christian Lohmaier wrote:

EDIT: oh, and when you do, please drop a note here as to where to find that setting in Plone :-)

And so we don't forget to make the same edit in salt :-P

#7 Updated by Andreas Mantke 10 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

The favicon is in the theming now. The nginx link to the favicon on the server is commented out.

Also available in: Atom PDF