Perform merge between views of two or more modules

1

I have a Phalcon PHP modular application. I am making an administrative interface to control which modules should be used in the system. One of the modules controls the application's default interface, while the others add certain functionality.

I have the following problem: When another module is enabled, it should add HTML content to the other interface control module. In this way I would like to merge two or more views. I'm using Volt as the build engine for views.

Is it possible to do this in Phalcon?

    
asked by anonymous 04.04.2017 / 19:52

1 answer

0

Erick good afternoon,

You should use partials to do this ...

<div id="footer">{{ partial("partials/footer") }}</div>

See more at: Volt: Template Engine

    
25.07.2017 / 21:31