Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Using a guide to change fields in the registration page

Using a guide to change fields in the registration page

Locked

Views: 1,124

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Nov 2006, 11:25 AM
#1
jodz avatar

jodz

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: = :(

7 Nov 2006, 11:59 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Using a guide to change fields in the registration page

Hi ive been looking at darin langs tutorial on how to do this.
Where is this ?? A link would have been helpful...

It looks as though this tutorial might be for and older version of ZenCart...but this is a guess and seeing the tutorial would verify if this is the case

7 Nov 2006, 12:08 PM
#3
jodz avatar

jodz

New Zenner

Join Date:
Nov 2006
Posts:
44
Plugin Contributions:
0

Re: Using a guide to change fields in the registration page

http://doolang.com/zen/HowToAddaField.txt

If this is for an older version could someone please direct me to a tutorial that works, Or again if someone would be willing to edit the signup page for me that would be even better.

thanks gain,
Jodz.

8 Nov 2006, 7:08 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Using a guide to change fields in the registration page

In the first lines it states> This file is a modification of the TaxId Module available from the Zen Cart site.
Do you have this module? I have not looked but this may be part of the files in the module.