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

CommentFileSizeAuthor
ucfollowup.jpg118.52 KBxacobe

Comments

xacobe’s picture

I 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 .'" />',

jlockhart’s picture

I'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.

m.stenta’s picture

Status: Active » Closed (fixed)

Thanks, this is committed to the 6.x-1.x branch.