In your controller you can set the title with: $this->pageTitle

$this->pageTitle = 'My Page Title';

In your layout you can access the variable with: $title_for_layout

...
<head>
<title><?php echo $title_for_layout; ?></title>
</head>
...


[EMAIL PROTECTED] wrote:
> I'm aware you can use $this->pageTitle in a controller action to set
> the page's title.  However, I can't find where to set the home page's
> title (i.e. the title for app/views/pages/home.thtml).
> 
> Does anyone know where to set the home page's title?


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

Reply via email to