This forum is for assistance with theme development.

Render child paragraph values in parent paragraph twig

I'm having the requirement to get the child paragraph field values in the parent paragraph twig considering my HTML structure.

So please give me any suggestion to get the child paragraph values in parent_paragraph.html.twig

Paragraphs module field value conditional in page.html.twig

Hi,

How do you detect if a Paragraphs field is not empty in page.html.twig. The solutions here didn't work for me

Thanks

Add Paragraphs module output to different sections of twig template

Hi,

New to Drupal and Paragraphs module. Let's say I have 2 distinct paragraph types added in the Basic Page content type called pfield1 and pfield2 . pfield1 is just for output images and pfield2 is just for outputting text .

Basic page field layout:

Title field

Content field

pfield1 paragraph type

pfield2 paragraph type

I am experimenting with page.html.twig and following this how-to

Drupal Commerce Belgrade 2.0.0 Product display on home page

Product display on home page
In the Drupal 8 version of theme belgrade 8.x-1.1 when you click on a product you want to add to the cart, the display is presented with the image of the product on the left and the description on the right, on the other hand in the version Drupal 9 from belgrade 2.0.0 theme product image and description overlap so why? Is there a setting problem in the CSS file?
Has anyone made this comment?
Attached are two screenshot images.

User error: "0" is an invalid render array key ... when including a file with SVG code ?

 I have an icons.html.twig file, used to include icons where needed using:

{% include('@mytheme/icons.html.twig') ignore missing with { 'icon': 'arrow-right', 'classes': '' } %}

The file itself contains the SVG code for each icon ...

Pages

Subscribe with RSS Subscribe to RSS - Theme development