Skip to content

Conversation

@Coussecousse
Copy link
Contributor

Hi!

I reimplemented the old file export_exercise_results.php for Chamilo v2.
I'm using repositories to find exercises, courses, etc. Hope that's fine.
In the old version, the queries were not dynamic, so I stuck with the same logic, except for the fact that I'm using Select2 instead of Selectpicker (I didn’t manage to use it properly — it seems it's not implemented yet in Chamilo v2).

You also can't select a course if you haven’t selected a session first, and you need a course selected to choose an exercise.

I’m not sure if I’ve tested every possible case, so feel free to do so and let me know if you need any readjustments.

Issue: #6837

Screens:
Capture d’écran du 2025-10-17 09-47-56

Capture d’écran du 2025-10-16 16-38-34 Capture d’écran du 2025-10-16 16-38-27

⚠️ PDF result :
Capture d’écran du 2025-10-16 15-22-42

(I figure it should be fixed in another PR.)

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.

1 participant