I understand that to replace the logo.png and favicon.ico files, I need to place them in the tutorindigo/templates/indigo/lms/static/images directory. After replacing these files, I follow this sequence of commands:
tutor config save
tutor local stop
tutor images build openedx
tutor local start -d
However, despite following this sequence, the icons revert to the default ones. Through some debugging, I discovered that the icons reset to default when I run tutor config save.
I have a theory: I’m using a custom frontend-app-authn through a plugin, and this might be causing the icons to revert to the default ones.
I’m using catimg to display the icons in the terminal. I replace the default images through an SFTP application and then run the tutor config save command.
When I run the catimg command again, it’s clear that the icons have reverted to their original form.
Any help with this would be greatly appreciated. Thank you!
Hi @Hamza,
When you run tutor config save everything in your env directory will be overwritten. If you want to go the indigo way, you will have to fork the plugin and customize its templates. Or you can try our tutor-contrib-branding plugin which will handle these things for your without forking.
@Rick_Sauer thanks for your response. I have already tried this and it is not working. @Andres.Aulasneo I was working with you proposed solution. Tutor contib branding. I installed it in my server, but there were alot of missing icons and images. Also, in the theme folder there was no configuration for cms.
Anyways, when I moved back to ingo using tutor local do settheme indigo the desired logo and favicon were picked up which were replaced.
Hi @Hamza,
Tutor contrib branding does not provide any icon out of the box, you have to set them either with BRANDING_LMS_IMAGES and BRANDING_CMS_IMAGESor by using BRANDING_THEME_REPOS. In any case, remember to rebuild your openedx image and restart your containers to apply the changes.