The use of file_directory_path() is deprecated in Drupal 7.
This patch addresses the issues encountered when enabling Use CSS classes and an automatically managed external CSS style sheet.
It introduces an "internal" function which centralises the location of the CSS file (which I have also tweaked to put the CSS file in a folder within the files folder).
| Comment | File | Size | Author |
|---|---|---|---|
| geshifilter.file_directory_path.patch | 2.57 KB | nicholasthompson |
Comments
Comment #1
soxofaan commentedGreat, thanks for your work!
Did you try this functionality with the private file system as default file system? At the moment I can't try myself.
Comment #2
nicholasthompsonNo I didn't - I'm also using a public FS... But it's working fine for me (as can be seen here: http://www.thingy-ma-jig.co.uk/blog/30-09-2010/mysql-how-upper-case-words)
Comment #3
soxofaan commentedmarked #1056988: Fatal error: Call to undefined function file_directory_path() as duplicate
Comment #4
mgiffordPatch applies nicely and eliminates the error. Hopefully it gets into the release.
Comment #5
mgiffordPatch applies nicely and eliminates the error. Hopefully it gets into the release.
Comment #6
boombatower commentedCommitted.
Comment #8
Vc Developer commentedI apologize for re-opening this issue, but I need help with another module File Aliases http://drupal.org/node/1217142#comment-4727512 having the same problem. Need to know what function to use to solve it now while the maintainer is making the changes.
Here is the code:
Thanks!
Comment #9
Vc Developer commentedCancel that!
I think I found the solution here with ctools http://drupal.org/node/906652 patch and so far it working fine! :)