Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Larsen 2 posts 73 karma points
    Feb 09, 2017 @ 09:16
    Simon Larsen
    0

    ClientDependency CSS in Backoffice

    I've had a problem, when launching a website. Setting debug to false, made ClientDependency work for the frontend, for both CSS and JS files. But the backoffice lost all css styling.

    When inspecting the backend, I can see a css link to the dependencyhandler: <link href="/DependencyHandler.axd?s=L3VtYnJhY28vYXNzZXRzL2Nzcy91bWJyYWNvLmNzczsvdW1icmFjb19jbGllbnQvdHJlZS90cmVlaWNvbnMuY3NzOy91bWJyYWNvL2xpYi9ib290c3RyYXAtc29jaWFsL2Jvb3RzdHJhcC1zb2NpYWwuY3NzOy91bWJyYWNvL2xpYi9mb250LWF3ZXNvbWUvY3NzL2ZvbnQtYXdlc29tZS5taW4uY3NzOw&amp;t=Css&amp;cdv=1844504259" type="text/css" rel="stylesheet"/>

    But the file is completely empty.

    I've tried changing the clientDependency version in config, but no luck. If I set fileDependencyExtensions=".js" everything works, but the css files obviously won't be combined - backend and frontend.

    Any ideas would be appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft