2006年9月21日 星期四

plog-新增個人資料顯示

在版面上加上

{assign var=blogOwner value=$blog->getOwnerInfo()}
{if $blogOwner->getfullName()==""}
Blogger:{$blogOwner->getUsername()}<br/>
{else}
Blogger:{$blogOwner->getfullName()}<br/>
{/if}
{if $blogOwner->hasPicture()}
{assign var=picture value=$blogOwner->getPicture()}
<img src="{$url->resourcePreviewLink($picture)}" title="{$blogOwner->getUsername()}" /><br>
{/if}
{if $blogOwner->getfullName()!=""}
About:{$blogOwner->getAboutMyself()}
{/if}


沒有留言:

張貼留言