Skip to content

Magento 2 Module that adds extra field types for Widgets. For example Image and WYSIWYG fields

Notifications You must be signed in to change notification settings

integer-net/magento2-module-widget-extra-fields

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Widget Extra Fields

Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development. Codacy Badge Code Climate Issue Count

Magento 2 module to add extra field types on widgets

Installation

$ composer require "staempfli/magento2-module-widget-extra-fields":"~1.0"

Usage

ImageField

Use Staempfli\WidgetExtraFields\Block\Adminhtml\ImageField as block type in your widget parameter

<widget id="<widget_id>" class="Vendor\Module\Block\Widget\<Your_Widget>" >
    <label translate="true">Widget Name</label>
    <description>Widget Description</description>
    <parameters>
        <parameter name="image" xsi:type="block" visible="true" sort_order="100" required="true">
            <label translate="true">Image</label>
            <block class="Staempfli\WidgetExtraFields\Block\Adminhtml\ImageField"/>
        </parameter>
    </parameters>
</widget>

image alt

Prerequisites

  • PHP >= 7.0.*
  • Magento >= 2.1.*

Developers

Juan Alonso, and all other contributors

License

Open Software License ("OSL") v. 3.0

Copyright

(c) 2017, Stämpfli AG

About

Magento 2 Module that adds extra field types for Widgets. For example Image and WYSIWYG fields

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 53.4%
  • HTML 24.1%
  • JavaScript 22.5%