mark,
template中我找不到你所說的code,應該是postandcomments.template中嘛.
some comment code如下
{* show comments *}
<h3 id="comments">{$post->getTotalComments()} Comments on "{$post->getTopic()}"</h3>
<ol class="commentlist">
{foreach name=comment from=$comments item=comment}
<li class="alt" id="comment-{$comment->getId()}">
{$locale->tr("posted_by")}
{if $comment->getUserUrl() != ""}
<cite><a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a></cite>
{else}
<cite>{$comment->getUsername()}</cite>
{/if}
<a name="{$comment->getId()}"></a>
{$comment->getTopic()} [<a href="{$url->postPermalink($post)}#NewComment"> {$locale->tr("reply")} </a>]<br />
<small class="commentmetadata">{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")}</small>
<p>{$comment->getText()}</p>
</li>
{/foreach}
</ol>
這個
是甚麼作用,就是用它作編號?
另外,編輯文章中如要使用bbcode, ie沒有插件,那裡找icon tag呢?
thx!