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

Flash - can the HTML be specified as well as the styles?

Hi there,

Is there a way to change the markup used for the Flash messages? I can see that classes can be applied but it would be good to have control over the HTML too.

Thanks.



125.8k
Accepted
answer

Pretty sure it's hard coded (boo, hiss). I've built my own system based around session variables, then use the view entirely to control the markup.



38.8k

I thought as much because I went through the documentation and couldn't see anything related to this. Thanks again :)