MT4的分类文章管理

| | Comments (0)
MT4的分类管理和以前的不一样了.如果你想增加显示分类页面的文章数量(标准是显示10篇文章),就需要做以下的模板修改.

打开Entry Listing这个模板,寻找下面一段代码

  1. <MTIf name="datebased_archive">  
  2.     <MTEntries>  
  3. <$MTEntryTrackbackData$>  
  4. <$MTInclude module="Entry Summary"$>  
  5.     </MTEntries>  
  6. <MTElse>  
  7.         <MTEntries limit="auto">  
  8. <$MTEntryTrackbackData$>  
  9. <$MTInclude module="Entry Summary"$>  
  10.         </MTEntries>  
  11. </MTIf>

将第7行的auto改为你想显示的文章数量(0---9999)就可以了。

当然,这样的修改在网站重新构筑时候的要增加一定的负担。这也是MT4设计者当初为什么只显示10篇文章的原因。

Categories: MovableType | MT
相关文章:

Leave a comment

About this Entry

This page contains a single entry by ikias published on 2008年3月16日 07:29.

方便代码公开的『TextSnip』 was the previous entry in this blog.

免费的Icon图案 is the next entry in this blog.

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

订阅这个网站

feedsky
Powered by Movable Type 4.2rc1-ja

2008年06月

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30