Missing Macro Parameters for Client Dependency Loader macro
Hi,
I have been playing with the starter kit today it it looks great. I ran into an issue where none of the syles would render and many js files were not found when I set debug="false" in the web.config (to disable ClientDependencyFramework).
I tracked it down to the fact that the macro named Client Dependency Loader was missing the three parameters. Once I created the parameters CssPaths, JsPaths, and IncludeDefaultPaths for the macro, the scripts/styles started to load properly.
Also, you may want to update the documentation to instruct people that while developing they can set the compliation debug="true" in the web.config to disable the CD framework. This is nice because you don't have to remember to increment the version number to see new changes and minification is disabled so it is easier to debug.
This behavior is also breaking the latest build for the CWS starter kit. I though you might want to know. Once I added those Macro Parameters to the [Razor] Cd Loader macro, it started rendering all the css and javascript files.
Missing Macro Parameters for Client Dependency Loader macro
Hi,
I have been playing with the starter kit today it it looks great. I ran into an issue where none of the syles would render and many js files were not found when I set debug="false" in the web.config (to disable ClientDependencyFramework).
I tracked it down to the fact that the macro named Client Dependency Loader was missing the three parameters. Once I created the parameters CssPaths, JsPaths, and IncludeDefaultPaths for the macro, the scripts/styles started to load properly.
Also, you may want to update the documentation to instruct people that while developing they can set the compliation debug="true" in the web.config to disable the CD framework. This is nice because you don't have to remember to increment the version number to see new changes and minification is disabled so it is easier to debug.
Thanks,
Justin
Hi Justin,
Thank you very much for your feedback. I'm working on the documentation for this feature and aim to update it in the next release.
Regards,
Jorge
Jorge,
This behavior is also breaking the latest build for the CWS starter kit. I though you might want to know. Once I added those Macro Parameters to the [Razor] Cd Loader macro, it started rendering all the css and javascript files.
Justin
HI Justin,
Thanks for letting me know.
This seems to be happening in version 4.7.1.1 as explained here http://our.umbraco.org/forum/developers/razor/27675-Dynamic-parameters-not-working-on-version-4711 and will fix it in the next release.
I have already post it a workaround in for the CWS package in http://our.umbraco.org/projects/starter-kits/creative-website-starter-(cws)/razor-rewrite/27677-Client-Dependency-Loader-not-rendering-css-or-javascript
Cheers,
J
Hi Justin,
I have just release a new version 1.0.4 which solved the issue with the missing macro parameters.
Thanks,
J
is working on a reply...