Add Color Chooser in Module Configuration via system.xml

  Add the following code in your etc/adminhtml/system.xml <field id=”color_picker” translate=”label” type=”text” sortOrder=”1″ showInDefault=”1″> <label>Choose Color</label> <frontend_model>Vendor\Module\Block\ColorPicker</frontend_model> <comment>Choose FAQ mainpage heading color.</comment> </field> Now Insert the following code in your …

Read More

Create UI Grid in Magento 2

Today we will learn how to create magento 2 admin grid with ui- component <?xml version=”1.0″ encoding=”UTF-8″?> <listing xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Ui:etc/ui_configuration.xsd”> <argument name=”data” xsi:type=”array”> <item name=”js_config” xsi:type=”array”> <item name=”provider” xsi:type=”string”>flash_sales_pro_listing.flash_sales_pro_listing_data_source</item> <item …

Read More