Drupal Views 寻呼机无法正常工作,但结果显示
我们有一个视图设置来获取作者/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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
模板中的 $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.