
為何是大致上解決呢?因為要滿足以下一些條件才可以達成留言回覆的效果。
1、留言者必須要有Blogger的帳號。
2、留言者必須在Blogger的Profile中email設定為公開。
所以請大家都來加入Blogger吧!
實際上的作法:
1、到 Template→ Edit HTML→ Expand Widget Templates打勾。
2、找到<dd class='comment-footer'>與<span class='comment-timestamp'>
,中間加入下面程式碼的藍色部份即可
<dd class='comment-footer'>
<span expr:class='"item-control " + data:comment.adminClass'>
<form action='http://www.anniyalogam.com/scripts/notify.php' method='POST' target='_blank'>
<input expr:value='data:comment.authorUrl' name='profile' type='hidden'/>
<input expr:value='data:post.author' name='nickname' type='hidden'/>
<input expr:value='data:post.title' name='post_title' type='hidden'/>
<input expr:value='data:post.url' name='post_link' type='hidden'/>
<input src='http://www.anniyalogam.com/1clickbutton.png' type='image'/>
</form>
</span>
<span class='comment-timestamp'>
<a expr:href='"#comment-" + data:comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
No comments:
Post a Comment