开发者

Need Help with this smarty

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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜