Drupal Views 寻呼机无法正常工作,但结果显示

发布于 2024-12-28 02:24:22 字数 303 浏览 1 评论 0原文

我们有一个视图设置来获取作者/ID

我看到结果,但是寻呼机无法工作。我们设置了一个寻呼机,但在底部,它显示“没有运行查询”。

此外,如果我使用上下文过滤器并输入author/110,则即使常规页面显示结果,预览中也不会显示任何内容。

我如何过滤并使寻呼机正常工作。

更新:我选择了“完整分页器”,我可以在预览中看到它,但保存后看不到常规页面。问题可能是什么?

更新 2:如果我将寻呼机 id 设置为 1 或更高,我可以在预览和常规页面上看到它。但是,它有带有逗号的奇怪 url 值,第 2 页真的是第 2 页吗?

We have a view setup to pickup the author/id

I see results, however, the pager is not working. We have a pager set, but at the bottom, it says "No query was run".

In addition, if I use the contextual filter and type author/110, it shows nothing on the preview, even though the regular page shows results.

How can I filter and get the pager working.

Update: I chose "Full Pager" and I can see it on the preview, but not the regular page after I save. What could the problem be?

Update 2: If I set pager id = 1 or higher, I can see it on the preview AND the regular page. However, it has odd url values with commas, is page 2 really Page 2?

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

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

发布评论

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

评论(1

平生欢 2025-01-04 02:24:22

模板中的 $pager 变量(在视图中 - 有关活动模板名称的主题信息)可能会丢失,或者检查是否有任何正在更改视图行为的视图挂钩(至少有 8 个)。

The $pager variable within the templates (in views - theme information regarding active template name) might be missing or check for any views hook (there are min. 8 of them) that is changing the behavior of the views.

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