Drupal 视图幻灯片仅返回一个结果
查看 Dupal 太棒了……没有其他词可以形容。我已经在几个项目中使用过它,几乎没有任何问题。然而,我目前正在进行的项目进展并不顺利。
当“视图样式”设置为无格式时,预览会返回适量的节点,但当选择幻灯片时,查询仅返回一个结果。令人费解的是,SQL 完全相同。
您能解释一下这个问题吗?
Views slideshow for Dupal is amazing … there are no other words for it. I have used it on a few projects with little to no issues at all. However, the current project that I am working on isn't going as smoothly.
When the 'View style' is set to unformatted the preview returns the right amount of nodes but when slideshow is selected the query returns only one result. Puzzlingly, the SQL is exactly the same.
Can you shed some light on the issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来源也只显示一个吗?
也许源代码 (HTML) 包含所有条目,但 Javascript 无法滑动到下一项。
Does the source show only one too?
Maybe the source (HTML) contains all the entries, but the Javascript fails to slide to the next item.
一个可能的解决方案如下:
单击幻灯片样式旁边的齿轮图标以编辑其设置。
从下拉菜单中选择幻灯片模式。选择单帧。
在计时器延迟输入框中输入一个值。例如,输入 4000。
在初始幻灯片延迟偏移输入框中输入一个值。例如,输入 2000。
根据您的喜好完成其余设置。
单击更新以提交该表单,然后单击保存以保存您的视图。
希望有帮助。
A possible solution is the following:
Click the gear icon next to the Slideshow style to edit its settings.
Select your slideshow mode from the drop-down menu. Select SingleFrame.
Enter a value for the Timer delay input box. Enter 4000, as an example.
Enter a value for the Initial slide delay offset input box. Enter 2000, as an example.
Complete the rest of the settings to your liking.
Click update to submit that form, then click Save to save your view.
Hope it helps.