in the head section of your layout, add this line:
<?php echo $scripts_for_layout ?>
it will be replaced by all $html->meta(), $meta->css() and $javascript-
>link() with inline to false

On 28 mar, 02:08, Rusty <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm not sure if I am doing something wrong, but I am trying to add a
> meta tag on the view page using the following command:
>
> echo $html->meta('description', 'meta description goes in here',
> array('type'=>'description'), false);
>
> Doing this, nothing shows up on the page. If I set the inline to true,
> it shows right at the top of the page, but after all the header
> information from the layout page.
>
> I would like to have it so that setting it to false puts it up in the
> head section (as per the API).
>
> Does anyone have any ideas, or is it me doing something wrong?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to