Me again. I wanted to add a field called 'Becker' so I followed your instructions in the customize section to copy a field. I receive the following error on my new field: Notice: Use of undefined constant RSTR_BECKER - assumed 'RSTR_BECKER' in /contacts/codelib/asc/df.fl.psi_contacts.inc.php on line 266 I added the field in my table and added the array in the asc file.
This is the code: /contacts/staff/tpl.psi_contacts.detail.inc.php <td class='column_caption'> <?php if ( $b_reg || $b_edit ) { ?><span class="required"></span><?php } ?> <?php echo RSTR_BECKER; ?> : </td> <td class='column_value'><?php echo $hm->Zb('rs:def:becker'); ?>
I added the field in my table and added the array in the asc file.
This is the code:
/contacts/staff/tpl.psi_contacts.detail.inc.php
<td class='column_caption'>
<?php if ( $b_reg || $b_edit ) { ?><span class="required"></span><?php } ?>
<?php echo RSTR_BECKER; ?> :
</td>
<td class='column_value'><?php echo $hm->Zb('rs:def:becker'); ?>
I also defined a selection list
Any idea? Thanks Tom