@import url(http://www.guduo.net/mt-static/themes/unity-blue/screen.css);
--EOF--
@import url(http://www.guduo.net/mt-static/themes/unity-blue/screen.css);
--EOF--
--EOF--
--EOF--
PageArchives插件
http://www.hinn.cn/mt/plugins/pagearchives.html
先记录到这里,有空了再参考这里的折腾上~
Paged Archives Plugin
http://www.aldenbates.com/plugins/pagedarchives.html
--EOF--
参考之前的升级说明,直接照做就可以了,当然,升级之前一定做好mysql备份和MT自己的备份.
本次升级,解决了一个小错误提示,参考:
Problems with Movable Type and ImageMagick
http://www.guduo.net/2009/12/000231.html
mt-config.cgi加了一行:
ImageDriver NetPBM
--EOF--
http://kb.siteground.com/article/Problems_with_Movable_Type_and_ImageMagick.html
Problems with Movable Type and ImageMagick
The default image driver used by Movable Type is ImageMagick. Sometimes, however, there is a problem with Movable Type and ImageMagick resulting in the following error message in the Movable Type admin area:
Image::Magick is either not present on your server or incorrectly configured. Due to that, you will not be able to use Movable Type's userpics feature. If you wish to use that feature, please install Image::Magick or use an alternative image driver.
The solution is to change the image driver to NetPBM. You can do this by adding the following line to your mt-config.cgi file:
ImageDriver NetPBM
This should resolve the Movable Type image driver issue for good.
http://forums.movabletype.org/2009/03/removing-error-message-on-dashboard.html
--EOF--
参考:
http://jerryong.com/blog/2008/03/how-to-create-mobile-or-wap-site-for-your-blog-and-website/
Find the URL you wish to create Mobile version and add into Google Mobile Version code. Replace your website address in {YOUR URL} of the following code.
http://www.google.com/gwt/n?u=http%3A%2F%2F{YOUR URL}&hl=en&mrestrict=xhtml
Example : if you wish to create mobile site for www.guduo.net
The code will look like this
http://www.google.com/gwt/n?u=http%3A%2F%2Fwww.guduo.net&hl=en&mrestrict=xhtml
You're Done ! Yeah very simple right
--EOF--
根据Tag来推荐是很简单的一种,可以参考的几个地方:
http://wiki.movabletype.org/Related_Entries
http://www.jimramsey.net/2008/08/adding-related-entries-to-mid-.html
http://www.devlounge.net/code/related-entries-in-movable-type
基于全文索引的相关性:
http://cxliv.org/2008/07/28/displaying_related_entries_on_your_movable_type_site.php
现在懒得增加插件,所以直接找了方便简单的使用Tag来推荐。
重点使用了devlounge.net的代码,不过之前没仔细看文章,copy过来的时候还特意做了一些代码美化,结果居然没法正常使用:
原来MT的setvarblock有bug,设置标签时这个代码块最好不要自己换行。
原文如下:
It's very important that when you type this in there are no line breaks within any of the <mt:setvarblock></mt:setvarblock> containers. In theory, you should be able to use the strip_linefeeds attribute and not worry about line breaks, but I've not had any luck with that. In fact, it's revealed a very strange bug. Rather than deal with bugs, we'll just remove the line breaks ourselves.
MT的论坛上也有相关反馈:
http://forums.movabletype.org/2008/08/error-when-rebuilding-after-ad.html
最后的代码:
<mt:EntryifTagged>
<mt:SetVarblock name="curEntry">
<mt:Entryid />
</mt:SetVarblock>
<mt:SetVarBlock name="taglist"><mt:EntryTags glue=" OR "><mt:TagName></mt:EntryTags></mt:SetVarBlock>
<mt:SetVarblock name="listitems">
<mt:Entries tags="$taglist" unique="1" lastn="6">
<mt:SetVarblock name="listEntry">
<mt:Entryid />
</mt:SetVarblock>
<mt:unless name="listEntry" eq="$curEntry">
<li> <a href="<mt:Entrypermalink />"><mt:Entrytitle /></a></li>
</mt:unless>
</mt:entries>
</mt:SetVarblock>
<mt:if name="listitems">
<div>
<h3>Related Entries</h3>
<ul>
<mt:Var name="listitems">
</ul>
</div>
</mt:if>
</mt:EntryifTagged>
--EOF--
今天无聊,下载了1个新的模板集:
http://www.movabletype.org/documentation/themes/
Mid-Century ,看着好像还不错,就兴起来试验了一把。
在替换的时候MT提示有备份,这个不错,心想大不了直接回退啊?之前更新Styles更新了很多次了,回退非常容易,想想这个应该也问题不大?
结果使用Mid-Century感觉并不怎么样,于是想回退,当然是直接又使用了Classic Blog的模板集,可惜居然是回到了最原始的情况。
再去找备份,每个模板都是独立的,恢复操作也很难用,无法直接复制到当前的模板集,只能最原始的点击进去再复制出来,浪费生产力。
这么一折腾,大概也明白了Template和Style的区别了,只可惜之前做的好几个widget懒得恢复了,没有了之后访问速度更快嘛!
--EOF--