Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

view->setTemplateAfter is not working

This is my proyect, it was created with phalcon devtools. https://github.com/jrcscarrillo/proyectUno

I am trying to keey in every view the options menu and footer. But I could not succeded. I will appreciate your help. The controller is LoginController and I am trying to get the content hierarchically from the index.volt / the template main.volt / the LoginController index.volt and everything in between.



3.6k
Accepted
answer

Why dont you use partials inside your layout to include your menu and footer ?