-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlockHelper::includeStylesheets $media argument #131
Comments
The The template helpers usage is not mandatory at all. So you can use the helpers and this will not work with assetic or you can create your js/css package with assetic or bower. Not sure how to respond to you ;) Can I close this issue ? |
maybe adding a phpdoc saying |
Do you want to send a PR ? |
yeah that is the right answer i guess :-) |
I know this is not something that will be easy to fix, but what is the point of the $media argument on the stylesheets call? would it not be the job of the block service to know what stylesheet is for which media? how would the template including the css know? and how would it handle different stylesheets for print and screen?
that said, we tend to define all css in a common place and combine it all with assetic, rather than include fragments on a par page + per block basis, as this is not caching friendly. still as the feature is there, rather have it meaningful.
The text was updated successfully, but these errors were encountered: