For assistance with theme development.

STICKY: Theme development forum guidelines

The theme development forum was created to aid those who are developing themes for Drupal. This forum is not for issues you may be having with contrib themes. Issues with contrib themes should be placed in the issue queue of the theme in question. Please respect this.

If you you have drupal installed already and are seeking a theme, have a question about a specific theme and what it does or if it will fit your use case, please place your questions in the Post installation forum.

Drupal 8 One-off Custom Page for Theme

Wondering if anyone can provide pointers for the following:

I'd like to create a one-off custom page which will contain several text fields.

The layout for the page will be custom, placing the text fields in various locations next to design elements which will include diagrams and maps. I'd like the site editors to be able to update the text fields/labels, including language versions.

Right way to use Entity References in D8?


I think one of the greatest plugins of D7 was the "Entity Reference" plugin.. Now its include in D8 in core but it seems like nobody knows how to use it..

I really can't figure out how to display field values of an referenced entity in my template.
Does anybody have an idea? Do I need to create a preprocess function with all the business logic and pass it to the template? Is there maybe already a "twig function" for getting field values of an referenced entity?

Thanks for your help,

Access fields in Entity Reference in D8


lets say we have to Content Types: "A" and "B".
Content Type "A" has only one field: "a_field_1" of typ "Entity Reference"
Content Type "B" has 2 fields: b_field_1 and b_field_2 of type Text or something else..

Define block's region and position in it..when installing the theme !

Hi, fellow's !

How , where and why could i define the default Drupal block to be positioned where I want in the sections defined in the .info file of my theme, when a administrator choose to install and use it ??

Some var in the info file? in a config folder? with a module? with my right feet ?

If you help me to make it possible, you'll save 36 kittens in the world from DEATH !

Thanks for them.

Sticky Table Headers for overflow (scrollpane)

Hi, I am experiencing an issue with table headers not being sticky when I scroll within an overflow vertically. The table headers are sticky when I scroll down the entire page, but not when I scroll within the overflow. Any idea how I can apply the sticky header to work properly within the overflow?


Subscribe with RSS Subscribe to RSS - Theme development