在奏鸣曲编辑选项卡中编写基本 HTML

问题描述

所以在我的奏鸣曲管理 CMS 中,我尝试添加一个名为 info 的页面

protected function configureFormFields(FormMapper $formMapper)
{
    $formMapper
            ->tab('Info')
            ->end();
}

在我的 admin.yml 中,我有这个电话:

calls:
- [ setTemplates,[{edit: admin\virtual-event-info.html.twig }]]

然后在一个树枝文件中我有这个

{% extends 'SonataAdminBundle:CRUD:base_edit.html.twig' %}
<h1>I just want to write some basic static html out here</h1>

我只想为常见问题写一个基本的静态 html 页面。我不想接受任何输入或要求任何数据,我只是想要一个地方让新人了解有关 CMS 部分的一些基本信息。谁能指导我如何让 HTML 实际显示在该标签下?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)