Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hi there,

 

I am trying to add this enhancement, but slightly stuck at Step 4. Does "On this same file" refer to:

 

STEP 3

=======

 

ON THE SAME PAGE catalog/contact_us.php

 

...or am I being thick? I've looked in catalog/contact_us.php and not been able to find the script referred to.

 

STEP 4

======

 

In this same file search for the word "success" and replace it with "send".

The line that you are looking for looks like this:

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {

 

and it should look like this:

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {

 

Any help would be appreciated.

 

Mark

Edited by Jan Zonjee
Posted
Hi there,

 

I am trying to add this enhancement, but slightly stuck at Step 4. Does "On this same file" refer to:

 

STEP 3

=======

 

ON THE SAME PAGE catalog/contact_us.php

 

...or am I being thick? I've looked in catalog/contact_us.php and not been able to find the script referred to.

 

STEP 4

======

 

In this same file search for the word "success" and replace it with "send".

The line that you are looking for looks like this:

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {

 

and it should look like this:

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {

 

Any help would be appreciated.

 

Mark.

http://www.toptoners.co.uk/catalog

On line 82 on unmodified RC1.

 

This may help:

 

<?php

}

 

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {

?>

<tr>

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...