michael-milette / moodle-filter_filtercodes

FilterCodes filter for Moodle enables content creators to easily customize and personalize course and site content using plain text tags (no HTML). For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/filter_filtercodes
GNU General Public License v3.0
30 stars 42 forks source link

Feature Request: Enrolment method filter #257

Open davefoord opened 1 year ago

davefoord commented 1 year ago

Prerequisites

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