jDiction Forum

English => Install & Configure jDiction => Topic started by: salher on June 23, 2016, 02:24:28 pm

Title: Acymailing
Post by: salher on June 23, 2016, 02:24:28 pm
Hi, is there a way to make Jdiction work with Acymailing?.
Title: Re: Acymailing
Post by: Harald Leithner on June 23, 2016, 02:41:20 pm
what part?

It doesn't make much sense because acymailing is a newsletter tool where you could send different mails to different recipients and jdiction translates the frontend....
Title: Re: Acymailing
Post by: salher on June 23, 2016, 03:19:34 pm
what part?

It doesn't make much sense because acymailing is a newsletter tool where you could send different mails to different recipients and jdiction translates the frontend....

The issue is when inserting an article tag in a newsletter.  The article is always in default language no matter what language you choose.
Tags are inserted this way:

{joomlacontent:211| type:full| link| pict:1| format:TOP_LEFT|lang:fr}

Once the Id of the article is selected it shoud get the translation stated in "lang" (lang:fr). But it does not work unfortunately.

Title: Re: Acymailing
Post by: Harald Leithner on June 23, 2016, 03:22:27 pm
hmm, could you give me an example link that is generated by acymailing?

I have acymailing but not in combination with a jdiction installation so I can't test without creating such an installation...

I think that acymailing have to create a link with no language tag in the url, or uses the non SEF urls (index.php?Itemid=123)
Title: Re: Acymailing
Post by: salher on June 23, 2016, 03:59:14 pm
Strangely enough the link of the title (Newsletter) points to the right article and language. As you can see here, it is in french (lang=fr).
But the text imported to the newsletter template is in the default language (English).
I'm afraid that acymailing does not know where to get the translation of the article.


index.php?option=com_content&view=article&id=211:oil-separator-with-by-pass&catid=41:latest-news&Itemid=109&lang=fr&acm=1_45

Title: Re: Acymailing
Post by: Harald Leithner on June 23, 2016, 04:06:41 pm
the reason for this is that acymailing loads it from the database and jdiction doesn't translate queries from the backend. Even if we change acymailing to tell jdiction that we want to load the correct language (there is an api for that) jdiction wouldn't do it because its disabled in the backend....
Title: Re: Acymailing
Post by: salher on June 24, 2016, 08:42:11 am
the reason for this is that acymailing loads it from the database and jdiction doesn't translate queries from the backend. Even if we change acymailing to tell jdiction that we want to load the correct language (there is an api for that) jdiction wouldn't do it because its disabled in the backend....

Ok, Thank you for your answer. So there is no way to work it around.
Title: Re: Acymailing
Post by: Harald Leithner on June 24, 2016, 09:48:44 am
Only with support von acymailing developers or hacking acymailing core.
Title: Re: Acymailing
Post by: Harald Leithner on June 24, 2016, 09:51:00 am
I have seen acymailing has support for falang, so maybe that could be a point to add jdiction support.