Scripts for layout and Html->meta confusion
Hello people, i want to display canonical link attributes for some of
my pages. I can do it with:
echo $this->Html->meta('canonical', 'http:://example.com',
array('rel'=>'canonical', 'type'=>null, 'title'=>null,'inline' =>
false));
I want the <link> tag to be displayed inside of my <head> tag. So i
set inline to false. The problem is that it's placed where the
$scripts_for_layout is echoed. But, i put my $scripts_for_layout at
the bottom of the page.
How can i echo $this->Html->meta at the top of the page (inside head
tag) and have the scripts_for_layout at the bottom?
Thank you!
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home