单击查看缩略图链接时,我的网址后面会加一个 0 - 为什么?

发布于 2024-12-04 13:50:15 字数 386 浏览 0 评论 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 技术交流群。

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

发布评论

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

评论(1

娇俏 2024-12-11 13:50:15

好的,当 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.

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