Perfect. Thanks. My initial usage was straight from the Cake online docs for 1.2. Sounds like there's an update in order <G>. (That's not a complaint, I understand that they are a work in progress.)
thanks again, Michael On Sep 6, 8:52 am, [EMAIL PROTECTED] wrote: > On Sat, Sep 6, 2008 at 3:32 PM, Michael <[EMAIL PROTECTED]> wrote: > > > In my layout I initially used: > > <?php echo $html->meta('favicon.ico', '/favicon.ico', array('type' => > > 'icon')); ?> > > use only: > $html->meta('icon'); > the first parameter is type (and not title... it's a mistake for version 1.2) > > If you want set path use second parameter and look API ;) > > Fabio > > /fiblan > > > However, the correct path was not being generated. In other words, > > the href attribute was always set to "/favicon.ico" even if the > > application was installed to a sub web. The $html->css(), $html- > >>image() and $javascript->link() all work as expected. > > > I changed my favicon tags to be: > > <link rel="icon" href="<?php echo $html->url('/favicon.ico'); ?>" > > type="image/x-icon"/> > > <link rel="shortcut icon" href="<?php echo $html->url('/ > > favicon.ico'); ?>" type="image/x-icon"/> > > > and now the correct path is always generated. My concern is that I > > don't see $html->url() in the 1.2 API reference. Is it deprecated? > > Is my usage of the $html->meta() method correct? Is the favicon path > > a known issue? > > > thanks, > > Michael > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---