Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What do I need to do if I want to add more


Zuncan

Recommended Posts

Hi!

 

What files do I have to add code to to be able to add more buttons to my shop? I mean buttons like "button_continue.gif" or "button_checkout.gif".

 

Greatful for help / Zuncan

So what?! Who care in a hundred years anyway?

Link to comment
Share on other sites

I want to replace the button in password_forgotten.php. As it is know the customers enters the email and then press "Continue". Kinda logic, but I want it to say something like "Retrive new password".

 

So I want to add a button to catalog/includes/languages/english/images/buttons/

 

This way I can change the image that is showing in this code:

 

<?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?>

 

to

 

<?php echo tep_image_submit('button_newpassword.gif', IMAGE_BUTTON_NEWPASSWORD); ?>

So what?! Who care in a hundred years anyway?

Link to comment
Share on other sites

It sounds like all you want to do is change what's on the button, but not what it does, right? You still want the button to continue them onto the next page.

 

So, do this

 

<?php echo tep_image_submit('button_newpassword.gif', IMAGE_BUTTON_CONTINUE); ?>

 

That will keep the logic of the continue button, but show the graphic of the new one. Of course, you then need to make a new button image named button_newpassword.gif and upload it to the proper directory.

 

That should do it.

Adrienne

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...