Moodle Plugins directory: Section | Moodle.org
Section
Blocks ::: block_section
Maintained by Arnaud Trouvé, Andil Technologies de l'information et de la formation
The Section block displays the contents of a course section as a block.
Latest release:
37 sites
91 downloads
11 fans
Current versions available: 2
The Section block displays the contents of a course section as a block.
The section displayed and the block title are configurable per instance.
The block is hidden when the specified section does not exist.
The latest version can display sections from other courses.
Useful links
Contributors
Arnaud Trouvé (Lead maintainer)
Andil Technologies de l'information et de la formation
Nathan Robbins: Original maintainer
Please login to view contributors details and/or to contact them
-Derek
What is the meaning of "contents"? Does a label get displayed?
I'm intrigued by the comment "The latest version can display sections from other courses" Could we have a section that has qualification information linked to in this block on every course in the qual?
Is there somewhere in the universe where this block is, and I could see it in action?
-Derek
What do you mean by qualification information? I am not familiar with that term in this context.
Unfortunately, I don't have a public example. Most of my work is done for employee education within my company.
Any chance of having this block upgraded to work in moodle 2.6? When editing is turned on I get the error:
Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
Debug info: Argument 1 passed to make_editing_buttons() must be an instance of stdClass, instance of cm_info given, called in [dirroot]/blocks/section/block_section.php on line 154 and defined
Error code: codingerror
Stack trace:
line 393 of /lib/setuplib.php: coding_exception thrown
line 2419 of /lib/deprecatedlib.php: call to default_error_handler()
line 154 of /blocks/section/block_section.php: call to make_editing_buttons()
line 775 of /blocks/moodleblock.class.php: call to block_section->get_content()
line 238 of /blocks/moodleblock.class.php: call to block_list->formatted_contents()
line 956 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1008 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
line 6 of /theme/canvas/layout/general.php: call to block_manager->region_has_content()
line 870 of /lib/outputrenderers.php: call to include()
line 800 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 252 of /course/view.php: call to core_renderer->header()
Thanks,
Paul
I forked your repo and done some changes to make it compatible with recent moodle versions. (https://github.com/andil-elearning/moodle_block_section/tree/release/3.0.0)
It seems you are not longer maintaining it, so I'd like to adopt it.
If you are OK with this could you change the repository ownership and add me as maintainer in the Moodle plugin DB please ?
TIA
Arnaud Trouvé
As explained in my previous message I have updated the plugin to work with recent moodle versions (tested on Moodle 3.5 and 3.8).
It can be find at : https://github.com/andil-elearning/moodle_block_section/tree/release/3.0.0
I'll try to do a proper release ASAP.