Hello there!
I´m in a philosophical problem here ;) about how to manage the same thing from two different perspectives.
Facts
1. There are Groups of Type A in the site
2. Users from Role 1 and 2 can create and manage that kind of grups. Users from role 3 can subscribe to groups to read the content.
3. Only Users from role 1 can create forums and post into them.
4. In the group´s homepage there´s a view that shows all forum posts.
5. That view needs to show a certain texts in case the view is empty (sort of "you´ve no posts yet" message).
6. At any time, from the administration of the site, the group manager can be replaced from a user that belongs to role 2 to a user that belongs to role 1.
7. The group is always the very same type of group (Group Type A).
Problem
If a new manager (or the same user that simply has changed his role) of a certain Group, is not any more able to create and manage forums and forum posts inside that group, the home page shouldn´t show that view with all forum posts.
Possible solutions
1. Use Role Theme Switcher or Sections to change the theme that the user is looking at. That would mean to implement the very same theme, to change only the OG´s homepage. Problem: What would users from Role C look at? I mean, if the manager can´t create forums, I don´t want readers (users from role C) to look at a view that says "no posts in your forum".
2. Change perms in that view that shows the forum posts list. Problem: The same as Nº 1: What would users from Role C look at? I mean, if the manager can´t create forums, I don´t want readers (users from role C) to look at a view that says "no posts in your forum".
3. Create two group types with the same fields each and use Nodetype Module to change them when the role manager has changed. So that way each grouptype could have a different tpl for their homepage.
4. OG special snippet?
5. ?
I would really appreciate your thoughts and ideas on this :)
Thank you very much,
Rosamunda
Comments
If you set the view
If you set the view permissions (2) so only role can view it, isn't it completely hidden from other roles?
Yes, but the user of type C
Yes, but the user of type C would not be able to see that view, even if the group´s administrator has sufficient permissions to post a forum nodetype.
Ok, what are you trying to
Ok, what are you trying to hide from them?
hehe, it doesn´t sound good
hehe, it doesn´t sound good saying it like that ;)
I´m trying to hide the "You have no forum posts" message when there are no forum posts to the users of type C in the case of the group´s manager cannot actually create forum posts, so they will not have forum posts.
I think the workaround here could do with a subtheme... (?)