Jump to content
  • 0

Don't show email in "my account"?


Genesis

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   2
  • Joined:  12/01/11
  • Last Seen:  

Hi,

 

In FluxCP, is it possible to have it so when you go to "My Account" the "E-Mail" field is not shown, similarly to  how the Account ID field is marked as "Not Applicable"?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   18
  • Joined:  01/28/12
  • Last Seen:  

Goto {flux_dir}/themes/{your_theme}/account/view.php.
Loor for this line:
 

<?php echo htmlspecialchars($account->email) ?>

Change it to
 

<span class="not-applicable"><?php echo htmlspecialchars(Flux::message('NotApplicableLabel')) ?></span>


Note that the admins will still be able to view the email address as defined in config/access.php

		'account'   => array(
			'index'    => AccountLevel::LOWGM,

 

Link to comment
Share on other sites

×
×
  • Create New...