Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When i add a new region in the .info the region don't appear in the layout builder? The region appear in the block structure but not in the page. what i didn't catch ?
Thx for this awesome module!
Ben
Comments
Comment #2
bensti CreditAttribution: bensti commentedComment #3
Subhransu.addweb CreditAttribution: Subhransu.addweb at AddWeb Solution Pvt. Ltd. commentedPlease check your
page.html.twig
file and put content to your region and again check.Thanks!
Comment #4
SushiKong CreditAttribution: SushiKong commentedCopy the core page.html.twig into YOURTHEME/page.html.twig and edit your new regions into page.html.twig it should then show up in demonstrated mode.
Comment #5
Toby Wild CreditAttribution: Toby Wild as a volunteer commentedI found it a lot more complicated than just adding it into the page.html.twig file.
I posted a 26 point list on how I did it.
https://www.drupal.org/node/2683697#comment-10948489
Comment #6
Akshay kashyap CreditAttribution: Akshay kashyap commentedplease can you check the .info file and in yaml file have to proper take care of the space if you don't give the proper space your regions can-not render in the page.html.twig file.
Can you share screenshot of the .info file and the page.html.twig file
Comment #7
Akshay kashyap CreditAttribution: Akshay kashyap as a volunteer and commentedComment #8
gaurav-mathur CreditAttribution: gaurav-mathur at Dotsquares Ltd. commentedyeah your region appears in block layout by .info file if you want region in demonstrative so you render region in page.html.twig files like
{{ page.footer }} and it is also work for layout builder.
Thanks and Regards