Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please correct the code sample in KB 59


kahml

Recommended Posts

Hi there!

 

I found this "tip" useful today; however, at first I could not locate the code in product_info.php when I searched for the first couple of characters.

 

Could someone please make a minor change to the document:

 

The old code references:

 

<td width="168" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

 

While the actual code in the file is:

 

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

 

Note the former version has the 'width="168" align="right"' attributes instead of the 'class="main" attribute.

 

Thanks!

 

Larry

Link to comment
Share on other sites

  • 3 weeks later...

Thanks! Has been fixed.

 

 

 

Hi there!

 

I found this "tip" useful today; however, at first I could not locate the code in product_info.php when I searched for the first couple of characters.

 

Could someone please make a minor change to the document:

 

The old code references:

 

<td width="168" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

 

While the actual code in the file is:

 

<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

 

Note the former version has the 'width="168" align="right"' attributes instead of the 'class="main" attribute.

 

Thanks!

 

Larry

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...