The head helper made by rossoft is probably the best way.

brandags wrote:
> I don't know if this is the best solution, but I created a variable
> called "addHead", which I create in my view (or maybe I created it in
> my app controller...? can't remember..), then use it in the layout.
> Like so:
>
> index.thtml:
> <?php $this->addHead .= 'This will go in the head section';?>
>
> layout.thtml:
> <head>
> <?php if (isset($this->addHead)) echo $this->addHead;?>
> </head>
>
> If anyone has a better way, let it be heard!
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to