在 Drupal 中创建组结构

发布于 2024-09-26 22:54:44 字数 418 浏览 4 评论 0原文

我正在开始为体育俱乐部开发一个网站。该网站将有一个包含一些“机构”内容的“主”网站,俱乐部中存在的每项运动都将有自己的微型网站。

例如,我会有这个站点地图。

俱乐部

+++历史

+++关于

  • 橄榄球(一项随机运动)

    • 博客
    • 照片
    • 视频
    • 用户评论
    • 等等
  • 曲棍球(另一项运动)

    • 博客
    • 照片
    • 视频
    • 用户评论
    • 等等

那么,哪种方式是实现这项工作的最佳方式呢?我正在考虑使用分类法和视图。

你怎么认为?

谢谢

I'm starting developing a Web Site for a Sport Club. This site will have a "main" site with some "institutional" content, and every sport that is present in the club will have it's own micro-site.

For example, i'll have this sitemap.

Club

+++History

+++About

  • Rugby (one random sport)

    • Blog
    • Photos
    • Videos
    • User Comments
    • etc.
  • Hockey (another sport)

    • Blog
    • Photos
    • Videos
    • User Comments
    • etc.

So, which is the best way to make this work? I was thinking using Taxonomies and views.

What do you think?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

夏天碎花小短裙 2024-10-03 22:54:44

我建议使用 OpenAtrium 安装配置文件。
将每项运动定义为一个 (og) 组,添加任何您需要的内容。

我相信 OpenAtrium 非常适合您的需求,并且会节省您大量的时间。

祝你好运!
蜀蜀

I would recommend on the OpenAtrium installation profile.
Define each sport as a (og)group, add add to it whatever you need.

I believe that for your needs OpenAtrium fits nicely, and will save you lots of time.

Good Luck !
Shushu

长安忆 2024-10-03 22:54:44

您可以使用视图和参数来构建您的站点。

添加 CCK 字段(运动)或分类词汇表(运动)并将其附加到博客、照片、视频等内容类型。

当你建立自己的观点时,你会在路径中使用体育的论点。这样您就可以拥有如下路径:

  • example.com/rugby/blogs
  • example.com/hockey/blogs

此示例视图的路径将为 %/blogs (% 被参数替换)。

关于观点和论点的几个视频:

You can build out your site using views and arguments.

Add a CCK field (sport) or a taxonomy vocabulary (sport) and attach it to the blog, photo, video, etc.. content types.

When you build your views you would use the argument of sport in the path. That way you can have paths like:

  • example.com/rugby/blogs
  • example.com/hockey/blogs

The path to this example view would be %/blogs (% being replaced by the argument).

A couple videos on views and arguments:

初见你 2024-10-03 22:54:44

我还推荐有机团体模块作为一组一项运动。 Open Atrium 可能是一个很好的安装配置文件(它也使用有机组),但它很难理解。

I would also recommend organic groups module as one group one sport. Open Atrium could be a good installation profile (it also uses organic groups) but it's hard to understand.

执笏见 2024-10-03 22:54:44

我想说,如果您问此类问题,您可能应该选择 Open Atrium。它几乎是一个开箱即用的内部网(和有机团体)。我有 5 个公开运行的安装(在 www 中)。 @Shushu是对的,任何网站都可以是内部网或互联网,这仅取决于您是否将其公开给全世界,或者只是公开给您本地的内部网。但如果您想深入了解 Drupal,请使用带有 OG 的 drupal 安装。但这实际上取决于您想要/可以投入多少时间和精力。

I would say that if you are asking this type of question, you should probably go with Open Atrium. It is pretty much an intranet (and Organic Groups) right out of the box. I have 5 installations of it running publicly (in the www). @Shushu is right, any website can be an intranet or internet, it just depends on if you expose it to the world, or just to your local intranet. But if you are looking to dive into Drupal, use a drupal install with OG. But it really depends on how much time and effort you want/can put into it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文