开发者

Symfony backend <title>

开发者 https://www.devze.com 2023-03-15 03:17 出处:网络
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 alsoto do same in my backend... How to do this? Use g

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?


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
0

精彩评论

暂无评论...
验证码 换一张
取 消