Skip to content

Feature Request: {coursesections totalcount} #359

Description

@ejohnlove

Prerequisites

  • I am requesting the new feature to the correct repository.
  • I checked the latest version on GitHub and the README.md documentation to ensure that this functionality does not already exist.
  • I searched to make sure that this feature has not already been requested.
  • I have, or I know someone who has, the ability and willingness to test the new feature on a Moodle LMS-based site.
  • I agree to submit one feature request per issue ticket (do not submit multiple requests in one issue ticket).
  • I understand that development and support is provided by volunteer(s) and that all final implementation decisions are up TNG Consulting Inc.

Feature Request - The User Story

Hi Michael,

Is it possible to add a new shortcode to FilterCodes that would return the total number of sections in the current course?
...or maybe make a "sectioncount" attribute in an existing shortcode?

My wish is to (easily) inform Instructors when they have too many sections in their Moodle course before it prevents them from adding a new section. The OneTopic course format and other formats can visibly hide sub-sections, and that makes it too easy for old or defunct/hidden content to go unseen. We want to prod our course authors/managers to de-weed their gardens before they get over-run. ;)

Screenshots / Mock-ups

No response

Alterative you have considered

No response

Additional information

No response

Planning on submitting a solution in a pull request (PR)?

No

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions