Details
-
Story
-
Resolution: Unresolved
-
High
-
None
-
5.2-beta1, 1.5.1, 1.6.0
Description
Hi,
it is impossible to override the blocks called from parent block with the 'block function':
to reproduce this:
declare a global template override:
ezpublish.yml
ezpublish: system: my_site: field_templates: - { template: SiteBundle:Fields:content_fields.html.twig, priority: 10 }
override one of those functions:
SiteBundle:Fields:content_fields.html.twig
{% extends "EzPublishCoreBundle::content_fields.html.twig" %} {% block simple_block_field %} NEVER CALLED {% endblock %} {% block simple_inline_field %} NEVER CALLED {% endblock %}
PR is in progress but i need an insight from the engineering team.
Thanks