【问题标题】:Provide a parameter for a custom template in SonataAdmin fields在 SonataAdmin 字段中为自定义模板提供参数
【发布时间】:2012-12-19 16:39:39
【问题描述】:

我知道如何为 SonataAdminBundle 中的字段设置自定义模板。以下主题回答了一个关于此的问题:

Symfony SonataAdmin Templates

但是,如何传递参数以在该模板中使用?

【问题讨论】:

    标签: php symfony symfony-2.1 symfony-sonata sonata-admin


    【解决方案1】:

    您需要overriding Default Controllers 和/或可能覆盖默认表单或any Part of a Bundle

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-03-11
      • 1970-01-01
      • 1970-01-01
      • 2014-10-28
      • 1970-01-01
      • 2020-07-14
      • 2016-02-21
      相关资源
      最近更新 更多