Jump to content
  • 0

Don't show email in "my account"?


Question

Posted

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"?

1 answer to this question

Recommended Posts

  • 0
Posted

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,

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...