0
我是OroCRM和Symfony2中的新成員。我試圖編寫一個檢索表的所有記錄的頁面。但我不知道如何更改此頁面的標題,它始終顯示它的網址(http://localhost/crm-application/web/app_dev.php/..。)。 這是我的枝杈文件:如何使用樹枝在OroCrm(Symfony2)中設置頁面標題
{#index.html.twig#}
{% extends 'OroUIBundle:actions:index.html.twig' %}
{% import 'OroUIBundle::macros.html.twig' as UI %}
{% set gridName = 'b2b-customers-grid' %}
{% set pageTitle = 'B2B Customers' %}
我已經嘗試了許多方法,但我不能做到這一點。我通常得到那個錯誤:
A template that extends another one cannot have a body」
任何幫助嗎?非常感謝。 :)