Thu, Jul 17 2008
Posted By
Otto R. Radke at 10:16 AM
Body

I quickly implemented Gravatars  in GraffitiCMS today.  The only issue I had was due to my migration from dasBlog.  During the conversion, comments that were migrated didn't have the commenters IP Address migrated as well.  In my post.view file for Graffiti, I added the following code:

#if($comment.IPAddress)
  $macros.Gravatar($comment.Email, $comment.Name, $comment.IPAddress, "%{size ='34'}")
#end            

Works great for my needs.

Comments
0 total comments on this post.
Add your comment
 
Name
Email
Website
Comment
Submit
Search
About Me

Otto R. Radke is the one of the founders of iTech Northwest, a Microsoft .NET software company specializing in collaboration, communication, and integration applications and services.

More...

 

Otto R. Radke ottoradke.com and all content copyright © 1969-2008 by Otto R. Radke, unless otherwise noted.
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

Top of Page