* Ekonime * Graham see in xtforum.twig
2017-01-14 14:39 · (0)
* Graham * Ekonime No The blocks are called in the included templates so {%use "my_blocks.twig" %} must be at the top of every template that uses those blocks
ie your file 404.twig
should be
{%use "/my_blocks.twig" %}
    {% block view_404 %}

        {% set view = "404" %}
        {{block('menu')}}
        {% set tail = '404' %}
        {{block('breadcrumbs')}}
        <div class="no_data"><b title="data not found">{{ translate ( '404_message' ) }}</b></div>
        {{block('breadcrumbs')}}
        {{block('search')}}
        {{block('online')}}

    {% endblock %}

Copy code
because it calls 4 blocks (menu , breadcrumbs , search , online) that are defined in my_blocks.twig
2017-01-14 15:29 · (0)
* Ekonime * Graham thanks.. i need to test now
2017-01-14 15:34 · (0)
* Ekonime is work sir. thanks
2017-01-14 15:37 · (0)

Online: Guests: 1