开发者

Drupal 6: Using Organic groups for Educational page

I am working on a departmental website within a big university and want to add different types of functionality for different users depending on their roles.

There are 3 main types of users:

  • Publicly listed
  • Alumni (listed but based on different fields and using a custom template file)
  • Others (users on site but not listed)

Right now we are using Content Profiles for the publicly listed users and list the content in the core 开发者_如何学编程profile tables for the alumni.

The problem is: If I'm faculty I still see all the fields for alumni (although it is in its own tab) and if I am alumni I see all the fields for faculty.

Question: What I would like to do is provide them different views of editing "My Account" based on their roles. So I wonder, would it be possible to do this with organic groups or is this something that needs custom PHP coding?

Thanks for the help


If you're asking about limiting fields, then it has nothing to do with OG.

I think you're looking for the conditional fields module.

This way you can set a node as 'alumni' or 'faculty', and depending on it show different fields.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜