This project is read-only.

Adding facebook like and other social media buttons to blog

Topics: Customizing Orchard
Oct 31, 2011 at 4:40 PM



Is there a way to apply a widget to the blog only? I'd like to add a facebook like button to blog posts...and possibly the google +1 and twitter follow button.



Oct 31, 2011 at 5:21 PM

Widgets don't apply to content types. For that you need a ContentPart instead (which you can then attach to the BlogPost content type). A widget on the other hand is a content item in its own right that sits in a layout zone.

A search on the Orchard gallery might help you:

There I see two different versions of "AddThis" module, and there's also "FollowMe".