Jump to content
Sign in to follow this  
Pica

Green Bar on Password Forgotten

Recommended Posts

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

Share this post


Link to post
Share on other sites

Look in the file password_forgotten.php

 

      tep_redirect(tep_href_link(FILENAME_LOGIN, 'info_message=' . urlencode(TEXT_PASSWORD_SENT), 'SSL', true, false));

Share this post


Link to post
Share on other sites

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

 }

?>

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 !=''

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ... :?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×