I like the idea of Gravatars, and they are easy to implement in PHP, but I cannot execute straight PHP code, only Smarty Templates (under Blogsome).

I’d like to be able to write a Gravatar plugin in Smarty Code, but I don’t know how to MD5 encrypt just in Smarty. I thought the following would work, but it doesn’t seem to:

{php}echo md5("email@address.net");{/php}

In fact, I can’t seem to get any code to execute using the {php} {/php} tags.

{php}echo "Hello, World";{/php}

  RSS Feed for Comments on this Post