Pica Posted December 9, 2002 Share Posted December 9, 2002 Hello... I would like to remove the GREEN BAR that appears when user requets a new password through the password_forgotten file. Seeing it shows a message saying a new password was sent, there is no need to add this bar on the top of the window... Plus, it disturbs the layout I made for OSC. I looked all over but couldn't get my hands on it... :evil: Thx, Paulo Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 9, 2002 Share Posted December 9, 2002 Look in the file password_forgotten.php tep_redirect(tep_href_link(FILENAME_LOGIN, 'info_message=' . urlencode(TEXT_PASSWORD_SENT), 'SSL', true, false)); Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 9, 2002 Share Posted December 9, 2002 IF you just need a design change look in /includes/header.php <?php } if ($HTTP_GET_VARS['info_message'] != '') { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo $HTTP_GET_VARS['info_message']; ?></td> </tr> </table> <?php } ?> Quote Link to comment Share on other sites More sharing options...
Pica Posted December 9, 2002 Author Share Posted December 9, 2002 Thanks Linda but... What should I do in that piece of code? Set it to false or so? I wish to show the "password sent" message in the page but not that green bar. Thanks for further clues on this. Paulo. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 10, 2002 Share Posted December 10, 2002 The options were ... edit what happens in the re-direct or edit the styles used so it's not green. If you want the green gone, then edit the header.php and change the styles used when an info_message !='' Quote Link to comment Share on other sites More sharing options...
Pica Posted December 10, 2002 Author Share Posted December 10, 2002 Thanks Linda !!! I just removed the green bar. Seeing I created 3 different headers to use in different additional pages, I forgot to change it as well in the other files but it's ok now. BTW... can't find something you wrote about setting FREE SHIPPING when sellign services. I need to do that... Thanks in advance. Paulo. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 10, 2002 Share Posted December 10, 2002 The Free Shipping and Payment Add-on v5.0 is designed to allow free shipping on orders with a 0 weight. This will hide the other shipping options when weight is 0 and disappear when weight > 0 Peek in the contributions or you can grab this on my site ... I think I added the new version there too ... I think ... :? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.