Search code examples
symfony1symfony-1.4slots

Symfony backend <title>


I use Symfony 1.4.11. And I need to add custom <title></title> for each page.In frontend I use slots (here) But I need also to do same in my backend... How to do this? Use generator.yml?


Solution

  • You can use slots. Another way it to use config files if the page titles are static. Eg:

    apps/frontend/modules/[module name]/config/view.yml

    indexSuccess:
      metas:
        title: Your custom page title here