Drupal Block Paragraph is not rendered

Created on 15 October 2023, about 1 year ago
Updated 27 June 2024, 6 months ago

I'm still having this issue:

https://www.drupal.org/project/w3css_paragraphs/issues/3359539 πŸ’¬ W3CSS Paragraph Drupal Block is not rendered Closed: works as designed

Any "Drupal Block" Paragraph I'm trying to display doesn't work.

I'm on Drupal 10, multilingual.

I have a hunch that the issue might be related to multilingual, because when choosing a block to display in the "add Drupal Block paragraph" dialog it shows me a list with many duplicates in all languages.

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @drupaldope
  • I did some more digging ...
    I finally found the "menu" block inclusion, the "custom block" inclusion ... and there are also "webform block" and "views" inclusions.
    (they do work fine)

    shouldn't that cover all uses ?
    what is "W3CSS Paragraphs Drupal Block" used for ?

    why can't just any block be included using the same block paragraph ?

    trying to wrap my head around it.

    and then one problem subsists :
    I created a new block type "paragraphed block" -> I can't get that block to display.

  • Assigned to flashwebcenter
  • Status changed to Fixed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX

    If the block is available at `your-site-dot-com/admin/structure/block`, it will be visible in the Drupal Blocks Auto Select Field. This field will display all blocks for all installed themes. For instance, if you have three installed themes and the user menu is added to all three, the Drupal Block field will show three user menu blocks.

    You can modify the Drupal Block field widget to a Select list and save it by navigating to `your-site-dot-com/admin/structure/paragraphs_type/w3css_block/form-display`.

    To make the paragraph block functional, follow these steps:

    1. Add a paragraph field at `your-site-dot-com/admin/structure/block-content/manage/basic/fields`.
    2. Create a new block with Paragraph content at `your-site-dot-com/block/add/basic`.
    3. You can now add the block to any region at `your-site-dot-com/admin/structure/block`.
    4. If you wish to add the block to content instead of a region, go to `your-site-dot-com/node/add/article`.
    5. Add a field at `your-site-dot-com/admin/structure/types/manage/article/fields`. Then, navigate to `your-site-dot-com/admin/structure/types/manage/article/fields/add-field`. In the select list under reference, choose content. On the next page, change Content to Content Block and save. Choose the block type you want to reference. This field is the exact field type in the w3css_custom_block bundle.
    6. Add content at `your-site-dot-com/node/add/article` and in the new field, reference the paragraph block you created.

    Best wishes,
    Alaa

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed about 1 year ago
  • Dear Alaa
    Thank you for your reply.
    Apologies for my late response as I was tied up in other work.

    Am I correct in my understanding that the "Drupal block" in w3css_paragraphs can only include the core "basic block" type ?

  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX

    Hello,

    The term "Drupal Blocks" refers to the default blocks that are included with Drupal upon installation. On the other hand, "Drupal custom block" refers to any block types that you personally create.

    The "Basic block" is a type of custom block that is readily available upon Drupal installation, similar to the two content types, "Article" and "Page".

    The URL "your-site-dot-com/admin/structure/block-content" is used to manage any custom block types that you create, in a similar way to how "your-site-dot-com/admin/structure/types" is used to manage any content types that you create.

    The URL "your-site-dot-com/admin/content" is used to manage any content that you have created from all content types.

    Lastly, the URL "your-site-dot-com/admin/content/block" is used to manage any blocks that you have created from all block types.

    Best wishes,
    Alaa

  • Thank you Alaa for that exhaustive reply, that makes sure there's no room for misinterpretation.

    So any blocks created by a module would be rendered using "Drupal custom block" ?

    I used the Block Paragraph in Bootstrap Paragraphs a few years back and there was only one paragraph to include any type of block, I disliked BP for other reasons though.

  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX

    So any blocks created by a module would be rendered using "Drupal custom block" ? No. These blocks will be rendered by a special field. Example the views reference module https://www.drupal.org/project/viewsreference β†’ .

    Best wishes,
    Alaa

  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX
Production build 0.71.5 2024