I am trying to override the LOGO_TRADEMARK_URL value and would like to see it pulled in to the footer component, however it doesn’t seem to work and I get the default site logo there.
I am wondering if it’s because the MFE_CONFIG is actually defined below the openedx-lms-production-settings patch in tutor/env/apps/openedx/settings/lms/production.py and the LOGO_TRADEMARK_URL is again set to the default value?
Or am I missing something? The footer component is installed with a mfe-dockerfile-post-npm-install patch.
Right, I see where there is a bug. the mfe plugin adds items to the ENV_PATCHES filter, while the yaml plugin patches are added to ENV_PATCH. Tutor processes the items from ENV_PATCH first, so your patch is added before the mfe patches.
We should probably fix Tutor such that yaml plugins add patches to ENV_PATCHES instead of ENV_PATCH (I just created this PR: fix: v0 plugin patch ordering by regisb · Pull Request #817 · overhangio/tutor · GitHub). But this is not going to resolve your issue @mrtmm if you’re not on the latest tutor version. I strongly suggest you convert your yaml plugin to Python. Alternatively, create a simple mfeconfig2.py plugin where you add just your patch:
Finally got around testing this again and can confirm that with the latest Tutor version (15.3.3) the footer logo is showing up correctly, thanks @regis!