New Zenner
- Join Date:
- Nov 2006
- Posts:
- 44
- Plugin Contributions:
- 0
Using a guide to change fields in the registration page
Hi ive been looking at darin langs tutorial on how to do this.
the first and second php files he says to change are
includes/modules/pages/create_account/header_php.php and
catalog/includes/templates/YOUR_TEMPLATE/templates/tpl_create_account_default.php
he says to find;
FIND
if (ACCOUNT_COMPANY == 'true') $company = zen_db_prepare_input($_POST['company']);
ADD THIS AFTER
if (ACCOUNT_COMPANY == 'true') $my_website = zen_db_prepare_input($_POST['my_website']);
but it isnt there......
and in the second
FIND:
<tr>
<td class="main"><?php echo ENTRY_COMPANY; ?></td>
<td class="main"><?php echo zen_draw_input_field('company') . ' ' . (zen_not_null(ENTRY_COMPANY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?></td>
</tr>
ADD THIS AFTER:
<tr><td class="main"><?php echo ENTRY_MY_WEBSITE; ?></td><td class="main"><?php echo zen_draw_input_field('my_website') . ' ' . (zen_not_null(ENTRY_MY_WEBSITE_TEXT) ? '<span class="inputRequirement">' . ENTRY_MY_WEBSITE_TEXT . '</span>': ''); ?> </td></tr>
but again i cant find the thing to change becouse they arnt there.......
im using 1.35 version of zen.
this is getting annoying now so any help as to why they arnt there or help on another way to do it would be great.
alternativly if someone could add the fields for me if i sent them the files needed to be edited that would be cool.
thanks in advance.
Jodz. :shocking: +:lamo: = :(