Hi, Luis.
You mean that when user receives PM, it should receive only internal message without e-mail?
You can set this in Backen -> Components -> JomSocial -> Configuration -> Privacy -> Emails & Notification -> New Private Messages
Just un-check email box.
Hi.
OK, I see... so you'll have to edit all email template and remove it content.
Copy this file:
ROOT/components/com_community/templates/default/email.html.php
to:
ROOT/templates/your-template/html/com_community (if you don't have "html" or "com_community" folders, feel free to create them)
Then edit file in line 32 by removing or replacing with your own text;
<?php echo $content; ?>
Hi, Luis.
Just delete code i mentioned above and replace it with your own text - just like that :)
Hi, Luis.
So you want to keep previous content for certain emails - like group join...
Then you'll have to edit particular file...
ROOT/components/com_community/templates/default/email.inbox.sent.html.php
This file contain language constant with variables so you may delete it and replace by your own content.
Or edit text for language constant: COM_COMMUNITY_EMAIL_INBOX_SENT using Joomla! language override feature:
documentation.jomsocial.com/wiki/Changin...gle_Sentence_or_Word
E.g"
"Hi {target},\n\n{actor} just sent you a new message. You can read it on the site here:\n\n<a href="_QQQ_{url}_QQQ_">{url}</a>\n\n\nHave a nice day!"
Hi, Luis.
Yes, if you created override (copied to html folder), if you edited file in original location, then just roll back your changes.
Another related question, when I receive email from jomsocial appears the link, but from my program (Mail apple), although the link, clicking on it, do not send me to the Web page appears, I copy the link so Manual and paste it into your browser, however other emails if it answers your bonds, which may be related this? how can you solve? Thank you very much.
Hi, Luis.
I use Thunderbird and every URL in notification mail is clickable. So I bet on your Mail apple configuration.
Does it apply only for JomSocial related emails?
Are you able to check html code of email and see if there is correct URL (like this" <a href="url">Text</a>
You may have not explained well, all links are working properly jomsocial less which is now generated for messages, following the change in language from backend.
In short, I followed all the steps to arrive emails as you told me, but the link that is generated does not work like the rest of the links of other post jomsocial, there must be something wrong.
Hi, Luis.
When using overrides Joomla! adds ". and in ini file only usage of _QQQ_ is possible. So in overrides _QQQ_ is spared and may break the URL.
I removed it from override text. Please, try now.