Merge between views of two or more modules

Asked

Viewed 22 times

1

I have a modular Phalcon PHP application. I’m making an administrative interface to control the modules that should be used in the system. One of the modules controls the application’s standard interface, while the others add certain functionalities.

I have the following problem: when another module is enabled, it should add HTML content to the other interface control module. This way I would like to merge two or more views. I am using Volt as the view building engine.

This is possible to do in Phalcon?

1 answer

0


Erick good afternoon,

You must use partials to do this...

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

See more in: Volt: Template Engine

Browser other questions tagged

You are not signed in. Login or sign up in order to post.