I am newbie & trying smarty for Gravatar plugin like开发者_开发百科 this.
<img src="{gravatar email="example@example.com"}">
But to get value of email I need to use {$client.email}
So My final code look like
<img src="{gravatar email="{$client.email}"}">
Which is not working.
Where I am going wrong ?
Thanks
I think it should rather be something like that:
<img src="{gravatar email=$client.email}">
However, its been a while since I last used smarty.
Be sure to also check the online documentation for smarty -> http://www.smarty.net/manual/en/
精彩评论