Forums
Hello.
How can i allow to look lesson-page for users, who not subscribe on course? They must have access to look lesson description, but not have access to take quiz, when they not subscribe. This neccessary for semi-public, and private group visibility.
What me do? Help me please.
Hi satiate,
Hi satiate,
Depends on where you want to display this information.
Best regards
On lesson page, where users,
Hi satiate,
Hi satiate,
If you want to change specific access control, you can look in the opigno_og_access.module. Also look at the quiz list view. It also has access on it. For the left block look in the opigno_quiz_app.module file.
Btw, if you want the users to be able to see the courses/classes that are with private visibility, why do you want to use the private for?
Because, i need:
Hi satiate,
Hi satiate,
Then you should never use the private visibility. Because the private visibility is ment to hide everything from the users. You should set the courses as semi private, and look into what i talked about. opigno_og_access.module to allow users to access the quiz node even if the course is semiprivate. Alter the access on the list of quizes view. For the left block, you should look inside the opigno_quiz_app.module file.
Best regards
Thanks. I go to view opigno
function opigno_quiz_app_course_lessons($course_nid) { ... // if ($router_item['access']) { //del by satiate $lessons[$course_nid][$record['nid']]['vid'] = $record['vid']; // } ... }
I can't resolve my problem.
YES! I found!
Any detail changes available
In reply to Hi satiate, by James Aparicio
Hello james Aparicio