You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Dirk Drazenovic <Di...@t-online.de> on 2003/05/11 21:49:24 UTC

favicon.ico

Hello World,

where do i have to place a custom favicon.ico so that forrest recognizes it
and stops copying in the default (indeed very nice ;-)) Apache icon?

Or is there somewhere a switch i am missing?

Thanks, Dirk


Re: favicon.ico

Posted by Dirk Drazenovic <Di...@t-online.de>.
Juan Jose Pablos wrote:
> so any call to the file favicon.ico is expected to be on
> /resources/skins/{project.skin}/images/favicon.ico
Thank you, although i figured out in fact it should be

    {project.skins-dir}/{project.skin}/images/favicon.ico

if you don't want to temper with the "original" skin that comes with
forrest.

> I hope this helps,
It did.

Thank you, Dirk


Re: favicon.ico

Posted by Juan Jose Pablos <ch...@che-che.com>.
Dirk,
on /build/dist/shbat/context/static.xmap


       <map:match pattern="**favicon.ico">
         <map:call resource="skin-read">
           <map:parameter name="path" value="images/favicon.ico" />
           <map:parameter name="mime-type" value="image/x-ico" />
         </map:call>
       </map:match>

so any call to the file favicon.ico is expected to be on
/resources/skins/{project.skin}/images/favicon.ico

I hope this helps,

Cheers

Cheche


Dirk Drazenovic wrote:
> Hello World,
> 
> where do i have to place a custom favicon.ico so that forrest recognizes it
> and stops copying in the default (indeed very nice ;-)) Apache icon?
> 
> Or is there somewhere a switch i am missing?
> 
> Thanks, Dirk