I always set it in the view

with something like

<h2><?php e($this->pageTitle = $content['Content']['title']); ?></h2>

On 2/18/07, Mech7 <[EMAIL PROTECTED]> wrote:
>
> What do i need to add to get pagetitle to work when i just use
>
> $this->pageTitle('Test');
>
> in my controller i get an error that the function is not available :(
>
> Fatal error: Call to undefined method PostsController::pageTitle() in
> E:\xampp\htdocs\portfolio\app\controllers\posts_controller.php on line
> 19
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

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