Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

continue button in contact page


Guest

Recommended Posts

Hello

 

I have oscommerce 2.3.1 installed and would like to change the button text in contact us page from continue to read send

 

Can someone help me and let me know how I would do this please

 

I cant seem to find any info on it anywhere

 

Thank you

 

Ian

Link to comment
Share on other sites

open catalog/includes/languages/english.phpfind:define('IMAGE_BUTTON_CONTINUE', 'Continue');change it to:define('IMAGE_BUTTON_CONTINUE', 'Send');

 

 

That would change ALL occurrences of the word CONTINUE. To change just the continue button on the contact_us.php page, you will have to give the button a new value and then define it in the english.php file.

 

 

 

Chris

Link to comment
Share on other sites

good point. I am ashamed I didnt think of that.

 

Instead add the following line to catalog/includes/languages/english.php

define('IMAGE_BUTTON_SEND', 'Send');

 

 

then in catalog/contact_us.php

change (around line 100)

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary'); ?></span>

to:

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_SEND, 'triangle-1-e', null, 'primary'); ?></span>

Link to comment
Share on other sites

good point. I am ashamed I didnt think of that.

 

Instead add the following line to catalog/includes/languages/english.php

define('IMAGE_BUTTON_SEND', 'Send');

 

 

then in catalog/contact_us.php

change (around line 100)

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary'); ?></span>

to:

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_SEND, 'triangle-1-e', null, 'primary'); ?></span>

 

 

BUT, you did provide a solution that would have accomplished the task he wanted :)

A little knowledge of php goes a long way.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...