I have to tell you thant Volt Multiple Inheritance just doesn't work like explained in the documentation. https://docs.phalcon.io/en/latest/reference/volt.html#template-inheritance
Example :
// index.volt <!DOCTYPE html> <html> <head> ... </head> <body> {% block content %} // want to retrieve from child layout.volt{% endblock %} </body> <div class="footer"> ... some code </div> </body> </html>
// layout.volt {% extends "index.volt" %} {% block content %} ... some code // want to retrieve from child view.volt ... some code {% endblock %} {% block javascript %} // want to retrieve from child view.volt {% endblock %}
// view.volt {% extends "layout.volt %} {% block content %} ... some code {% endblock %} {% block javascript %} ... some code {% endblock %}
Could you explain me why it doesn't work ? It is supposed to work regarding to Phalcon doc.