I create a custom tab on the admin customer edit page. However what I want to do is get the customers email address to display on the page.
I tried to look for the code that produces the Account information tab but could not find it.
I tried something like in my app/design/adminhtml/default/default/template/customertab/tab.phtml however this seems to just break the page meaning just the first tab loads the rest of the page is blank white.
<div id="customer_info_tabs_customer_edit_tab_action_content"> <div class="entry-edit"> <div class="entry-edit-head"> <h4 class="icon-head head-edit-form fieldset-legend">Contact Customer</h4> </div> <div id="group_fields4" class="fieldset fieldset-wide"> <div class="hor-scroll"> <table class="form-list" cellspacing="0"> <tbody> <tr> <td><?php echo $this->htmlEscape($this->getCustomer()->getEmail; ?> </td> </tr> </tbody> </table> </div> </div> </div> </div>