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
32 stars 45 forks source link

Feature request: {sectionname} #156

Closed brunohcury closed 3 years ago

brunohcury commented 3 years ago

Hi Michael, This plugin is awesome. Can you tell me if I can insert a filter to get the name of the section an activity is in? Something like {sectionname}? Thank you so much!

course-page page-2

michael-milette commented 3 years ago

Hi @brunohcury ,

Thank you very much for submitting your feature request. The information you provided was very helpful.

You asked for it? You got it! The latest version of FilterCodes here on GitHub (v2.2.3) now includes a shiny new {sectionname} tag. I would appreciate it very much if you could try it out and let me know if it works for you.

If it works for you, I will include it in the next release of FilterCodes, which will be released around the same time as Moodle 4.0 in November 2021 (I only release there twice a year). However, you are more than welcome to continue using the version from GitHub until then.

Best regards,

Michael Milette

brunohcury commented 3 years ago

Fantastic Michael, amazing.

It met my expectations perfectly. Thank you very much, for sure this is a plugin that must not be missing for those who use Moodle.

michael-milette commented 3 years ago

You are very welcome. :-)

I really appreciate hearing that you find you are finding it useful. Thank you for reaching out with your suggestion.

Best regards,

Michael

brunohcury commented 3 years ago

Hi Michael,

Using the same example mentioned above, I ask: Is there any filter to bring {instancename}?

michael-milette commented 3 years ago

Please open a new ticket for this feature request and provide an example of how you would use this. I do not understand what you mean by instance name.