module produces error;
modules/bookreview/bookreview.css not found.
fix
line 429
drupal_get_path
should be
base_path() . drupal_get_path
current
if ($css = variable_get('bookreview_css', drupal_get_path('module', 'bookreview') .'/bookreview.css')) {
corrected
if ($css = variable_get('bookreview_css', base_path() . drupal_get_path('module', 'bookreview') .'/bookreview.css')) {
file attached for review
also lulabot has a good info on the issue
http://www.lullabot.com/articles/how_to_properly_add_css_files
| Comment | File | Size | Author |
|---|---|---|---|
| bookreview_0.module | 24.12 KB | ica |
Comments
Comment #1
jeremy commentedThanks, fixed.
Comment #2
(not verified) commented