-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Course format Topics Additions #467
Comments
Dear @mwehr please confirm (and prove in screenshots if you want to be perfect) that this is also working in the "Show one section per page" course layout option. It would be optimal, of course, if it would work in the "Weekly format" as well. If it would, that would finally eliminate the last need for the "Collapsed topics" course format in my institution (I've made it so that the course formats do look the same visually but some lecturers are keen to wanting to show the contents of the initial section all over the place. Your "Always show initial section".). |
Hi @lucaboesch, Originally, I only had the Topics format in mind. I took a look at the weekly format and since it works the same way, it should be no problem to provide the two features for this format as well. I am currently reworking the two features towards a more maintainable integration. Basically, both features can be integrated without changing the templates. A first version should be available in the next days. The question is whether there should be two separate configurations, i.e. 2 course custom fields for Topics and 2 for Weekly or is one enough? What do you think ? |
Hi @lucaboesch, I've added a reworked version.
Should be ready for review. |
Course format Topics Additions.
The following extension would be nice for the Topics course format.
Display of the section summary in collapsed state.
![always_show_summary_1](https://private-user-images.githubusercontent.com/1297622/281760073-1476ba44-2cc6-4800-8141-484a0f3af13f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMjQwNzYsIm5iZiI6MTcyNTMyMzc3NiwicGF0aCI6Ii8xMjk3NjIyLzI4MTc2MDA3My0xNDc2YmE0NC0yY2M2LTQ4MDAtODE0MS00ODRhMGYzYWYxM2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1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o7Hi8KmrwOgPcCTHgIWgx5-AI)
Permanent display of all contents of the initial section so that the section can be used as a course header.
![always_show_header](https://private-user-images.githubusercontent.com/1297622/281760339-c9638112-2c44-45cc-90a8-6afc4db34000.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMjQwNzYsIm5iZiI6MTcyNTMyMzc3NiwicGF0aCI6Ii8xMjk3NjIyLzI4MTc2MDMzOS1jOTYzODExMi0yYzQ0LTQ1Y2MtOTBhOC02YWZjNGRiMzQwMDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDNUMDAzNjE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjNkNTc2M2UzY2Y4OGEyZWJhMzhmOTNhZTJmMWMxZjFiZTgyMDZlMDY5ODA0NTc4Y2FiNzMzODA1YWEwYWVkYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.OSmOW8M7NYG6ToXvbr8l_hVs_5m-Ulpm2mwpbNdAum0)
Both features activated together.
![both](https://private-user-images.githubusercontent.com/1297622/281762682-07e246d9-b557-4e27-8c8f-d83160a31d99.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMjQwNzYsIm5iZiI6MTcyNTMyMzc3NiwicGF0aCI6Ii8xMjk3NjIyLzI4MTc2MjY4Mi0wN2UyNDZkOS1iNTU3LTRlMjctOGM4Zi1kODMxNjBhMzFkOTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDNUMDAzNjE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjM0ZTU5YWE5OTVmMWU1NmI1MzQzZDJjNjM1MWY3YjMxZjdiZDc4MGQ1YzU1MGE3NDIxOWViYmI0MjE1OTQzZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._VQ3tIMOWr-2NKDM8fbjAu3dQSDGbGAg9kU9Va7sEY0)
The two features should be globally configurable in the admin section for all courses using the Topics course format and, if required, each course should be allowed to overwrite the global default.
![admin_settings](https://private-user-images.githubusercontent.com/1297622/281762989-681536c0-3102-489e-84ec-c545a5ec3f82.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMjQwNzYsIm5iZiI6MTcyNTMyMzc3NiwicGF0aCI6Ii8xMjk3NjIyLzI4MTc2Mjk4OS02ODE1MzZjMC0zMTAyLTQ4OWUtODRlYy1jNTQ1YTVlYzNmODIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI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WQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.6yRdvbNnBPlEPoM1plJx6KmAJKVwmeUqpvMZg5JiMx4)
The text was updated successfully, but these errors were encountered: