Chronoz Posted September 18, 2008 Share Posted September 18, 2008 I have 2 questions, nothing major 1) How can I get rid of the Post Code in the creat_account .php? Here in Costa Rica we dont have that and I think when people see that they dont sign up because they dont know what to put there. I went into the create_account.php and I removed $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); but it still appears, i dont know if I should remove more stuff and in the admin it doesnt say anywhere that I can remove it. And 2) I made a .gif image for a sponser on my page and it works fine, but I notice that I get a red X image only when I'm in SSL pages. Heres some screenshots Any help is much appreciated! Thanks! Regards, Steven Link to comment Share on other sites More sharing options...
keithwilliams Posted September 18, 2008 Share Posted September 18, 2008 Hiya, In create_account.php scroll down a bit further from where you were (around line 450ish) and look for: <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> This is the code that actually places the postcode field in the create account page. Comment it out or delete it (backup first!) As for the picture, I'm not an ssl expert but it must be something to do with where the picture is called from??? I think some setups have duplicate folders - one for http and another for https. In this case the picture would need to be in both folders??? Hope this helps! In life, try everything three times... First, just to see if you like it. A Second, to see if you were mistaken the first, And a third, to see if you tire of it quickly... Link to comment Share on other sites More sharing options...
Chronoz Posted September 18, 2008 Author Share Posted September 18, 2008 Hiya, In create_account.php scroll down a bit further from where you were (around line 450ish) and look for: <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> This is the code that actually places the postcode field in the create account page. Comment it out or delete it (backup first!) As for the picture, I'm not an ssl expert but it must be something to do with where the picture is called from??? I think some setups have duplicate folders - one for http and another for https. In this case the picture would need to be in both folders??? Hope this helps! Perfect! Thanks! Keith! I was able to do the postal code part, now I have to find the SSL part! Thaks for your time! Much appreciated! =D Steve Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.