How to use this Webform Popup module?

Created on 5 August 2024, 5 months ago
Updated 6 August 2024, 5 months ago

Look like great module but I can not find how to use this Webform Popup module?
Show we use it inside Layout Builder only?

Suppose my Webform is "/form/contact" and I have create a link to "form/contact", then how to use this module to Popup Webform-Contact?

💬 Support request
Status

Closed: works as designed

Version

1.4

Component

Documentation

Created by

🇮🇩Indonesia drupalnesia

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

Comments & Activities

  • 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/block

    You can also create block in Block Library:
    https://www.altium.com/documentation/admin/content/block

    And 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
  • 🇷🇸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
  • 🇮🇩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
  • 🇷🇸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 review

    There 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.

Production build 0.71.5 2024