按标签全局过滤整个网站

发布于 2024-09-18 07:02:23 字数 273 浏览 8 评论 0原文

我正在寻找一种简单的方法,允许我们基于 Drupal 6 的网站的访问者通过给定分类法(“特色主题”)中的标签全局过滤所有显示的对象。这样用户就可以例如。从位于导航附近某处的下拉列表中选择标签“营销”,系统将在整个会话中按所选标签过滤所有页面、列表和视图,直到用户取消设置过滤器。设置过滤器应该由主题反映出来,但我想这将是下一个任务。

有人知道有一个模块可以做类似的事情或者可以在这里帮助我吗?有没有简单的方法来获得此功能(无需在数周的努力工作中深入了解 drupal 的内部)?

先感谢您! 丹尼尔

I am looking for an easy way to allow visitors of our Drupal 6-based website to filter all displayed obejcts globally by a tag from a given taxonomy ("featured topics"). This way a user could eg. select the tag "marketing" from a drop-down-list, which is located somewhere near the navigation, and the system would filter all pages, lists and views by the selected tag, across the session, until the user unsets the filter. Having a filter set should be reflected by the theme, but that would be the next task, I guess.

Does anybody know a module which does something like that or could help me here? Is there any easy way to get this functionality (without hacking my way deeply through drupal's guts in weeks of hard work)?

Thank you in advance!
Daniel

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

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

发布评论

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

评论(1

时光是把杀猪刀 2024-09-25 07:02:23

实际上有数百个模块提供“按标签功能过滤”。我不知道哪一款可以满足您的交钥匙需求,但我相信有一款完全具有您的界面和工作流程,无论是 OOTB 还是可配置的。

如果您正在考虑视图(您曾经是,不是吗?),视图提供了所谓的“公开过滤器”,它允许任何过滤器(过滤器是:由 Foo 创建,在 24-dec 后编辑,或 _has 标签 Bar),您的用户在其中可以从例如下拉框中选择此类过滤器。

There are literally hundreds of modules that offer "filter by tag features". I am not aware of one that does what you wish as turnkey, but I am confident there is one that has exactly your interface and workflow, either OOTB, or configurable.

If you were considering views (you were, weren't you?) views offers so called "exposed filters" which allow any filter (filters being: created by Foo, edited after 24-dec, or _has tag Bar), where your users can select such filters from e.g. a dropdown box.

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