Change wording on registation an login pages

Permalink 1 user found helpful
Hi Everybody

Does anybody know how to change the wording on the Login / registration pages, in particular after a new user has registered? I need to change this page...

http://www.akhter.co.uk/index.php/register/register_success_validat...

Is it possible to change the wording on this page?

Regards

Steve

 
formigo replied on at Permalink Reply
formigo
You should copy the register.php file from here...

concrete > controllers


And paste here...

controllers


Then open up the file and change...

<?php 
defined('C5_EXECUTE') or die("Access Denied.");
class RegisterController extends Concrete5_Controller_Register {
}


to...

<?php 
defined('C5_EXECUTE') or die("Access Denied.");
class RegisterController extends Concrete5_Controller_Register {
   public function getRegisterSuccessMsg(){
      return t('Your custom text goes here');
   }
}


This is the safe way to do it in 5.6 and up. If you are doing it in a lower version then the file you copy over, you may need to look for line 272 (or near there) for the function to edit.

Hope this helps.

Cheers

Andy
blokeybloke replied on at Permalink Reply
Thank You

This helped a lot.

Steve