css/widgContent.css Not Found
shadyman@errora... - February 11, 2007 - 20:32
| Project: | widgEditor - A WYSIWYG editor |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have Aggregate and compress CSS files enabled in Administer » Site configuration » Performance.
I am getting warnings in my log for comment/reply/css/widgContent.css File Not Found. Is it just me?

#1
Probably aggressive mode side effect. You should change to Normal Caching, is feasible.
#2
#3
I'd like to reopen this bug as I can confirm that the stylesheet for the content iframe textarea is not being loaded. This results in the browser displaying the default font (Times) for the textarea. I don't think this has anything to do with aggregating the stylesheet as it affects widgeditor with aggregation turned off (default install setting).
To get around this problem I have edited the widgStylesheet variable to point to the full path of the stylesheet. It would be much better if this was done automatically, but I don't know how in JS.
For example, the original in widgEditor.js:
/* Location of stylesheet file for editor content */
var widgStylesheet = "css/widgContent.css";
My altered version:
/* Location of stylesheet file for editor content */
var widgStylesheet = "/sites/all/modules/widgeditor/scripts/css/widgContent.css";
Any chance of a fix for this? It would be good if the JS could replace the path with something like Drupal's base_path() variable so as to avoid problems if the Drupal installation was not in the root www folder.
#4
Edited title to reflect problem
#5
I can confirm that your change fixes the problem (thanks).