显示指向在自定义用户类型视图中引用用户的节点的链接
在我的网站中,我有一个名为“项目”的节点类型。
节点类型“Project”有一个名为“Project Author”的字段,它是用户引用。
现在,当我在字段设置中点击“反向链接”时,指向该特定用户的所有“项目”类型页面的链接将出现在默认“查看”用户页面中(例如:domain.org/user/123/view)在“相关内容”下
这就是我想要的效果。问题是我使用自定义视图作为默认登陆用户页面。
所以,我的问题是,如何将“相关内容”块添加到自定义用户类型视图(在 Views2 中),以便我可以显示指向引用该特定用户的所有项目页面的链接?
In my website, I have a node type called "Project".
Node type "Project" has a field called Project Author, which is a user reference.
Now, when I hit "reverse link" in the field settings, a link to all "Project" type pages that refer that particular user appears in the default "view" user page (ex: domain.org/user/123/view) under "Related content"
This is the effect I want. The problem is that I'm using a custom made view as default landing user page.
So, my question is, how can I add the "Related content" block to a custom usertype View (in Views2), so that I can show a link to all project pages that refer that particular user?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
还有CCK (6.x) 补丁,可以在单个视图中实现此目的。
There's also a patch for CCK (6.x) which can achieve this in a single view.
我使用另一个模块找到了答案:Panels3!以下是如何...
VIEWS2 MODULE:
PANELS3 MODULE:
瞧!
希望这可以帮助与我有同样问题的人。
I found the answer using another module: Panels3! Here's how...
VIEWS2 MODULE:
PANELS3 MODULE:
Voilá!
Hope this helps someone with the same problem as I.