Recent Topics

Change recipient name on contact message confirmation

Started by on Nov 09, 2018 – Contents updated: Nov 11, 2018

Nov 09, 2018 09:43    

Change recipient name on contact message confirmation

Is there a back office option to change the name shown on the confirmation of sending a message?

Nov 10, 2018 14:16

Re the problem. I didn't want anyone to see any user detail as in user name.
I have hacked [/htsrsv/message_send.php]
From

	{	{	// If EMAIL has been sent:
		$Messages->add( sprintf( T_('You have successfully sent an email to %s.'),
			( empty( $recipient_User ) ? $recipient_name : $recipient_User->get_username() ) ), 'success' );
	}
	}

To
	{	{    // If EMAIL has been sent:
		/* $Messages->add( sprintf( T_('You have successfully sent an email to %s.'),
		( empty( $recipient_User ) ? $recipient_name : $recipient_User->get_username() ) ), 'success' );*/
		$Messages->add( T_('You have successfully sent an email to the Site Manager.'), 'success' );
	}

I could probably do more like: [get_usernick()] or something


Form is loading...

CMS + email marketing – This forum is powered by b2evolution CMS, a complete engine for your website.