安裝Process Tags plugin

| | Comments (1) | TrackBacks (0)
安裝了 *Process Tags plugin* Process Tags plugin :: Kalsey Consulting Group 這個plugin 主要可以能讓某些頁面,在template之外,繼續處理MT tag。 例如,一般文章(entity)中我們是不能用MT tag的, 但是裝了這個plugin,然後在相關的templates中的MT tag上修改參數,就可以讓文章也能使用MT tag了。 這有什麼好用?因為我等一下要裝photo gallery。為了要讓gallery可以在文章裡面用,所以先裝這個。
使用範例
 <MTCategoryDescription process_tags="1">
下載 Process Tags 1.0 安裝 # 解壓縮 # 複製processtags.pl 至 (mtdirectory)/plugins/processtags.pl # 複製postproc.pm 至 (mtdirectory)/extlib/bradchoate/postproc.pm

0 TrackBacks

Listed below are links to blogs that reference this entry: 安裝Process Tags plugin.

TrackBack URL for this entry: http://www.xxc.idv.tw/mt-tb.cgi/33

1 Comments

In new version MT (2.66), this code will appear some error. like this "Subroutine add_global_filter redefined at /home/username/htdocs/cgi-bin/extlib/bradchoate/postproc.pm line 22."

解決辦法:
把這行 line 22 "*MT::Template::Context::add_global_filter = \&add_global_filter;" 註解起來(用"#"號),就可以了。
因為新版的 MT 不再需要進行這個宣告。

原文在此
http://www.movabletype.org/support/?act=ST&f=20&t=5649

Leave a comment

About this Entry

This page contains a single entry by xxc published on January 24, 2004 10:54 PM.

新機入替,伺服器搬家 was the previous entry in this blog.

安裝photo gallery plugin is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.