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 43 forks source link

Increasing maximum number of {global_...} tags #217

Closed andrewrowatt-masseyuni closed 1 year ago

andrewrowatt-masseyuni commented 2 years ago

Hi Michael & team,

Fantastic plugin!! We are making a lot of use of it and consequently are very close to hitting the globaltagcount limit of 20. Are we able to increase that safely - to say 50??

Advice appreciated!.

Regards, Andrew

Massey University

michael-milette commented 2 years ago

Hi @andrewrowatt-masseyuni ,

Thank you for your kind words. I don't think it would be a problem. The limit of 20 was chosen to try and limit the impact on the system.

Do you mind if I ask how you are using the {global} tags that you need so many?

Best regards,

Michael

andrewrowatt-masseyuni commented 2 years ago

Thanks for the advice @michael-milette. We have a lot of standard text in our University course template and using FilterCodes seemed a good option. We have around 3,000 courses that are rolled over each year and often have minimal maintenance, so to update text once is hugely useful.

michael-milette commented 2 years ago

Can you give me examples of uses for global tags. Just trying to understand why you need so many.

andrewrowatt-masseyuni commented 2 years ago

Sure, our course template has up to 10 general sections, each with at least one explainer note, most have a separate recommendations note as well. We also use global tags for site-wide notices (e.g. COVID related). Thanks, Andrew

michael-milette commented 2 years ago

Hi @andrewrowatt-masseyuni

Thank you. I will let you know when it will be ready for testing.

Best regards,

Michael

michael-milette commented 2 years ago

Hi @andrewrowatt-masseyuni ,

As requested, I increased the maximum number of {global_...} tags to 50. The change is currently only available here on GitHub and is ready for testing. I would really appreciate it if you be so kind as to test it and let me know if it works for you.

If it does, the change will be included in the next release of FilterCodes on Moodle.org.

Best regards,

Michael Milette

andrewrowatt-masseyuni commented 2 years ago

Thank you @michael-milette!

michael-milette commented 1 year ago

Hi @andrewrowatt-masseyuni ,

This is now also available on Moodle.org. Thanks again for your suggestion!

Best regards,

Michael