By Lars Jan on Friday, 09 October 2015
Posted in General Issues
Likes 0
Views 512
Votes 0
Hi all,

thanks Stackideas for these awesome components. I run Easysocial and EsasyBlog and they work flawlessly. Great and intuitive GUI, good strcutures ... well really good. OK now my question. I have tried to get answers via forum search and although this question has been asked a few times i cant really find a satisfying answer that helps me to achieve what I want to do.

Like many I need to be able to customise the text in most of the email comms that is send to new users on registration and via friend requests. I need to add a couple of more paragraphs explaining a bit more what the site is.. nothing major.

for the logochange i followed your instructions and it works but i really need the text to change a bit

where can i find the original text passages that are pulled for these emails?

This is really really important for me and appreciate your help
cheers lars
Hi Lars... Have you tried Joomla Language Overrides... (Extensions > Language > Overrides)... It's an awesome feature... you just find the EasySocial language string you want to change, and add your own text... This way, it survives EasySocial updates.
·
Monday, 12 October 2015 07:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Lars,

I am really sorry for the delay of this reply.

Like many I need to be able to customise the text in most of the email comms that is send to new users on registration and via friend requests

The file is located as follow:
1) Welcome Email - \components\com_easysocial\themes\wireframe\emails\html\registration\login.php
2) Friend Request Email - \components\com_easysocial\themes\wireframe\emails\html\friends\request.php

Hope these help.
·
Friday, 09 October 2015 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

thanks for this. However, I cannot find the actual standard text in the emails. That's what I want to change. So for example when an existing user sends an invite to a friend who is not yet on the site. This person get an invite email and it has a heading and text and link obviously to the site ---
Hello,

EXISTING USER invited you to join the site to get connected. The user has also sent you a message along with this request below:


I want to be able to customise the above text. Not only for this invite function but also registration function. I can see in the files you pointed out something like this

JText::_( 'COM_EASYSOCIAL_EMAILS_REGISTRATION_HEADING' )


JText::_( 'COM_EASYSOCIAL_EMAILS_REGISTRATION_SUBHEADING' )


JText::_( 'COM_EASYSOCIAL_EMAILS_REGISTRATION_THANK_YOU_FOR_REGISTERING_COMPLETED' )


It looks like these are the functions that call the content text but where can i find it?

Many thanks

Lars
·
Friday, 09 October 2015 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
OK found what I was looking for

in languages ---> en-GB.com_easysocial.ini

This is where I can change the standar text.

I guess my changes will be overridden with next update ? Can I solve this with a template override ? And how? Many thannks and have a great weekend
·
Friday, 09 October 2015 21:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately I was a bit too eager I think. Whenever I change any text in the en-GB.com_easysocial.ini file and load it back into the folder Easysocial wont work anymore and I had to revert back to the original file.

Can you help me an let me know how I can customize the text in the en-GB.com_easysocial.ini without corrupting the file?

Many thanks
·
Monday, 12 October 2015 06:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Andy!!

My hero! Thanks man - EXACTLY what I was looking for and works like a charm. One big virtual hug your way!

Really thanks a lot!! BTW did I miss this or is this in the documentation? There are plenty of questions related to changing the email content for invites / registration etc on this forum, but I have not see a comprehensive answer anywhere...

I know language overrides are described somewhere but it would make sense to explain this related to a real life example. Maybe the lovely Stackideas people can lick this up :-)

Thanks again
Lars
·
Monday, 12 October 2015 07:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Lars,

We will update the documentation soon.
·
Monday, 12 October 2015 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Nick, you guys doing a splendid job! Best support ever!!

Cheers Lars
·
Monday, 12 October 2015 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Lars,

Thanks for your compliments Glad to hear your issue now resolved.
Have a nice day!
Sam
·
Monday, 12 October 2015 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Is there any documentation on this yet? I would love to customize my email text content too
Jan
·
Monday, 19 October 2015 08:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Jan,

I am really sorry for the delay of this reply as it is a weekend for us here. There's 2 way to override the output of an email content.

1. Altering the language strings as mentioned above.

2. Overriding the email template file using template overrides, http://stackideas.com/docs/easysocial/administrators/templating/template-overrides
·
Monday, 19 October 2015 09:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Yes I saw that, let me be more specific; where are the email templates located? I want to edit the text.
I've already found the logo and got that one working ;-).

--Jan
Jan
·
Monday, 19 October 2015 17:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jan,

The file is located as follow:
1) Welcome Email - \components\com_easysocial\themes\wireframe\emails\html\registration\login.php
2) Friend Request Email - \components\com_easysocial\themes\wireframe\emails\html\friends\request.php

I will forward this to our docs department so they can create an appropriate documentation for this.
·
Monday, 19 October 2015 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Ezrul,

Thanks for replying.

Sorry if I'm being a noob here, but I can't find the email text in the files.

For example, the email I receive for activation has this text:
------------------------------------
Welcome On Board!
Here are your particulars, just for the recap.
divider

Your account is created and must be activated before you may login to the site.
To activate your account, click on the following link or copy-paste it in your browser:
Activate Now

Alternatively, you may copy the token below and
paste it when you access the activation page at the activation page.
----------------------------------------------

Let's say I want to change the 'Welcome On Board!' to something else.... how do I do that?

--Jan
Jan
·
Monday, 19 October 2015 18:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jan,

Inside those file you can see the language constant where easysocial used for the language translation inside the language file, http://screencast.com/t/G3uV6PL88m . You can then search the string from the constant inside your language file as example below:
COM_EASYSOCIAL_EMAILS_REGISTRATION_HEADING="Welcome On Board!"
COM_EASYSOCIAL_EMAILS_REGISTRATION_SUBHEADING="Here are your particulars, just for the recap."


Hope these help.
·
Monday, 19 October 2015 19:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah thanks Ezrul!

I edited this file:
public_html/language/en-GB/en-GB.com_easysocial.ini

And it works! Thanks a lot!

--Jan
Jan
·
Monday, 19 October 2015 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Jan, glad that your issues are resolved now By the way, I am locking this thread just in case it goes out of topic but if any of you need any help, please feel free to start a new support thread
·
Monday, 19 October 2015 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post