1,164

Downloads

857

Downloads of v 0.65.0

2011-12-19

Last published

AddThisHelper

0.65.0

A problem has been corrected prventing it from installing properly. Install this v0.65 as the latest version.

An HtmlHelper that easily allows you to enable AddThis functionality with analytic tracking on your MVC 3 site. The helper renders one of 9 AddThis Styles. You can see those 9 types at AddThis.com/Get/Sharing. Before using the helper you will need an AddThis account. This account is for the purposes of analytical data. Go to the AddThis site and register.

In your web.config file, create a new entry in appSettings call pubid:

<add key="pubid" value="your profile id goes here" />

Once you have installed the package via NuGet, the helper can used in the page of your choice via:

@RiderDesignMvc.Helpers.AddThisHelper.AddThis32x32

In this example, the code will render the buttons as 32x32 icons. There are 9 methods that can be called with this helper.

Just call the appropriate method to render the AddThis style of your choice

To install AddThisHelper, run the following command in the Package Manager Console

PM> Install-Package AddThisHelper

Owners

Authors

Ashok Padmanabhan

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated