You using 2.x right?
Don't worry about the yet as its 3.0 specific.
- S
On 15 Jul 2012 11:23, "Nvp" <lehasl@gmail.com> wrote:
-- Hi!
It's my first Cake project I have about 5-6 static pages they are served by the default PagesController.
I have <title> <?php echo $title_for_layout ?> </title> in my layout file and <?php $this->set('title_for_layout', 'Page Title'); ?> in my views files.
So as I read on API page $title_for_layout is deprecated and will be removed in CakePHP 3.0, and I should use title_for_layout instead.
But I don't understand how and what changes I should do in my layout/view files.
Can anyone provide me an example please?
Thanks.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment