Space between first, middle and last name in My Account

01.07.2015 16:34
#1
communicat
Joomshopping forum user no avatar
Name: communicat
17.05.2011
Posts: 65
Quote
Space between first, middle and last name in My Account

Hi,

A clients name will show like this in the My Account section of Joomshopping:

JohnVonHaren

John is the first name, Von the middle name and Haren the last name. How can I add spaces between these?

Code in ..._jshopping/templates/default/user/myaccount.php:

<?php if ($config_fields['f_name']['display'] || $config_fields['m_name']['display'] || $config_fields['l_name']['display']){?>
<div class="name"><?php print $this->user->f_name. $this->user->m_name. $this->user->l_name;?></div>
<?php }?>

Any help is greatly appreciated!


Joomla: 3.4.1
JoomShopping: 4.9.2
PHP: 5.4.42
Website Url: offline
 
02.07.2015 07:37
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16513
Quote
Aw: Space between first, middle and last name in My Account

<?php print $this->user->f_name." ".$this->user->m_name." ".$this->user->l_name;?>

 
02.07.2015 09:00
#3
communicat
Joomshopping forum user no avatar
Name: communicat
17.05.2011
Posts: 65
Quote
Aw: Space between first, middle and last name in My Account

This worked! Thank you very much.

 
Copyrights MAXXmarketing GmbH. All Rights Reserved