You are here

profile2 模块 profile to

alamiao 的头像
Submitted by alamiao on 星期三, 2014-02-19 19:44

profile2模块,如果给一个用户有2个RPOFILES, 例如main profile,还有一个是transport profile。 我做了个views给transport profile,然后里面的url 例如会生成www.site.com/user/68#profile-transport_profile

我希望的是单独生成这个的页面,这样我可以编辑权限,例如main profile只有用户自己以及管理员可以看,transport_profile是任何人均可以看,这个如何做到呢? profile2 page这个模块我也激活了,但是没有对应的配置?

希望知道如何做。谢谢指教。

论坛:

Drupal版本:

alamiao 的头像

谢谢你的回答,其实我在用户的权限设置里面,设置了匿名用户可以查看。但是,但是实际上还是不行,还是出现您未被授权访问此页面这样的提示。
我用管理员用户看了下,例如www.site.com/user/68#profile-transport_profile这样的链接,他不仅仅可以看到transport_profile,往上翻页还会看到main profile。
transport_profile并没有生成一个专属的页面,不知道是不是这个问题?理论上profile2 page应该可以生成一个单独的页面。

alamiao 的头像

看了教程,又看了别人问的同样问题,问题解决了。
问题出现在: 配置 profile的时候没有勾选
Provide a separate page for editing profiles.
If enabled, a separate menu item for editing the profile is generated and the profile is hidden from the user account page.