Closed (fixed)
Project:
TranslateThis Button
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 14:03 UTC
Updated:
1 May 2011 at 09:21 UTC
Hi there i would like to change the default button image. I saw there as an option in the configuration tab to do this. I tried it but i can only get the custom button on my home page, on every other page it is invisible because the code points to www.mysite.com/subpage/custombuttonimage.png whilste it should always point to www.mysite.com/custombuttonimage.png . Is there anyone who can help ?
Comments
Comment #1
Pieter Maes commentedis there a workarround?
thank you
Comment #2
BarisW commentedAh you're right. Fixed in 6.x-1.x-dev and will be added to the next official release.
The workaround would be to open translate_this.module, find rule 112 and change:
$button_path = variable_get('translate_this_alternate_button_image_path', '');into
$button_path = url(variable_get('translate_this_alternate_button_image_path', ''));Comment #3
BarisW commented