Re: How to display the favicon?

"Luthiger Stoll Benno" <[email protected]> Sat, 31 Jul 2010 22:10:13 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Dear Antonin

Thanks for your answer.
However, I suspect this is not a browser caching issue.
If I let the same page (with exactly the same path) display with a differen=
t skin, one that has its own mainlayout.pt, the favicon is displayed as exp=
ected.
The command to include the favicon in this mainlayout.pt is as follows:
=3D=3D=3D
<link rel=3D"shortcut icon" type=3D"image/x-icon" tal:attributes=3D"href la=
yout/static/favicon.png" />
=3D=3D=3D
As far as I understand, caching issues cannot be solved only by switching t=
he skin.

What do you think?
Benno


-----Original Message-----
From: Antonin AMAND [mailto:[email protected]] =

Sent: Freitag, 30. Juli 2010 17:56
To: Luthiger Stoll Benno
Cc: silva-dev-IAPFreCvJWM6s/[email protected]
Subject: Re: [silva-dev] How to display the favicon?

Hello Benno,

Navigators heavily cache the favicon, please make sure the nothing
changes in html headers.

Antonin


On Fri, Jul 30, 2010 at 5:29 PM, Luthiger Stoll  Benno
<[email protected]> wrote:
> Hello all
>
> When =A0I develop a layout reusing the Silva Porto layout, all works fine
> except the display of the favicon.
>
> To test, I chose the Multiflex theme as skin. This theme contains a favic=
on
> in its static folder.
> On a Windows machine, no favicon is displayed at all.
> On a Linux machine, the Zope favicon is displayed instead of the Mulftflex
> favicon.
>
> In the porto layout's mainlayout.pt I found the following statement:
> =3D=3D
> =A0 =A0<link rel=3D"shortcut icon"
> =A0 =A0 =A0 =A0 =A0tal:attributes=3D"href context/favicon.ico/absolute_ur=
l | nothing"
> />
> =3D=3D
> This doesn't seem to display the correct favicon of the layout actually
> chosen.
> How can this be fixed?
>
> Kind regards,
> Benno Luthiger
> ______________________________________
> ETH Zurich
> Benno Luthiger
> IT-Services
> STC E 12, Stampfenbachstr. 67
> 8092 Zurich, Switzerland
> Tel: +41 44 632 57 65
> ______________________________________
>
>
> _______________________________________________
> silva-dev mailing list
> silva-dev-IAPFreCvJWM6s/[email protected]
> https://lists.infrae.com/mailman/listinfo/silva-dev
>
>