Closed (fixed)
Project:
Ubercart Followup
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2009 at 11:24 UTC
Updated:
16 Mar 2012 at 22:45 UTC
Sice I update to v1.0 when I go to admin/store/orders/view, in other language than English (default) the "letter icon" is not visible.
Im setup language negotiation to "Path prefix only".
| Comment | File | Size | Author |
|---|---|---|---|
| ucfollowup.jpg | 118.52 KB | xacobe |
Comments
Comment #1
xacobeI solve it out. Im not a coder, would be appreciate if somebody check it.
I change the line 121
'icon' => '<img src="'. url(drupal_get_path('module', 'uc_followup') .'/images/email'. ($folowups[$order->order_status]['pending'] ? ($folowups[$order->order_status]['sent'] ? '-some' : '-active') : '') .'.png') .'" class="tooltip" alt="'. $alt .'" />',for
'icon' => '<img src="'. base_path() . (drupal_get_path('module', 'uc_followup') .'/images/email'. ($folowups[$order->order_status]['pending'] ? ($folowups[$order->order_status]['sent'] ? '-some' : '-active') : '') .'.png') .'" class="tooltip" alt="'. $alt .'" />',Comment #2
jlockhartI'm running into this as well. I was looking at the api for the url() function, and it appears that it adds the current language, which of course as xacobe points out breaks the path. My solution wasn't as 'nice' as xacobe's, so I used his and can confirm that it fixes the broken link on our site.
Comment #3
m.stentaThanks, this is committed to the 6.x-1.x branch.