$title_for_layout and $content_for_layout (and $scripts_for_layout as of Cake 1.2) are "magic" variables assigned by the View class. You can override the default by setting $this->pageTitle in either the Controller (inside one of your actions), or in your view template.
As to your other questions, you can use the set() method of the controller to pass data that will be available in both your layout and your view template. This might be a good place to set meta tag data, depending on your situation. If you checkout Cake 1.2 from SVN (https://trac.cakephp.org/browser/branches/1.2.x.x), you can also use $this->set() in your view templates, to pass data to your layout, and $javascript->link supports a second parameter which will allow you to send JavaScript links to the <head /> (or wherever in your layout you put $scripts_for_layout). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---