Oh yes. That works. I tried rel="icon". That works as well. Though why this
is happening, seems a bit out of scope here. :-)

Thanks and Regards
ShiVik


Razorblade wrote:
> 
> 
> Hi, 
> try use 'shortcut icon' instead of 'favicon' as rel attribute.
> 
> 
> Sergio Rinaudo
> 
> 
> 
> 
> 
> 
>> Date: Wed, 2 Dec 2009 00:08:18 -0800
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [fw-general] Problem in displaying favicon in Zend
>> 
>> 
>> Placing the favicon.ico file in my webroot displays the favicon in Google
>> chrome, but in firefox and safari it still doesn't display. That's just
>> the
>> default behavior I guess. Chrome looks for a favicon in website root,
>> firefox & safari don't.
>> 
>> What could be going wrong?
>> 
>> Thanks and Regards
>> ShiVik
>> 
>> 
>> 
>> shivik wrote:
>> > 
>> > Hello all
>> > 
>> > I cannot get to display the favicon on my zend application. I put the
>> > favicon in my webroot/images folder and used the headLink() helper to
>> > define the favicon in my Bootstrap file. But I just cannot get it to
>> > display.
>> > 
>> > here is what I did...
>> >  
>> >       protected function _initView()
>> >       {
>> >             // Initialize view
>> >             $view = new Zend_View();
>> >  
>> >             $view->headLink()->headLink( array( 'rel' => 'favicon',
>> >                     'href' => $view->baseUrl( 'images/favicon.ico' ),
>> >                     'type' => 'image/x-icon' ));
>> > 
>> >             // Add it to the ViewRenderer
>> >             $viewRenderer =
>> >                
>> > Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');
>> >             $viewRenderer->setView($view);
>> >  
>> >             // Return it, so that it can be stored by the bootstrap
>> >             return $view;
>> >         }
>> > 
>> > 
>> > Thanks and Regards
>> > ShiVik
>> > 
>> 
>> -- 
>> View this message in context:
>> http://n4.nabble.com/Problem-in-displaying-favicon-in-Zend-tp932853p932858.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>                                         
> _________________________________________________________________
> I tuoi amici sempre a portata di clic, sul nuovo Web Messenger
> http://www.windowslive.it/foto.aspx
> 

-- 
View this message in context: 
http://n4.nabble.com/Problem-in-displaying-favicon-in-Zend-tp932853p932866.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to