tutor icon indicating copy to clipboard operation
tutor copied to clipboard

Add the ability to customize CMS and LMS Features setting.

Open cacciaresi opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe.

We needed to customize only LMS Features setting in its config file, we didn't want to have the new setting entry in CMS settings.

Describe the solution you'd like

We have added this change in lms.env.json: {{ patch("lms-env-features", separator=",\n", suffix=",")|indent(4) }}

and this in cms.env.json: {{ patch("cms-env-features", separator=",\n", suffix=",")|indent(4) }}

By doing this then we can add a file named: lms-env-features in a plugin and that will add the setting only in the LMS settings.

cacciaresi avatar Dec 11 '19 21:12 cacciaresi

This sounds reasonable. Would you like to make a PR?

regisb avatar Dec 12 '19 08:12 regisb