mboisson
(Maxime Boissonneault)
1
I am using tutor 18.1.3. I am desperately trying to hide the “Register” link from this page:
https://apps.edx.edu-dev.calculquebec.cloud/authn/login
and I can’t figure out instructions for it to actually work.
After sifting through many posts regarding the same topic, I figured out this seemed the most up to date, but it does not work.
I have defined brand-openedx/paragon/_overrides.scss at 0.1 · calculquebec/brand-openedx · GitHub
Configuration parameters are here:
and added a plugin to install it, and it just is not work. Why is it so complicated ? I have spent over a day trying to hide a single HTML item!
Juan-Carlos
(Juan Carlos Iasenza (Aulasneo))
2
Hello mboisson maybe with this help you can solve the solution:
mboisson
(Maxime Boissonneault)
3
so I need to fork the whole MFE repository just to hide a link ?!
mboisson
(Maxime Boissonneault)
4
I don’t understand, according to
and
it should check SHOW_REGISTRATION_LINKS, and not show the links given that I define SHOW_REGISTRATION_LINKS to false here
Why is it not working ? Do I need to set it through something else, like mfs-lms-production-settings
and MFE_CONFIG['SHOW_REGISTRATION_LINKS']
?
mboisson
(Maxime Boissonneault)
5
Ok, the solution is a plugin that does:
hooks.Filters.ENV_PATCHES.add_item(("mfe-lms-production-settings", "MFE_CONFIG['SHOW_REGISTRATION_LINKS'] = False"))
this is for MFE, while this
hooks.Filters.ENV_PATCHES.add_item(("common-env-features", "'SHOW_REGISTRATION_LINKS': false"))
is for the LMS/CMS.
No need to fork anything or patch any theme.