Drupal 7: 如何定制首页主内容区域

来源:互联网 发布:java书籍推荐 编辑:程序博客网 时间:2024/06/11 19:39

Drupal默认情况下是类博客的风格。

两边是一个可定制的区块,上面是Header,下面是Footer以及划分开的Footer列。
最重要的部分是中间的主内容区域,以时间顺序显示所有发布的网站内容节点。
节点的显示模式可以定制比如teaser/default/customized。
但是整个内容区域确很难被定制成其他界面风格,比如按照文章类别或者关键字划分成若干列,若干行。
本文将介绍一个简单的方法来实现这一点。(old post forwarding here, written in english at that time)


Drupal has by default a bloggy feel, the latest items shown in date order, you could control

*) what kinds of the blocks to be displayed in content region from CMS, by block configuration

*) what kind of view mode used to display these items(teaser or full or customized) and which fields will be displayed, by going to

原创粉丝点击