单击查看缩略图链接时,我的网址后面会加一个 0 - 为什么?
我使用包含指向完整节点的链接的缩略图创建了此视图。完整节点的 URL 是节点名称后跟 0。例如,URL 不再是 localhost/sitename/name-of-the-node-0
,而是变为 localhost/sitename/name-of-the-node-0
。
然后出现的是完整节点的一种“剥离”版本,在我的例子中,节点标题丢失,完整的正文文本将显示,但很难使用 css 进行样式设置,事情很奇怪。
版主注意事项:我将同样的问题发布到 drupal 答案中,以使其活跃起来,但我在 drupal 答案中发布的最后一个问题实际上花了 13 天才收到回复,所以我希望我可以保留这个问题也是如此,因为我有点(非常:-))时间紧迫。
I created this view with a thumbnail containing a link that leads to the full node. The URL to the full node is the name of the node with a 0 after it. For example instead of localhost/sitename/name-of-the-node
the URL becomes localhost/sitename/name-of-the-node-0
.
What shows up then is a sort of 'stripped' version of the full node where in my case the node title is missing, the full body text will show up but its hard to style with css and things are weird.
note for moderators: I posted this same question to drupal answers to contribute to making it active, but last question i posted in drupal answers it literally took 13 days before a response came, so I hope I can keep this question in SO as well because I'm a little (much :-)) pressed for time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,当 pathauto 从重复的节点标题中创建 URL 时,URL 中的 0 就会出现。更改节点标题。
Ok, so the 0 in the URL comes when pathauto makes a URL out of a duplicate node title. Change nodetitle.