How to change edx logo and sign in link in password reset email

I’ve found the template in base.body.html

Should i change it directly or is there any other method, i don’t feel right hard coding it

1 Like

Hi @LeonordLim,
Regarding sign-in link, you can change it from here: https://github.com/edx/edx-platform/blob/open-release/hawthorn.master/openedx/core/djangoapps/ace_common/template_context.py#L18

For logo:

  1. add your variable for logo in template_context.py and use it in the template
    or
  2. You can override the template in your theme directory if comprehensive theming is enabled and Hardcode logo link.
1 Like

To make your theme override templates in the openedx ace_common/edx_ace/common directory, you’ll need to put those templates under the lms/templates/ace_common/edx_ace/common directory in your theme. It’s unintuitive, but seems to be the only way the theme will recognize these files.

We had some luck doing this for the Course Update emails, by overriding
openedx schedules/edx_ace/courseupdate/email templates with theme files under lms/templates/schedules/edx_ace/courseupdate/email/.

CC @sbernesto for How to modify a email template?

@jramnai @jill I made a change request here https://github.com/edx/edx-platform/pull/24754 for just this. Hopefully this will help others out.

1 Like

FWIW, it looks like the logo will be configurable in Lilac:

@Zachary_Trabookis I don’t know if this makes your PR moot, although I do wish we had merged it in Koa.