- π«π·France devil2005
Hi,
Same error here too :(
We need this function please :)Thanks
- π«π·France jeanpaulbouvet
I have try any name suggestions for Two column Content:
bs-2col--node.html.twig
bs-2col--node-full.html.twig
bs-2col--node--{id}.html.twig
and even changing name when I think it's not correct
so bs-2col--node--full.html.twig rather than bs-2col--node-full.html.twig
It doesn't work in any case. So i'm wandering if it's a question of naming the template file. It's the first time I have problem when customising templates. Have I missed something?
Thank you for helping - π¬π§United Kingdom natts London
The reason why this isn't working, is that the module contributors never bothered to actually implement the suggestions. If you search the code, there's no use of the suggestions hook: https://git.drupalcode.org/search?search=suggestions&nav_source=navbar&p...
See https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
It's very disappointing this expected functionality from a templating module has never been implemented.
- Status changed to Needs review
10 months ago 12:34am 27 February 2024 - π¨π¦Canada smulvih2 Canada π
I have ran into this issue on a few different projects. I wanted to just override the template file but for only one specific variant. The patch attached adds this basic theme suggestion.
- π¨π¦Canada smulvih2 Canada π
Have to wrap the code to check if #page_variant isset() so it doesn't complain on non-panel pages.