Jump to content
  • 0
Genesis

Don't show email in "my account"?

Question

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.