moodle-filter_filtercodes icon indicating copy to clipboard operation
moodle-filter_filtercodes copied to clipboard

Feature Request: Enrolment method filter

Open davefoord opened this issue 1 year ago • 0 comments

Prerequisites

  • [X] I am requesting the new feature to the correct repository.
  • [X] I checked the latest version on GitHub and the README.md documentation to ensure that this functionality does not already exist.
  • [X] I searched to make sure that this feature has not already been requested.
  • [X] I have, or I know someone who has, the ability and willingness to test the new feature on a Moodle LMS-based site.
  • [X] I agree to submit one feature request per issue ticket (do not submit multiple requests in one issue ticket).
  • [X] 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

Would it be possible to add a filter code for enrolment method e.g. {ifenrolmentmethod XXX}{/ifenrolmentmethod} Where the XXX represents the numerical code for each enrolment method.

I use a modular approach with various moodles, where there is a main course (program), and then lots of sub-courses (modules), which use course metalink as enrolment type - with the sub-courses used across multiple programs.

I want to add a button from the modules back to the parent program, but in a way that people only see the buttons for the programs they are on.

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)?

Yes

Code of Conduct

  • [X] I have read and agree to the project's code of conduct.

davefoord avatar Jul 03 '23 07:07 davefoord