I'm not finding other posts on this.
I'm using zen vs 1.3.8a, and my server is php 4.3
I installed and modifed the tax id customer data module to create a Consultant field. It's working great in the admin area and on the create account for the customer to add their Consultant's referral code.
I'd like the customer to also be able to view this information and also be able to change it. I was able to succeed at adding the field in the customer account edit page - what is typed in the field is going into the data base.
Now here is my bug that is making me pull my hair out - for some reason I can't seem to pull the data into the form field. I've added the customer consultant field in the queeries on /modules/mytemplate/account_edit/header_php.php and it is going into the data base - just not showing in the field area. Right now I'm scratching my head, because I can't figure out what I'm missing...
Here is my form input code from tpl_account_edit_default.php :
Code:<?php echo ENTRY_CONSULTANT_NUMBER, ' '; ?> <?php echo zen_draw_input_field('customers_consultant', $account->fields['customers_consultant'], 'id="consultant"') . (zen_not_null(ENTRY_CONSULTANT_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_CONSULTANT_NUMBER_TEXT . '</span>': ''); ?>



