Download & Extend

CSS doesn't work when module is in sites/all/modules directory

Project:Vocabulary Index
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Xano
Status:closed (fixed)

Issue Summary

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

Comments

#1

Assigned to:Anonymous» Xano
Status:active» patch (to be ported)

The local working copy has been fixed. Will be committed soon.

#2

Version:6.x-2.x-dev» 6.x-1.x-dev
Priority:normal» minor
Status:patch (to be ported)» fixed

Committed to 6.x-1.x-dev.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here