Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / New Ad email in multilanguage

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

New Ad email in multilanguage

  • giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com's Avatar Topic Author
  • Offline
  • User
  • User
More
10 years 8 months ago #18937 by giovanni.giunco@gmail.com
New Ad email in multilanguage was created by giovanni.giunco@gmail.com
Hi all,

my website is multilingual and I'm trying to make multilingual the emails that Adsm send to the users when the Ad status change.
In Adsm Configuration page, I put _MY_NEW_AD_SUBJECT_EMAIL in the New Ad subject field and _MY_NEW_AD_BODY_EMAIL in the New Ad body field. Then I ovveride these strings in the usual Joomla way.

It does not work. The user receive an email containg the literal strings _MY_NEW_AD_SUBJECT_EMAIL and _MY_NEW_AD_BODY_EMAIL (not substituted by the override value).

Have you any suggestion?

Thanks in advance
Giovanni

Versions:
Adsmanager 3.1.4
Community Builder 2.0.13
Joomla! 3.4.8
The following user(s) said Thank You: adarr
More
10 years 7 months ago #18963 by tompap
Replied by tompap on topic New Ad email in multilanguage
In models/content.php
you will have to do some custom code like

function sendMailToAdmin($subject,$body,$user,$content,$conf,$type) {
$subject = TText::_($subject);
$body = TText::_($body);

function sendMailToUser($subject,$body,$user,$content,$conf,$type) {
same here:
$subject = TText::_($subject);
$body = TText::_($body);

Please note that this is out of classical support, just give some clues to help you.
The following user(s) said Thank You: adarr, giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com
  • giovanni.giunco@gmail.com's Avatar Topic Author
  • Offline
  • User
  • User
More
10 years 7 months ago #18991 by giovanni.giunco@gmail.com
Replied by giovanni.giunco@gmail.com on topic New Ad email in multilanguage
Thank you. I will try.

Versions:
Adsmanager 3.1.4
Community Builder 2.0.13
Joomla! 3.4.8
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.048 seconds
Powered by Kunena Forum