Re: HTML helper (Meta Icon) duplicating unnecessarily?
That makes sense! Thank you. On May 5, 9:28 am, Ryan Schmidt wrote: > On May 4, 2011, at 15:47, Ross wrote: > > > > > > > > > > > I just got started with CakePHP, and have the following in my layout, > > between the tags's as you'd expect: > > > Html->meta('icon') . "\t\n"; ?> > > > The output, however is: > > > > rel="icon" /> > > > rel="shortcut icon" / > > > Now it's not the end of the world, and I know I can do it manually, > > but could someone please shed some light as to why this is repeated > > twice, with only "shortcut" added? It doesn't make a lot of sense to > > me. > > Some browsers use link rel=icon. Some browsers use link rel=shortcut icon. To > support all browsers, you must add both lines. That's why CakePHP adds both > lines. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: HTML helper (Meta Icon) duplicating unnecessarily?
On May 4, 2011, at 15:47, Ross wrote: > I just got started with CakePHP, and have the following in my layout, > between the tags's as you'd expect: > > Html->meta('icon') . "\t\n"; ?> > > The output, however is: > > rel="icon" /> > rel="shortcut icon" / > > Now it's not the end of the world, and I know I can do it manually, > but could someone please shed some light as to why this is repeated > twice, with only "shortcut" added? It doesn't make a lot of sense to > me. Some browsers use link rel=icon. Some browsers use link rel=shortcut icon. To support all browsers, you must add both lines. That's why CakePHP adds both lines. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: HTML helper (Meta Icon) duplicating unnecessarily?
as far as i know thats in order to address all browsers (because some stupid ones - i won't name any^^ - behave differently as the rest) On 4 Mai, 22:47, Ross wrote: > Hi > > I just got started with CakePHP, and have the following in my layout, > between the tags's as you'd expect: > > Html->meta('icon') . "\t\n"; ?> > > The output, however is: > > rel="icon" /> > rel="shortcut icon" / > > Now it's not the end of the world, and I know I can do it manually, > but could someone please shed some light as to why this is repeated > twice, with only "shortcut" added? It doesn't make a lot of sense to > me. > > I have searched, but there didn't seem to be anything too recent that > mentions this behavior. I am using a fresh copy of CakePHP 1.3.8. > > Regards -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
HTML helper (Meta Icon) duplicating unnecessarily?
Hi I just got started with CakePHP, and have the following in my layout, between the tags's as you'd expect: Html->meta('icon') . "\t\n"; ?> The output, however is: http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php