Symfony: associating a stylesheet to a template of a plugin
i have this line below in fronte开发者_StackOverflownd/config/view.yml:
stylesheets: [main.css]
The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin.
Even if i write at the beginning of the template it doesn't work..
What should i do?
Javi
Ensure that your sfDoctrineGuardPlugin has a custom "sfGuardAuth" module in your front-end app. The stylesheet will then apply. Works for me without problems.
See "Customize sfGuardAuth module templates" here: http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
精彩评论