Closed (fixed)
Project:
Onlinestatus Indicator
Version:
master
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2007 at 09:39 UTC
Updated:
3 May 2007 at 10:16 UTC
Right now, the image settings path defaults to:
'modules/onlinestatus/images/%im-%status.png'
Although this is good for most systems, it doesn't work on a multi-site system where the module path isn't always in 'modules/onlinestatus'. If you change the 42nd line in onlinestatus.install where it sets the onlinestatus_imagepath to the following, you'll have the desired result:
variable_set('onlinestatus_imagepath', drupal_get_path('module', 'onlinestatus') . '/images/%im-%status.png');
Comments
Comment #1
xeniac commentedThe new Drupal 5 Tree has a new Path Parameter called %module and the new Default Path is now %module/images/%im-%status.png.
%module will be substituded by the install path of the onlinestatus module.
Comment #2
(not verified) commented