HomeHomeUltimate DNN Bl...Ultimate DNN Bl...Support IssuesSupport IssuesAdding a "Facebook Like" buttonAdding a "Facebook Like" button
Previous
 
Next
New Post
8/10/2010 8:33 AM
 

Is there any way to automate the addition of a Facebook "Like Button" to each blog post?

Thanks!

 
New Post
8/10/2010 9:14 PM
 
Yep - you can add it to the skin.

For example, see http://tek.ms/dz4C0p - we have the Facebook like button in all blog posts.

AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
 
New Post
8/10/2010 10:02 PM
 

Matt

Great, thanks for your contributions. And now I am also looking into the built-in way to make it work and in my oponion it should be easier.

Cheer.

Baldwin


Ultimate DNN Blog Module - SunBlogNuke
 
New Post
8/11/2010 7:31 AM
 

Matt thanks for the response.

Can you share any additional details as to how you implemented it?

Are you using the Iframe version?

 
New Post
8/11/2010 7:51 AM
 
Sure. Yes, I'm using the iframe version. I find it works best within a table structure, and all it takes is a couple of lines within the DetailView.ascx for your skin.

Below is the excerpt from my skin, which ensures Facebook get the correct link. I pop this below the toolkit:Toolbar section of the skin.

<td style="text-align:left;vertical-align:middle;">
<iframe src="http://www.facebook.com/plugins/like.php?href=<%=Entry.Link%>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:50px;text-align:left;"></iframe>
</td>


AuTechHeads - An Australian group for geeks. Visit us at http://www.autechheads.com!
 
New Post
8/11/2010 10:53 PM
 

Matt,

Excellent, thanks for your sharing. As I mentioned, our module also support more easy way to do it from v3.7.1. Just follow the steps below:

1) Enter the "Customize" panel from dashborad.

2) Switch the "widget" tab and choose the "Footer in the post" item from the dropdown list.

3) Cope the code like that:

<iframe src="http://www.facebook.com/plugins/like.php?href=[permalink]&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:70px;text-align:left;"></iframe>

4) Click "update"

It will work well and please visit here to see how it action - The Latest in Blogging Innovation

Later we will convert it into a tutorial with more detail, including Matt's way. Hope it makes sense.

Kind Regards

Baldwin


Ultimate DNN Blog Module - SunBlogNuke
 
New Post
8/12/2010 8:29 AM
 

Awesome! Thanks Matt and Baldwin. I'll give the implementation a go.

 
Previous
 
Next
HomeHomeUltimate DNN Bl...Ultimate DNN Bl...Support IssuesSupport IssuesAdding a "Facebook Like" buttonAdding a "Facebook Like" button


Forum Guidline

These Discussion Forums are dedicated to the discussion of the Ultimate DNN Blog Module - SunBlogNuke.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to SunBlogNuke.
  2. No Flaming or Trolling. 
  3. No Profanity, Racism, or Prejudice. 
  4. Site Moderators have the final word on approving/removing a thread or post or comment.
  5. English language posting only, please.
  6. If you are reporting a bug and strange issue please tell us which version of dnn and SunBlogNuke you are applying and share some logs from "Event Viewer".