Hi all,
I am trying to maken the K2-experience as smooth as possible for my users. I am stuck on two things, however. I have a rather big ACL set up on my site. I have many groups that a user can belong to and an even bigger list of categories that he can or can not view. I would like to hide the options for the user that he has no use of:
1) Hide the non relevant categories when editing or making an article
I found that it should be rather easy to hide the categories that are not relevant for the user. K2 already greys them out, adding a little on that and they are hidden. It looks like this:
Where does K2 do this, what file do I need to edit to add here the code?
2) Hide the non-relevant access levels
This one is going to be more complicated. I was hoping to find a plugin to do this. The user can now choose from the massive list of ACL I have and they sometimes end up with the wrong ACL and can then neither view nor edit their own work again. How could I let them only select acces levels that they have access to?
I hope someone can help me with these questions.
Greetings!
Jeroen
Solved question 1, see last post.
I am trying to maken the K2-experience as smooth as possible for my users. I am stuck on two things, however. I have a rather big ACL set up on my site. I have many groups that a user can belong to and an even bigger list of categories that he can or can not view. I would like to hide the options for the user that he has no use of:
1) Hide the non relevant categories when editing or making an article
I found that it should be rather easy to hide the categories that are not relevant for the user. K2 already greys them out, adding a little on that and they are hidden. It looks like this:
<option disabled="disabled" value="32" style="color: rgb(128, 128, 128);">Option 1</option>Where does K2 do this, what file do I need to edit to add here the code?
style="display: none;"2) Hide the non-relevant access levels
This one is going to be more complicated. I was hoping to find a plugin to do this. The user can now choose from the massive list of ACL I have and they sometimes end up with the wrong ACL and can then neither view nor edit their own work again. How could I let them only select acces levels that they have access to?
I hope someone can help me with these questions.
Greetings!
Jeroen
Solved question 1, see last post.