
17Aug/100
Use Facebook “Like” Widget in product.SimpleProduct.xml XMLPackage in AspDotNetStorefront
ASPDNSF Version: 9 (C# + MS SQL)
It's very easy to embed the Facebook "Like" widget into an XMLPackage (like the product pages for example) within AspDotNetStorefront. Simply add the following code to your XMLPackage:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.yoursite.com%2F(!PAGEURL!)&layout=button_count& show_faces=false&width=50&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe>
Of course, you should adjust the iframe variables to your liking.
