[symfony-users] Re: Simple way to put different titles on each page

2008-08-20 Thread Eno
Or, if it depends on data on a page for example, you can do it in the action. So if $data_record has a title field: $this->getResponse()->setTitle($data_record->getTitle()); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: Simple way to put different titles on each page

2008-08-20 Thread Tom Haskins-Vaughan
You can change the title in each module's view.yml file: http://www.symfony-project.org/book/1_1/07-Inside-the-View-Layer#The%20view.yml%20File Vinch wrote: > Hi, > > To improve SEO, I want to put different titles on each page of my > website. At the moment, it's the same title everywhere and t

[symfony-users] Re: Simple way to put different titles on each page

2008-08-20 Thread [EMAIL PROTECTED]
Slots solve this problem: http://www.symfony-project.org/book/1_1/07-Inside-the-View-Layer#Slots Regards, Jamie On 20 Ago, 11:05, Vinch <[EMAIL PROTECTED]> wrote: > Hi, > > To improve SEO, I want to put different titles on each page of my > website. At the moment, it's the same title everywher