Activity completion FAQ: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
(removed because referenced an older version)
 
(6 mellanliggande sidversioner av 3 användare visas inte)
Rad 3: Rad 3:


Once you unlock options and then click 'Save changes', all completion information for the activity will be deleted and, if possible, regenerated according to the new settings. See the section 'What happens when you unlock' in [[Activity completion settings]] for further details.
Once you unlock options and then click 'Save changes', all completion information for the activity will be deleted and, if possible, regenerated according to the new settings. See the section 'What happens when you unlock' in [[Activity completion settings]] for further details.
==Can I change the default completion settings for activities in my course?==
Yes. See [[Activity completion settings]] for how to do this.


==Activity completion status does not change==
==Activity completion status does not change==
Has [[Cron]] been run on the server side? Activity completion default is to be trigger by a cron event at a regular interval. The default is 10 minutes.
Check ''Site administration > Server > Scheduled tasks'' and the task Calculate completion data. This should ideally be once a minute.


:Why so long a gap? My students want instant gratification and positive reinforcement they have taken another step! The update on a site can take time and resources of the server because it looks at every course, every activity, every user.
==How do I change the default time to refresh course completion reports==
Want to change the default time? This will require a code tweak at line 126 or so in the /lib/completionlib.php file. Make sure the server is sending a cron message to Moodle every 10 minutes or more often.  If the server is sending a cron trigger to Moodle every 60 minutes, that will be the length of time which will pass before the change will appear.
==Can I move the activity completion checkboxes to the left instead of the right?==
[[File:checkboxleft.png]]
Please see MDL-34729 and MDL-31603
This is a not-fully tested solution, based on adapting Christian Herman's tip from Moodle 2.0 to 2.5 and discussion in https://moodle.org/mod/forum/discuss.php?d=263661
If you are using Clean or More theme, add the following to the Custom CSS box in ''Appearance>Themes>Clean' (or More)
<code css>/* Completion Checkbox Left of Activity Icon and Align Checkboxes Full Left */
.section .activity .actions {    position: relative; }
.path-course-view li.activity span.autocompletion, .path-course-view li.activity form.togglecompletion
{    float: left;    margin-left: -15px;}
/* Small Space Between Checkbox & Icon */
.path-course-view .section .activity img.activityicon
{ padding-left: 1em; }</code>


[[Category:FAQ]]
[[Category:FAQ]]
Rad 35: Rad 14:
[[de:Aktivitätsabschluss FAQ]]
[[de:Aktivitätsabschluss FAQ]]
[[es:Finalización de actividad FAQ]]
[[es:Finalización de actividad FAQ]]
[[fr:FAQ sur l'achèvement des activités]]

Nuvarande version från 18 september 2022 kl. 14.13

What happens when completion conditions are unlocked?

Once you unlock options and then click 'Save changes', all completion information for the activity will be deleted and, if possible, regenerated according to the new settings. See the section 'What happens when you unlock' in Activity completion settings for further details.

Can I change the default completion settings for activities in my course?

Yes. See Activity completion settings for how to do this.

Activity completion status does not change

Check Site administration > Server > Scheduled tasks and the task Calculate completion data. This should ideally be once a minute.