Closed (fixed)
Project:
Commerce PayPal
Version:
7.x-1.x-dev
Component:
User experience
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2011 at 11:31 UTC
Updated:
18 Feb 2012 at 13:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
it-cruSubscribe ..the commerce module has the same problem with the icons of the payment status
Comment #2
7thkey commentedHi there,
I send my first contribution that fix the url path to the paypal icons in a multilingual site.
Hope everything is ok with the patch.
Cheers
Comment #3
ñull commentedWorks here!
Comment #4
PESTO3567 commentedI think this could be easier done without using a global and just base_path() function?
Comment #5
netsensei commentedNew attempt with base_path(). This works for me.
Comment #6
ñull commentedYes, works here too!
Comment #7
7thkey commentedOk with base_path().
Works here!!
Comment #8
mknapik commentedThis same problem occurred for me, but it was because I did not have Clean URLs enabled. The patch corrected the issue.
Comment #9
amitaibuUsing basepath() isn't better. Attached patch uses theme_image()
Comment #10
rszrama commentedThanks, Amitai. Obviously much better. : )
For those above, the path you pass in should be relative to base_path(), and theme_image() uses file_create_url() to get the appropriate final URL for the image. Not using it in the first place was my bad. : P