Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want to change a button


ajpeters

Recommended Posts

Posted

I have found several places to change buttons, but I would specifically like to change the continue button (button_continue.gif) in contactus to send email (button_sendemail.gif). I have already created the button and uploaded to English language images folder. I now need where I add the define for this button and which page as the link with the button.

 

I.E. what files do I change? If there is a general answer on top of a specific one for contact_us, that would be great

 

Thanks

John

Posted

If you overwrite the old image the code was using with the new image you don't have to change anything at all.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
If you overwrite the old image the code was using with the new image you don't have to change anything at all.

the Continue button is used on more than one page. I need a new button to say send mail and and use it on the contact page.

Posted

/catalog/contact_us.php

 

                <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('[color="#FF0000"]button_continue.gif[/color]', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...