google.load("prototype", "1.6");

Saturday, July 28, 2007

blogger:个性化你的评论

        如果你不喜欢你的文章下面那单调的”评论“文字,想有你自己的特色,如改成”说两句“等等你喜欢的名字。如果你想改的改的话,只需下面小小的改动就可以了。
        首先,进入你博客的后台,找到下面这段代码。


<data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>



找到那段代码后,只要把红色的部分


<data:top.commentLabelPlural/>


换成你喜欢的,如”说两句“。好了点击查看看看效果如何。
^_^友情提示:请先备份你的模版

4 留言:

Peter @ Enviroman said...

Hi Sesea,

I am ethnic Chinese, speak a bit of Mandarin, Cantonese, Hakka, even a little bit of Hokien. I can read a little bit of simplified Chinese, but I can't read your blog.

Actually I am here to thank you commenting in my blog Haloscan commenting system for New Blogger. I thank you for alerting me to the fact that if you chose to receive comment notification, you can get the email address of the commentator with the Blogger commenting system. I have tested it and found it to be true. I have thus made a new post Get email address of commentator with the Blogger commenting system. I have acknowledged your contribution and have included a link to this blog, but I don't know if that is really going to help you because most of my readers are English speaking. One blogger whose site I linked to have reported receiving much traffic from my blog, but in any case I hope that will help increase your blog link popularity and PageRank.

Peter (Blog*Star 2006 and 2007)
Generating Revenue from your Website

小鱼 said...

为什么我使用:font color='#ff6666'与/font
让“评论”两字为红色,但有部分帖子不变?

X said...

我看了你的博客一切正常呀,都显示为红色了。

小鱼 said...

已找到原因,发现规律是凡评论为数1的颜色未变,原来是在上行代码中还有一处data:top.commentLabel,是专门控制评论为1的,将其也加上font color='#ff6666'就都行了。

Post a Comment

Creative Commons License© 2007-2023 乐天士 --您是第 位浏览者--↑页首
悦来客栈 by sisea is licensed under a Creative Commons 署名-非商业性使用-禁止演绎 2.5 中国大陆 License.