AddThis Controls


posted by Nick
07-02-2008

Downloads: 26
File size: 10.5kB
Views: 127
AddThis Controls

Add this controls for Community Server.

Installation Instructions

  1. Go to www.AddThis.com and register for an account
  2. Remember your username, replace %1 in the code bellow
  3. Register add this controls in the web.config
    [code]
    <add tagPrefix="nb" namespace="nb.development.addthis" assembly="addthis"/>
    [/code]
  4. Add the controls to the pages
    • For post links add
      [code]
      <nb:AddThisPost runat="server" Username="%1" Style="[Bookmark, Share, AddThis, Plus, Bookmark_Small, Share_Small]" />
      [/code]
    • For RSS feed links add
      [code]
      <nb:AddThisFeed runat="server" Username="%1" LinkTo="[SectionRSS|PostRSS|CommentsRSS (Blog Only)|AppRSS (Forum Only)]" Style="[Subscribe, RSS, Subscribe_Big, RSS_Big, Subscribe_Small, RSS_Small]" />
      [/code]

All controls are chameleon controls, and should pick up the datasource of whatever place they are placed.