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.

CommentFileSizeAuthor
cp.png8.83 KBagentrickard

Comments

boris mann’s picture

The fix is to use drupal_get_path() rather than hardcoding in modules/modulename/

dreed47’s picture

Assigned: Unassigned » dreed47
Status: Active » Fixed

Thanks 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)