Skip to content

给drupal添加分类

2011 四月 30
by 荒野无灯

drupal安装后默认是没有“分类”的,不像WP。
不过要建立分类也很简单。
进入 admin/structure/taxonomy ,然后 Add vocabulary (新增词汇) ,我们就取名叫“分类” 吧,Machine-readable name 就填写category .
然后我们向分类添加条目。
add terms ,添加分类。
Relations 下面有 Parent terms ,如添加一顶级分类: PHP ,
然后再添一子分类:
php secu ,选择其Parent terms 为PHP就可以让它成为子分类了。
依此类推,可以一直加下去,和WP一样,支持无限级分类的。
分类的显示可见这篇文章:《drupal分类显示在菜单中的方法》

喜欢这篇文章吗?

请订阅本站 RSS feed填写您的邮件地址,订阅我们的精彩内容:,欢迎点击这里捐赠以支持荒野无灯转播到腾讯微博 转播到腾讯微博

作者:荒野无灯
出处:Hacklog【Hacklog】

声明: 本站遵循 署名-非商业性使用-相同方式共享 3.0 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】

本文链接: http://ihacklog.com/?p=4403

2 Responses Post a comment
  1. 五月 2, 2011

    節日愉快。板凳

  2. 五月 1, 2011

    drupal很强大哦

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <q cite=""> <strong>

 :wink:  :-|  :-x  :twisted:  :)  8-O  :(  :roll:  :-P  :oops:  :-o  :mrgreen:  :lol:  :idea:  :-D  :evil:  :cry:  8)  :arrow:  :-?  :?:  :!:

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS