在模板中加入關於板主的區塊
leo | 31 十月, 2006 08:26關於板主的語法... 請參考動態教學
您必須先知道如何編輯模板.
在側邊的Panel中適當的位置加入下方的語法.
<H2>關於板主</H2>
{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()!=""}
{$blogOwner->getAboutMyself()}{/if}
Posted in
教學文件 .
迴響: (0).
引用:(0).
靜態連結網址
«Next post |
Previous post»



