* Ekonime is work sir. thanks
2017-01-14 06:37 · (0)
* Ekonime * Graham thanks.. i need to test now
2017-01-14 06:34 · (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 06:29 · (0)
* Ekonime * Graham see in xtforum.twig
2017-01-14 05:39 · (0)
* Graham * Ekonime I just looked the files in your _xtgem_templates/forum folder do not have the {% use "my_blocks.twig" %} no matter what other errors there may be it is still required
2017-01-14 04:29 (edited 2017-01-14 04:30 by Graham ) · (0)
* Ekonime * Graham i have already add but still not work
2017-01-14 03:54 · (0)
* Graham * Ekonime I already told you what a major part of the problem is {% use "my_blocks.twig" %} is required in the files that call other blocks that are defined in my_blocks.twig
it's not optional it's required
2017-01-14 03:40 (edited 2017-01-14 03:42 by Graham ) · (0)
* Ekonime * Graham no solution for this?
2017-01-14 01:16 · (0)
* Graham * Ekonime I just looked you have not added it to the files in the _xtgem_templates/forum folder
Split forum twigs do work I have one somewhere I just can't find it right now
2017-01-11 08:04 (edited 2017-01-11 08:19 by Graham ) · (0)
* Ekonime * Graham does not work sir maybe work only in single file.. see my file
2017-01-11 05:11 · (0)

Online: Guests: 1