Timeline for What is the equivalent of Joomla's {loadposition} and {loadmodule}?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 9, 2021 at 17:32 | comment | added | user104683 | Hi, leymannx. Thank you for help. I have not even installed Paragraphs yet, but I think yours is the answer. And I mean the "Block Field" part. Installing Block Field and using Layout Builder, and ofc Paragraphs later on which will possibly enhance it further, seems to give exactly that functionality as {loadposition} and {loadmodule} would in Joomla. I can add menus, add login forms, any block, inside an article this way. Please write an answer leymannx so I can accept it as the correct one. :) | |
Jun 8, 2021 at 17:40 | history | edited | Pierre.Vriens | CC BY-SA 4.0 |
deleted 42 characters in body; edited tags
|
Jun 8, 2021 at 11:09 | answer | added | sonfd | timeline score: 0 | |
Jun 8, 2021 at 11:01 | history | edited | avpaderno♦ | CC BY-SA 4.0 |
removed "Drupal" and tags from the title
|
Jun 8, 2021 at 7:58 | comment | added | leymannx |
No I'm talking about just Paragraphs which lets you create paragraph types which then can be added one by one to a node into a let's say field_content_paragraphs , and one paragraph type could be named "Block" which contains a Block Field that's lets you reference a block on any position within the field_content_paragraphs of a node. Only thing you might pay attention to I think was it only can reference block which has been placed at the Structure > Block page (maybe in a "Hidden" region). Try it out
|
|
Jun 8, 2021 at 7:09 | comment | added | user104683 | @leymannx Hi thanks for chiming in! Sounds promising, is this what you are talking about? youtube.com/watch?v=73uepd9CLFI Also, is there a limitation on the type of blocks that this would work with? Or does it work for blocks like menus etc too? | |
Jun 8, 2021 at 6:55 | review | Close votes | |||
Jun 8, 2021 at 17:40 | |||||
Jun 8, 2021 at 6:41 | comment | added | leymannx | Most common approach for content in nowadays Drupal is to use Paragraphs to build your content modularly like in WordPress' Guttenberg Editor. Then you have a paragraph type "Text", a paragraph type "Image", a paragraph type "Text and Image" and so on. And you add them to the page in any desired order you want. What about a paragraph type "Block Reference" which contains a block reference field that lets you add any block you want in any position in the content? | |
Jun 8, 2021 at 5:27 | review | First posts | |||
Jun 8, 2021 at 6:05 | |||||
Jun 8, 2021 at 5:21 | history | asked | user104683 | CC BY-SA 4.0 |