civicrm_backdrop.css hard-codes the location of the civicrm module
The file civicrm_backdrop.css
hard-codes the location of the CiviCRM module in this line:
#crm-container .ui-widget-header .ui-state-default {
background: #e6e6e6 url(/modules/civicrm/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
}
If the CiviCRM module is located anywhere else (for example, at modules/contrib/civicrm
), this puts missing-file errors into the dblog whenever one visits the CiviCRM dashboard.
There is a global variable, $civicrm_root
, which specifies the location of the module. That should be used. (Perhaps use backdrop_add_css()
to dynamically add this bit?)