开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜