I have been working with symfony2 for a while and I use fosuserbundle (which is awesome). But in each of my webapps, I have had trouble integrating this bundle and never found a satisfying solution :
I'd like to
- integrate the login and signup forms in all my webpages as modals
- while keeping the standalone pages (and the routes of fosuserbundle,
/loginfor instance)
The problem is if I integrate those with render tags such as {% render url('fos_user_security_login') %}, it works only if I don't extend the user layout in login.html.twig.
And if I want to have a nice looking standalone login page too, I have to extend the templates to put my headers, the html tag and so on.
As anyone have been facing with this problem and found an elegant & clean solution ? Thanks a lot in advance !