incorrect image path to modules/ubercart/shipping/uc_shipping/images/ship.gif

keyser79 - June 19, 2009 - 03:13
Project:Ubercart Marketplace
Version:5.x-1.0-beta5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

The ship icon (ship.gif) on sellers' "Fufill Orders" menu does not show because it's path is incorrect. The "user/2/selling" part of the path needs to be removed as follows:

user/2/selling/modules/ubercart/shipping/uc_shipping/images/ship.gif

to

modules/ubercart/shipping/uc_shipping/images/ship.gif

#1

keyser79 - June 22, 2009 - 17:28
Priority:minor» normal
Status:active» needs work

#2

keyser79 - June 22, 2009 - 17:54

line 255 of mp_orders.module:
'icon' => '<img src="'. drupal_get_path('module', 'uc_shipping') .'/images/ship.gif" />',

needs to be replaced with:
'icon' => '<img src="'. base_path() . drupal_get_path('module', 'uc_shipping') .'/images/ship.gif" />',

 
 

Drupal is a registered trademark of Dries Buytaert.