Closed (fixed)
Project:
Bluecheese
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
2 Jul 2025 at 19:07 UTC
Updated:
17 Jul 2025 at 11:04 UTC
Jump to comment: Most recent
I was looking at changing the contribution record template, which is custom in the contribution_records module, I was not expecting another custom override in bluecheese. We should avoid custom code overriding custom code.
Content-type-specific CSS is good in bluecheese. This MR moves the attachment to bluecheese_preprocess_node() so there is not a blocker to removing node--contribution-record--full.html.twig and getting the customizations into the contribution_records version of the template.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fjgarlin commentedGood call. I've actually been meaning to remove the duplicated twig templates from "contribution_records". However, we will need to add "bluecheese" as dependency so we can make reference to the SDC.
Comment #5
fjgarlin commentedMerged. I will follow up clean up duplicated templates and updating dependencies.
Comment #7
fjgarlin commentedThe above comment shows the removal of the template from bluecheese, and the below commits the update of the template in the contrib module to use bluecheese:
- https://git.drupalcode.org/project/contribution_records/-/commit/1d18971...
- https://git.drupalcode.org/project/contribution_records/-/commit/f85db9c...