Customer Reviews Add-on by Stokes Web Development
Product Bot Pages
Previous Top Next

This page shows you how to install the Controls on a product bot page.

To install a Rating control:
Open your page and at the very top of the page before any text add the following:
  
<%@ Register TagPrefix="StokesWeb" TagName="ReviewRating" Src="ReviewRating.ascx" %>

Then at the point on the page where you want the  rating control to show, insert this code (all one line):
  
<StokesWeb:ReviewRating id="reviewrating" ProductID='***' runat="server" />

Replace *** with the uid number of the product it is for.

Save the file.

NOTE: You can install multiple rating controls on a page but if you do, include the "register" code at the top of the page only once.


To install a Summary control:
Open your page and at the very top of the page before any text add the following:
  
<%@ Register TagPrefix="StokesWeb" TagName="ReviewSummary" Src="ReviewSummary.ascx" %>

Then at the point on the page where you want the  rating control to show, insert this code (all one line):
  
<StokesWeb:ReviewSummary id="reviewsummary" ProductID='***' runat="server" />

Replace *** with the uid number of the product it is for.

Save the file.


To install a List control:
Open your page and at the very top of the page before any text add the following:
  
<%@ Register TagPrefix="StokesWeb" TagName="ReviewList" Src="ReviewList.ascx" %>

Then at the point on the page where you want the  rating control to show, insert this code (all one line):
  
<StokesWeb:ReviewList id="reviewlist" PageSize="5" ProductID='***' runat="server" />

Replace *** with the uid number of the product it is for.

Save the file.

 
 
 Next Step: Global.asax.vb Modification

 See Also: Customization - Review Rating Control
            Customization - Review Summary Control
            Customization - Review List Control


Copyright © 2008 by Stokes Web Development.  All Rights Reserved.