i am using Joomla 2.5 user registration form .After successful registration user will get Activation link throw their registered mail id . I want to Add some content to email body(Footer). i have tried a lot but not succeeded.

Code : registration.php

i tried this .

$emailBody = JText::sprintf(
                $data['username'].'regarts: mysitename'


but the problem is "user name" and 'regarts: mysitename' both are coming in a same line. even
all so not working . what is the solution for this ?

1 Answer 1


Why you are editing core files. When an updates comes all your changes lost!.

do not edit core files you can override default messages by adding template overrides.

go to admin -> Extension -> Language Manager -> Override ->

Add your constant set your custom message. Done !

Hope it make sense..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.