Currently, the %t in the custom css path is replaced using path_to_theme(), but in the context it is called in, the function returns the module path rather than the theme path.
This patch changes the method for replacing %t.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | print-1652098-4.patch | 724 bytes | David_Rothstein |
| #1 | custom_css_theme_path_replacement_fix.patch | 590 bytes | morbiD |
| custom_css_%t_replacement_fix.patch | 590 bytes | morbiD |
Comments
Comment #1
morbiD commentedWeb server doesn't seem to like that patch filename. Let's try again!
Comment #2
jcnventurahttp://drupalcode.org/project/print.git/commit/587142d
Comment #4
David_Rothstein commentedBackported the patch to 7.x-1.x.
I'm not really sure
variable_get('theme_default')is correct here (it would probably make more sense to use the current active theme instead?). But for most practical cases, I guess it doesn't matter.Comment #5
jcnventuraThanks for reminding me that this hadn't been applied to 7.x-1.x and 6.x-1.x
Done now.
Comment #6.0
(not verified) commentedClarity