- Issue created by @drupalnesia
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hi drupalnesia, EBT Webform Popup module creates usual Drupal block type. You can use it in Layout Builder as you mentioned. Also you can create usual block and place it in right region in Block Layout:
/admin/structure/blockYou can also create block in Block Library:
https://www.altium.com/documentation/admin/content/blockAnd use it with Block Field module in any content type or paragraph type:
https://www.drupal.org/project/block_field →If you use paragraphs, you can use another EPT Webform Popup module, which creates paragraph type instead of block type:
https://www.drupal.org/project/ept_webform_popup →Again, EBT Webform Popup module creates usual Drupal block type, you can use it in any Drupal way you use on your site.
Here is demo page:
https://drupalbook.org/ebt/demo/webform-popup - Status changed to Closed: works as designed
5 months ago 8:15am 5 August 2024 - 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Thank you for using EBT/EPT modules! Ping me if you will need any help.
- Status changed to Active
5 months ago 9:40am 5 August 2024 - 🇮🇩Indonesia drupalnesia
Wow very2 easy, I think I must hide the Block first but this module already handled it for me.
BTW, I don't the Settings to use an Image instead a Text Link to popup the Webform. - Status changed to Closed: works as designed
5 months ago 6:48am 6 August 2024 - 🇷🇸Serbia levmyshkin Novi Sad, Serbia
You can add a new Media/Image field in EBT Webform Popup and display it in template for the block type. Here now is {{ button_text }} variable, but you can insert whatever what you want in the templates:
block--block-content--ebt-webform-popup.html.twig
(for content blocks or adding via Block Layout)
block--inline-block--ebt-webform-popup.html.twig
(for Layout Builder blocks)You can override block template in your custom theme, just add -custom in template name:
block--block-content--ebt-webform-popup-custom.html.twig
block--inline-block--ebt-webform-popup.html.twig
Here is more information:
https://www.drupal.org/project/ept_accordion/issues/3418633 🐛 Ignores customized paragraph--ept-accordion-section--default.html.twig in theme folder Fixed
https://www.drupal.org/project/ept_slideshow/issues/3406887 💬 How to override slideshow item template file? Needs reviewThere are tickets for EPT modules, but I hope I did the same for EBT modules too. If I didn't, ping me and I will add template suggestions for *-custom.html.twig.