bubble-house / module-integration
Bubblehouse Magento 2 Integration Module
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.1
- magento/framework: 103.0.*
- magento/module-config: 101.2.*
- magento/module-customer: 103.0.*
- magento/module-sales: 103.0.*
- magento/module-sales-rule: 101.2.*
This package is not auto-updated.
Last update: 2025-05-23 13:56:55 UTC
README
This Magento 2 widget allows you to display an iframe for the BubbleHouse Block API. You can customize the iframe by specifying parameters such as the page name and the height of the iframe.
Widget Configuration
The widget is defined in etc/widget.xml
as follows:
Widget Parameters
-
page: Text parameter (default "Rewards7")
Enter the page (or endpoint) name that the iframe should load. -
height: Text parameter (default "1700")
Define the height of the iframe in pixels.
How to Use the Widget
- Embedding in a
.phtml
Template:
- Adding the Widget to a CMS Page or CMS Block:
Use this directive in the content editor:
{{widget type="BubbleHouse\Integration\Block\Widget\Iframe" page="MyCustomPage" height="1200"}}
- Inserting the Widget Using the Admin “Insert Widget” Tool:
- Go to Content > Pages (or Blocks) and edit a page or block.
- Click "Insert Widget".
- Select "Bubblehouse Integration Iframe".
- Set parameters: Page and iFrame Height.
- Click Insert Widget. Magento will insert the directive as shown above.
Final Notes
- Caching: Flush Magento caches after adding or updating widgets.
- Template Location: Make sure the widget template
iframe.phtml
is located inview/frontend/templates/widget/
.