- Posts: 19
- Thank you received: 0
Falang & Acybamailer
13 years 3 weeks ago #122051
by polo2010
Copenhagen, Denmark.
Falang & Acybamailer was created by polo2010
I am using starter Acymail with the Hikashop business and the acybamail plugin and it works fine. However I am also using the Falang multilingual component and when switching from default language it shows the links to Items with the new language ending (zh-CN) but when sending a test mail it sends default English! Is there some plugin. I am also testing with K2 plugin and it does not work. I kave contacted Acyba and they are looking into this, but the Hikashop plugin is not Acymailing product but Hikashop. I have attached a screen shot of error.
Copenhagen, Denmark.
Please Log in or Create an account to join the conversation.
13 years 3 weeks ago #122065
by nicolas
Replied by nicolas on topic Falang & Acybamailer
Hi,
Change the line:
$query = "SELECT reference_field, value FROM `#__jf_content` WHERE `published` = 1 AND `reference_table` = 'hikashop_product' AND `language_id` = $langid AND `reference_id` = ".$tag->id;
to:
$query = "SELECT reference_field, value FROM `#__falang_content` WHERE `published` = 1 AND `reference_table` = 'hikashop_product' AND `language_id` = $langid AND `reference_id` = ".$tag->id;
in the file plugins/acymailing/hikashop/hikashop.php and that should fix the problem.
Change the line:
$query = "SELECT reference_field, value FROM `#__jf_content` WHERE `published` = 1 AND `reference_table` = 'hikashop_product' AND `language_id` = $langid AND `reference_id` = ".$tag->id;
to:
$query = "SELECT reference_field, value FROM `#__falang_content` WHERE `published` = 1 AND `reference_table` = 'hikashop_product' AND `language_id` = $langid AND `reference_id` = ".$tag->id;
in the file plugins/acymailing/hikashop/hikashop.php and that should fix the problem.
Please Log in or Create an account to join the conversation.
13 years 3 weeks ago #122250
by polo2010
Copenhagen, Denmark.
Replied by polo2010 on topic Falang & Acybamailer
OK - line 637 - changed jf_content to - falang_content. Works now fine. Thanks...
Copenhagen, Denmark.
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds