Drupal 分层内容
我目前正在考虑在我的 Drupal 站点上使用分类法或 CCK 模块作为创建分层系统的方法。然而,我有点困惑哪一个最适合我的需求,或者是否有其他东西可以更好地工作。
基本上,我正在开发的网站上可能有 70 个左右的“迷你网站”,每个都有一个登陆页面和大约 5 个包含详细信息的子页面。我需要一种方法将这些子页面标记为其父页面的子页面,并创建一个菜单系统在它们之间导航。
做到这一点的最佳方法是什么?感谢您的投入!
I am currently looking at using either the Taxonomy or CCK module on my Drupal site as a means to create a hierarchical system. However, I'm a little confused on which one would best suit my needs, or if there is something else that would work better.
Basically, there will be probably 70 or so "mini-sites" on the website I'm working on, each with a landing page and about 5 sub-pages of detailed information. I need a way to mark those sub-pages as being sub-pages of their parent page, as well as create a menu system to navigate between them.
What is the best way this could be done? Thanks for your input!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您尝试过使用 Book 模块吗?可能需要一些主题调整才能使其看起来正确,这似乎是大多数人决定显示这种类型的页面结构的方式。
Have you tried using the Book module? It might take a bit of theme-adjusting to get it to look right it seems to be how most people settle on displaying this type of page structure.
根据您的需求,有机组和/或空间可能是一个不错的选择,因为它允许您在迷你站点的基础上轻松控制主题、权限和其他设置。
每个迷你站点都是一个 OG 节点和/或一个空间,子页面也可以使用 Drupal Core 的 Book 模块以树形结构进行组织。
Depending on your needs, Organic Groups and/or Spaces can be a good alternatives, since it'd allow you to easily control themes, permissions and other settings in a mini-site basis.
Each Mini-site would be an OG node and/or a space, and subpages could be organized in tree structure as well, using Book module from Drupal Core.
最好的选择是书籍模块。它提供了一种以书籍方式组织分层内容的方法。自动生成两个块:图书导航和图书大纲,为每个页面提供上一个和下一个内容的链接。
有关更多信息,请参阅 drupal 手册:http://drupal.org/handbook/modules/book
The best option is the book module. It gives a way to organise hierarchical content in a book manner. There are 2 blocks generated automatically: the book navigation and the book outline which gives, for each page, a link to the previous and the next content.
For more information drupal handbook: http://drupal.org/handbook/modules/book