When clicked on a print friendly page the logs dumps the following error message;
404 error: url \"misc/print.css\" not found.
When clicked on a print friendly page the logs dumps the following error message;
404 error: url \"misc/print.css\" not found.
Comments
Comment #1
km commentedSorry I can not reproduce this. I which log does the message appear?
The stylesheet URL can be changed in the print module settings. The default 'misc/print.css' is part of drupal core.
Comment #2
anj commentedThe problem appears to lie in the print template print/print.tpl.php. The style-file include line reads:
However, this syntax does not work in any browser I know of because of the bit where it says 'url' between the @import and the url itself. This seems to work fine:
And so does this (which is perhaps better?):
But currently we have neither one thing nor the other. This did not produce a noticable 404 error on IE6 or Firefox 1.0, but this behaviour will presumably be browser-dependent.
Comment #3
anj commentedWhoops - my mistake. That looks like a different problem related to escaping quotation marks. However, with the fix I mentioned above, my print module is working just fine, so maybe it is related?
Comment #4
km commentedThanks to beardedstoat for the hints the CSS import now should work as intended (new tar files should be available tomorrow).
In HTML it reads now
which is consistent with the rest of drupal.
Comment #5
km commentedStatus should be 'fixed'...
Comment #6
km commentedNow closed again.