facebook  linkedin  Twitter  skype  Rss googlePlus

Add Social Networking Bookmarks to the DNN Blog

Jun 04 2008
9157

Have you seen those social bookmarks icons on weblogs now that allow your users to bookmark your blog entry on facebook, or some other social network? It is pretty easy to modify the DNN blog module to add that functionality. You can see an example of this on the blog module I customized on one of our FanGap.com network sites called JonasBrothersFan.com.
First you need to go to AddThis and sign up for an account so you can add the code to the ascx page on the DNN blog module. Once you complete the registration process on AddThis, you can get some client side code to paste into the DNN blog module.
Now that you signed up and have the code, find the ViewEntry.ascx page in the DesktopModules\Blog directory.
In the ViewEntry.ascx page you're going to paste the code within the ascx page so it looks something like the following:




onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')"
onmouseout="addthis_close()" onclick="return addthis_sendto()">src="http://s9.addthis.com/button1-share.gif" width="125" height="16"
border="0" alt="" />

                                 

ImageUrl="~/desktopmodules/Blog/Images/feed-icon-12x12.gif"
Target="_blank" resourcekey="lnkRss">

Then just save the page, and you should now have the icon in your page.

 

About the Author, Patrick Santry

Patrick Santry, has two decades of experience in enabling businesses to take advantage of the digital landscape. A well rounded experience in technology, and business is what sets me apart from the rest of the pack. When it comes to an overall digital strategy my experience is impressive.

BS in Computer Information Systems. Four time recipient of the Microsoft MVP Award, and author of several books and magazine articles on digital technologies.


blog comments powered by Disqus

 

Thank you for visiting our site, before you leave, please visit some of the areas or information you may have missed.

Popular Articles