Customer Reviews Add-on by Stokes Web Development
Compilesite Modification
Previous Top Next

In order for the Storefront code to properly reference the new code when you compile the website, the compilesite.aspx.vb file needs to be modified.

Open your compilesite.aspx.vb file in notepad and find the following line of code:
  
strB.Append(strDir & "\bin\UITools.dll,")


Then directly after that line add the following code in red:
  
strB.Append(strDir & "\bin\UITools.dll,")
'*** New Code by www.stokesweb.com
        strB.Append(strDir & "\bin\swReviews.dll,")
'*** End New Code

 
Save the file and then recompile your website by loading the compilesite.aspx page in a browser window and make sure you get a clean compile.  A clean compile will look like this:

Clean Compile
 
If you have any additional text shown then there were errors. Do not proceed until these errors have been corrected and you get a clean compile.

If your site has a ssl/bin folder, copy the bin/storefront.dll file and paste it into that folder.

NOTE: If your site uses a page other than compilesite.aspx to compile with, the above new code will need to be added to the codebehind for the page that you do use and then that page will need to be ran to compile the site. 

 

 Next Step: Style Sheet Modification
 
 
Copyright © 2008 by Stokes Web Development.  All Rights Reserved.