Drupal supports running multiple installs from one codebaase.
I installed control_panel here:
./sites/MYSITE/modules/control_panel/
But the module is looking for images here:
./modules/controlpanel/images/
The image paths in this module do not support multi-site installs correctly. (See the attached screenshot.)
The links work correctly, reading modules that I have installed in:
./sites/MYSITE/modules/
As well as those in:
./modules/
The images should load accordingly as well.
Hope this helps.
| Comment | File | Size | Author |
|---|---|---|---|
| cp.png | 8.83 KB | agentrickard |
Comments
Comment #1
boris mann commentedThe fix is to use drupal_get_path() rather than hardcoding in
modules/modulename/Comment #2
dreed47 commentedThanks for the tip Boris.
This is now fixed and committed. Also, themes can now override icon images, just create a 'controlpanel' directory in your theme folder and place your new icons in this directory.
Comment #3
(not verified) commented