简体   繁体   English

Drupal,显示用户个人资料中的内容列表,任何人都可以通过“视图”访问

[英]Drupal, Displaying a Content list of a User from their Profile, accessible by anyone via Views

I am running Drupal 7 and I would like to know how to create a View that displays as a tab on a users profile that displays all of his or her created content. 我正在运行Drupal 7,我想知道如何创建一个在用户个人资料中显示为标签的视图,该个人资料显示他或她创建的所有内容。 This is what I have so far, but it only shows the tab for the logged in user, no one else can access it. 到目前为止, 是我所拥有的,但是它仅显示已登录用户的选项卡,没有其他人可以访问它。

I got most of the code from here. 我从这里获得了大部分代码

Its a permission issue, You have been created the View Block. 它是一个权限问题,您已经创建了View Block。 So Enable the permission for Anonymous User. 因此,启用“ Anonymous用户”权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM