Limiting entry view

Limiting entry view

by Sidd Lep -
Number of replies: 2

Hello!

Is it possible to force the students to make an entry before they can view all entries of other students.

If yes, how to do that?

Thank you

Average of ratings: -
In reply to Sidd Lep

Re: Limiting entry view

by Itamar Tzadok -

You can only force one student to submit an entry before everyone else can view all entries of other students by gathering around that student. smile

That said, you could probably achieve the effect by denying from students the entry-view-any capability in the activity level,  and applying to the designated list view an entry access rule which allows the capability but has a filter that searches an entry of the current user. If the student did not submit an entry, the filter will return nothing and the rule will be rendered not applicable to the effect that the capability will not be allowed and the no entries will be displayed.

Hope this makes sense. Give this a try and let me know how it worked.

smile

In reply to Itamar Tzadok

Odgovor: Re: Limiting entry view

by Sidd Lep -

Thank you, Itamar. Filters are smart, and you are too.

So, 


1. I created a filter where:


2. Assigned that filter to the view A

3. Created second view B without filter

4. Defined redirection to view B after submission in view A


And it works, smile

Thank you, one more time.