mcgyver7923 Posted June 18, 2003 Posted June 18, 2003 I modded the account_details and renamed it. I am e-mailing a password to the customer instead of them choosing and being instantly logged in. My problem is that I can't figure out why the form is not showing up. I know that the catalog/creat_account.php is the file that calls for account_details.php. I think this is where my problem lies. I just can't figure out how many <tr> and <td> tags to use, where to use them, and where to close them. Here is an example of my the code that I took out: <tr> <td class="formAreaTitle"><br><?php echo CATEGORY_PASSWORD; ?></td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"> <?php echo ENTRY_PASSWORD; ?></td> <td class="main"> <?php if ($error) { if ($entry_password_error) { echo tep_draw_password_field('password') . ' ' . ENTRY_PASSWORD_ERROR; } else { echo PASSWORD_HIDDEN . tep_draw_hidden_field('password') . tep_draw_hidden_field('confirmation'); } } else { echo tep_draw_password_field('password') . ' ' . ENTRY_PASSWORD_TEXT; } ?></td> </tr> here is the code I replaced that code with: <tr> <td class="formAreaTitle"><br><?php echo NEW_CATEGORY_PASSWORD; ?></td> </tr> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><?php echo ENTRY_EMAIL_WARNING; ?> <tr> </tr> IF anyone can figure out why this is causing the entire form not to show up that would be great!!! If more info is needed please let me know....I can post part of my ceate_account.php, or more the account_details.php if needed!!! :D :D :D THANKS!!!! :wink: -Richard --------------------------------------------------- Where would I be without the Forums?!?!
Guest Posted June 18, 2003 Posted June 18, 2003 Do you have access to the server's error log? That would tell which file and which line is having the problem. Charlie
mcgyver7923 Posted June 18, 2003 Author Posted June 18, 2003 Charlie, I am looking into it. Is this mod working for you?? Can you copy the code from the bottom of your new_account_details.php page...showing the code above your snippet and below to the end of the file? Also can you copy your create_account.php specifically from where it calls out for new_account_details.php and below? That might be helpful for me to troubleshoot this. Also r u getting a password in your e-mail?? I am using 2.2 Ms1 as far as i know. It is one of Ian's loaded versions. I think 3. Thanks so much for all you help!!! -Richard --------------------------------------------------- Where would I be without the Forums?!?!
Guest Posted June 18, 2003 Posted June 18, 2003 Working perfectly for me. I have alot of mods in place, so my code may be different from yours. Download the files here I zipped the 3 files together for you. create_account.php, create_account_process.php, and includes/modules/new_account_details.php for you to compare. Let me know when you d/l the files, so I can delete them off the site. Charlie
derek02 Posted June 19, 2003 Posted June 19, 2003 I just can't figure out how many <tr> and <td> tags to use, where to use them, and where to close them. Hopefully osCommerce will switch to using css for layout instead of tables. It can really get confusing trying to figure out where to add a tag or delete one. Derek Cox Furniture factory worker, aspiring millionaire.
mcgyver7923 Posted June 19, 2003 Author Posted June 19, 2003 Charlie, I downloaded the files, and I figured it out!!! Thanks!!! You had a "}" commented out in one of the last php statements. Thanks a ton man!!! Everything seems to be working fine now!!! Now to make a link in the sign up e-mail so customers can easily return to the login page!!! Thanks again!!!! I'll be cleaing up your install file and outlining all the steps, I'll let you know when it is ready and you can re-contrib if u like!! :D :D :D :D :D :D :D :shock: :D :D :D :D :lol: -Richard --------------------------------------------------- Where would I be without the Forums?!?!
Guest Posted June 19, 2003 Posted June 19, 2003 Go ahead and reupload it as a revision when you get it done. You get credit on it too for doing the cleanup/revision. 8) Charlie
Recommended Posts
Archived
This topic is now archived and is closed to further replies.