There was an elegant way to set page title anywhere in view using
CakePHP 1.2 - with $this->pageTitle = 'new title'; This has been
removed in cakephp 1.3 in favor of $this->set('title_for_layout',
'page title');
Is there no simple way left to set page title elsewhere in view? Can
it be changed/set only in controller?
Here's an example. I want to change page title in my theme (in a view
without overriding default layout). This was possible by setting $this-
>pageTitle. So: how can a custom view theme change page title?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---