Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in contribution.. Want to display the


Zuncan

Recommended Posts

Hi!

 

Im trying to install the contribution "Review Text in Reviews List". It seems the contribution has some error in it.

 

http://www.oscommerce.com/community/contributions,332

 

The only thing I want is to display the full review in product_reviews.php.

This will make product_reviews_info.php not needed.

 

Could someone please help me out with this hopefully small problem?

 

/ Zuncan

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

Link to comment
Share on other sites

Here is the code that proberly needs to be modified:

 

 

<td valign="top" class="main"><?php echo tep_break_string(tep_output_string_protected($reviews['reviews_text']), 60, '-<br>') . ((strlen($reviews['reviews_text']) >= 100) ? '..' : '') . '<br><br><i>' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'stars_' . $reviews['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '</i>'; ?></td>
                       <td width="10" align="right"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                     </tr>
                   </table></td>
                 </tr>
               </table></td>
             </tr>
             <tr>
               <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
             </tr>
<?php
   }
?>

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...