Hello everyone!
I was wondering how could I show or hide content to an specific user groups.
So I did something but it still doesn't works.. If you go to Components - K2 - User Groups then you edit or create a new one, you could see the options in there.. So I've added a new parameter in administrator\components\com_k2\models\userGroup.xml
<param name="show" type="radio" default="0" label="Show categories" description=""> <option value="0">No</option> <option value="1">Yes</option></param>
This is how looks the Add/Edit user group now:
Basically the idea is to allow or disallow the user group to view the content of the selected categories BUT I don't know wich file I need to modify or how to do it. I really need this because my proyect needs to have this option. I've tried with almost all the files in the component but I don't understand where to put the code. I hope someone can help me or guide me or something hehe.
Thank you guys!
Greets.
I was wondering how could I show or hide content to an specific user groups.
So I did something but it still doesn't works.. If you go to Components - K2 - User Groups then you edit or create a new one, you could see the options in there.. So I've added a new parameter in administrator\components\com_k2\models\userGroup.xml
<param name="show" type="radio" default="0" label="Show categories" description=""> <option value="0">No</option> <option value="1">Yes</option></param>
This is how looks the Add/Edit user group now:
Basically the idea is to allow or disallow the user group to view the content of the selected categories BUT I don't know wich file I need to modify or how to do it. I really need this because my proyect needs to have this option. I've tried with almost all the files in the component but I don't understand where to put the code. I hope someone can help me or guide me or something hehe.
Thank you guys!
Greets.