View Full Version : Register all account details but show minimum
Lionel Gruffaz
November 1, 2012, 12:04 AM
How is it possible not to show seller first-name and last-name on property listing seller info (realty)
I could manage not to show other details (unchecking show on detail page) but it does not work for name.
I need names as an administrator, but seller wants to stay anonymous.
thanks in advance
Lionel Gruffaz
November 1, 2012, 11:03 AM
I modified in tpl/controllers/listing_details.tpl: line 497 <!-- <div class="username">{$seller_info.Full_name}</div> -->
it seems to work, names or username are now hidden.
Could you just confirm I did right ? Thanks
Vladimir
November 5, 2012, 05:49 AM
Hello,
Yes, your solution works properly.
I suggest you another solution (in this case will hide the username from another pages too):
- open file: includes/classes/rlAccount.class.php;
- go to the method getProfile();
- find this code:
$data['Full_name'] = $data['First_name'] || $data['Last_name'] ? $data['First_name'] .' '. $data['Last_name'] : $data['Username'];
and change it to:
$data['Full_name'] = '';
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.