2017 © Pedro Peláez
 

magento-module widgets

A module for extended widget options in Magento 1.

image

manners/widgets

A module for extended widget options in Magento 1.

  • Wednesday, May 4, 2016
  • by dmanners
  • Repository
  • 5 Watchers
  • 17 Stars
  • 1,880 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

Manners_Widgets

Magento Widget extension add some useful features to the Magento_Widget module., (*1)

Features

  • Multiple selection for products,

How it works

Products, (*2)

The product part of the system is based around the widget of type manners_widgets/products. This widget is defined in the xml file app/code/community/Manners/Widgets/etc/widget.xml. The widget comes with a chooser with the helper type manners_widgets/catalog_product_widget_chooser., (*3)

The chooser is based from the Magento standard chooser Mage_Adminhtml_Block_Catalog_Product_Widget_Chooser but to make it work with mass actions the following has been changed:, (*4)

  • define new massaction block in _construct,
  • add custom columns in _prepareColumns,
  • add massaction items in _prepareMassaction,
  • update chooser to use custom url in prepareElementHtml,

The chooser will end up using the controller app/code/community/Manners/Widgets/controllers/Adminhtml/Product/Multiple/WidgetController.php. This controller is again the same as the standard Mage_Adminhtml_Catalog_Product_WidgetController apart from it uses manners_widgets/catalog_product_widget_chooser to build the grid., (*5)

The class app/code/community/Manners/Widgets/Block/Catalog/Product/Massaction.php is used to extend the JavaScript for row and button selection. This will make sure that the varienGridMassaction is updated correctly and the selection is taken into account., (*6)

There is also an extension of the standard JavaScript under js/manners/adminhtml/widgets.js for the following:, (*7)

  • add new parameter,
  • extend varienGridMassaction.onGridRowClick to set new parameter with the text value no id value of the row,

ToDo

The Versions

04/05 2016

dev-master

9999999-dev

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

04/05 2016

1.2.0

1.2.0.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

04/05 2016

1.1.1

1.1.1.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

04/05 2016

1.1.0

1.1.0.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

03/05 2016

1.0.0

1.0.0.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

29/04 2016

0.1.2

0.1.2.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

29/04 2016

0.1.0

0.1.0.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5

 

29/04 2016

0.1.1

0.1.1.0

A module for extended widget options in Magento 1.

  Sources   Download

The Requires

  • php ~5.5