Menu:

最近文章

分類

公告事項 [3]
教學文件 [10]
雜七雜八 [8]
防毒資訊 [1]
網管文件 [1]

連結

支援網站
- LifeType支援站
- 華龍國小LifeType學習網
部落格資源
- BLOG-TUNES Music 音樂網站

Syndicate

RSS 0.90
RSS 1.0
RSS 2.0
Atom 0.3

Version:

andreas01 v1.3

在模板中加入關於板主的區塊

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»

Comments

Leave a Reply

發表迴響
 authimage