Stealth1 Posted January 10, 2010 Posted January 10, 2010 I installed the complete review system contribution as it is much more user friendly than the stock OSC review system. Now I want to remove the "Reviews" box that appears on product_info pages where it says "Write a review on this product!" I know I can simply put // in front of the line for reviews.php in column_right.php but I still want to display the reviews box on the index.php page where it shows the image of items that have been reviewed before. How can I do this, would I need to modify reviews.php itself or is there some other way to do this?
spooks Posted January 10, 2010 Posted January 10, 2010 I installed the complete review system contribution as it is much more user friendly than the stock OSC review system. Now I want to remove the "Reviews" box that appears on product_info pages where it says "Write a review on this product!" I know I can simply put // in front of the line for reviews.php in column_right.php but I still want to display the reviews box on the index.php page where it shows the image of items that have been reviewed before. How can I do this, would I need to modify reviews.php itself or is there some other way to do this? The entry appears in product_info.php comment out the line in that file. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Stealth1 Posted January 11, 2010 Author Posted January 11, 2010 The entry appears in product_info.php comment out the line in that file. I commented out the line below but the box still showed up for "write a review" on the right column echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, tep_get_all_get_params()) . '">' . tep_image_button('button_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a>';
ehendley Posted May 25, 2010 Posted May 25, 2010 Hmmm ... I don't see how the user can get to write a review at all. I have v2.2 RC2a. (Mostly vanilla install except for Security, Site monitor, Sitemap, EasyPopulate & SEO. There is nothing in my product_info page that would seem to allow it. r/ ed
♥geoffreywalton Posted May 25, 2010 Posted May 25, 2010 Then you need to look in /includes/column_right.php Cheers G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
ehendley Posted May 25, 2010 Posted May 25, 2010 I found the problem! Apparently, my host chose a modified v2.2 RC2a install where someone had commented out reviews in product_info.php! Thanks for the pointers guys. r/ ed PS. Found what i believe to be a good source for the unmodified source code: http://www.codeweblog.com/source/oscommerce/nav.html?index.html
Recommended Posts
Archived
This topic is now archived and is closed to further replies.