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
[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 create a filter code along the lines of {ifcourse_customfield shortname} which shows content if that customfield contains something, but doesn't display things if it is empty.
We have a set of 12 'competencies' (these are not Moodle competencies but something else) and each course is cross referenced to whichever competencies that course covers. We want to display within each course, which competency is covered including an icon and a link to a further information page for that competency. If I create a custom field for each competency, a course creator can tick the boxes for which competencies are covered - I can then have a generic page in each course, which has each of the 12 competencies listed and based on this filter code would display the relevant ones.
Screenshots / Mock-ups
No response
Alterative you have considered
I did look at the Generico filter, but I don't think this will do this on its own (although I may use in conjunction with filter codes to actual apply this mechanism).
Additional information
As always, thanks in advance, as you know - I love this plugin....
Planning on submitting a solution in a pull request (PR)?
Prerequisites
Feature Request - The User Story
Would it be possible to create a filter code along the lines of {ifcourse_customfield shortname} which shows content if that customfield contains something, but doesn't display things if it is empty.
We have a set of 12 'competencies' (these are not Moodle competencies but something else) and each course is cross referenced to whichever competencies that course covers. We want to display within each course, which competency is covered including an icon and a link to a further information page for that competency. If I create a custom field for each competency, a course creator can tick the boxes for which competencies are covered - I can then have a generic page in each course, which has each of the 12 competencies listed and based on this filter code would display the relevant ones.
Screenshots / Mock-ups
No response
Alterative you have considered
I did look at the Generico filter, but I don't think this will do this on its own (although I may use in conjunction with filter codes to actual apply this mechanism).
Additional information
As always, thanks in advance, as you know - I love this plugin....
Planning on submitting a solution in a pull request (PR)?
No
Code of Conduct