Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force template mode when loading _layouts/components/header-photo.twig #15487

Merged
merged 6 commits into from
Sep 3, 2024

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Aug 6, 2024

Description

If you are using the UsersController in a site context, you will end up with an error when uploading or removing a user photo:

There was an error uploading the photo: Unable to find the template “_layouts/components/header-photo.twig”.

This forces it to use the cp view mode.

Related Issues

@brandonkelly brandonkelly merged commit ac77954 into 5.x Sep 3, 2024
3 checks passed
@brandonkelly brandonkelly deleted the bugfix/header-photo-template-on-site branch September 3, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants