Skip to content

Conversation

yverhenne
Copy link

Option to enable in configuration.dist.php to add a progress summary section in the sessions, in mystudents.php

//$_configuration['display_theoretical_time'] = false;

// Enable improved tracking section in main/mySpace/myStudents.php
$_configuration['improve_tracking_in_mystudent_php'] = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to put the line in comments (with // at the beginning) and the variable should be set to "false" by default.
The settings are always in comment otherwise in a new installation the parameter would be automatically set and we don't want that.
We also set the variable with the value that correspond to the default functioning of the platform. So in this case in a default configuration we do not show the synthesis part the setting should be set to false by default.

@NicoDucou
Copy link
Member

The language files main/lang/*/trad4all.inc.php should not be sent directly in your code. It has to be integrated through the translation platform https://translate.chamilo.org/
So you should remove those files from you PR.

@yverhenne
Copy link
Author

Variables de traduction.
main/lang/english/trad4all.inc.php :
$AverageProgressInSessions = "Average progress in sessions";
$TimeSpentInCoursesLastWeek = "Time spent in courses last week";
$ProgressionInSessions = "Session progress";
$synthesis = "Synthesis";
$WeeklyTimeSummary = "Weekly time spent summary";

main/lang/french/trad4all.inc.php :
$AverageProgressInSessions = "Progression moyenne dans les sessions";
$TimeSpentInCoursesLastWeek = "Temps passé dans les cours la semaine dernière";
$ProgressionInSessions = "Progression dans les sessions";
$synthesis = "Synthèse";
$WeeklyTimeSummary = "Synthèse des temps passés par semaine";

main/lang/spanish/trad4all.inc.php :
$AverageProgressInSessions = "Progreso medio en las sesiones";
$TimeSpentInCoursesLastWeek = "Tiempo dedicado en los cursos la semana pasada";
$ProgressionInSessions = "Progreso en las sesiones";
$synthesis = "Síntesis";
$WeeklyTimeSummary = "Resumen de tiempo dedicado por semana";

@NicoDucou NicoDucou merged commit 2f4d913 into chamilo:1.11.x Aug 4, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants