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

Blacklight 8 view not overriding #3352

Open
saffeullah opened this issue Oct 8, 2024 · 1 comment
Open

Blacklight 8 view not overriding #3352

saffeullah opened this issue Oct 8, 2024 · 1 comment

Comments

@saffeullah
Copy link

Hi everyone, i am trying to override Blacklight 8.0 app/views/catalog/_facet_layout.html.erb file but the changes aren't getting reflected on the production server. I have tried clearing cache too. Any idea what is going on?
I tested overriding same facet with Blacklight 7 and it worked.

If i want to change the same view functionality in blacklight 8. What will you suggest? Blacklight 8 github repo contains app/views/catalog/_facet_layout.html.erb view. You can check here
https://github.com/projectblacklight/blacklight/blob/release-8.x/app/views/catalog/_facet_layout.html.erb

So if offcial blacklight 8 repo contains the same view, shouldn't it be easily overridden? Or there is some other way to achieve this in blacklight 8?

@jcoyne
Copy link
Member

jcoyne commented Oct 16, 2024

Have you tried enabling config.action_view.annotate_rendered_view_with_filenames = true and viewing the page source? Does that give you any insight into what partials are being used?

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

No branches or pull requests

2 participants