使用<$MTTagCount$> 数量的差异变换Tag的CSS样式!搞定了Movable Type的TAG云图效果,但发现tag的链接没有静态化,看上去非常难受!!!
看来还是需要用到CloudNine3.0插件,把tag的链接静态化
以下是转自forums.sixapart.com下的一段tag的链接静态化操作方法,有兴趣的去试试!
u should notice the url.. actually the code is changing the old "/mt/mt-search.cgi?tags=coverer&blog_id=1..etc" into something like "/tags/coverer/".. isnt that sweet? i do hate the search result url..
anyway, this has something to do with .htaccess..
if you want to fix your problem above, edit your .htaccess file (which should be located in your main blog directory), if none, create one..
add the following lines,
RewriteEngine on
RewriteRule tag/(.+) /admin/mt-search.cgi?tag=$1&blog_id=1

评论 (1)
这个效果不错呀!能把代码全部贴出来吗?
由 jack | January 31, 2007 10:40 PM