Creating a new region in your Drupal 8 theme

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 7

  • @ASkl-w6j
    @ASkl-w6j 2 роки тому

    Now, you are my best friend ! :)

  • @sydneymadope
    @sydneymadope 3 роки тому

    Perfect. Thank you

  • @nick_jacob
    @nick_jacob 5 років тому

    This doesn't work for me. Not sure what i'm doing wrong honestly. The block shows up in the block list but it doesn't show up in the demonstration area and when you apply a block to it, it doesn't appear.

  • @Gorr1995
    @Gorr1995 6 років тому

    Is there some difference how u call footy_foot field ?! I thought that it could be some random name but it won't work. Then i called it "Footer foot region" and it worked .I Think there are some rules how the fields must be named ?!

    • @Drupal-up
      @Drupal-up  6 років тому +2

      Hi Gorr1995,
      in our case, foooty_foot is the key of the region and it is the exact same value that we use in our .info.yml file (github.com/drupal-up/drupalup_new_region/blob/master/drupal_up/drupal_up.info.yml). You could use another key value, but of course, you would have to have the same in the .info.yml file and then render it in the page.html.twig template. After you do your changes, you would have to clear the cache.
      Cheers and good luck,
      Nikolay

  • @sebastian_89
    @sebastian_89 5 років тому +1

    what editor ?