CSS doesn't work when module is in sites/all/modules directory
sabalaskey - April 28, 2008 - 14:24
| Project: | Vocabulary Index |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Xano |
| Status: | closed |
Jump to:
Description
The CSS inclusion is hardcoded to /modules directory, therefore it doesn't get called when you put the module into the sites/all/modules directory. Simple fix is included below. File is vocabindex.view.inc. Replace line 74 with:
drupal_add_css(drupal_get_path('module', 'vocabindex') . '/vocabindex-style.css', 'module', 'all', FALSE);Regards, Bruce

#1
The local working copy has been fixed. Will be committed soon.
#2
Committed to 6.x-1.x-dev.
#3
Automatically closed -- issue fixed for two weeks with no activity.