symfony1 - Disable CSS stylesheet for a specific action in Symfony -
is there way of disabling stylesheet in view.yml specific action in symfony?
for example i've got in view.yml:
default: stylesheets: [default.css]
i want able like:
displaysuccess: stylesheet: [!default.css]
to disable default.css in displaysuccess only
is possible or have explicitly modules/actions should have default.css?
you can remove or add stylesheets modules view.yml doing following:
displaysuccess: stylesheet: [-default]
would remove default.css display action. putting
displaysuccess: stylesheet: [-*]
would remove stylesheets.
Comments
Post a Comment