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

Vokuro ACL - Adding 404 Errors

has anyone figured out how to add an error function when pages are not found for the phalcon Vokuro template? This site adds wonderful privacy functions but overlooks 404, 401 type erros. Invo does add those function for unfound pages but only has 2 roles - i need several. Any thoughts? Thanks!

To be honest i don't quite understand what ACL has to do with 404 errors ?



47.7k

How about attaching an event to the view like in this post? If I understood your question correctly then you want to make sure the view file is found before attempting to render it?

https://forum.phalcon.io/discussion/112/view-file-not-found#C464