We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.



12.8k
Accepted
answer

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