Bewai_AttributeAssigner - Version 0.1.1

Version Notes

Fixes bug in products grid filter
Fixes multiple screen displays at a time

Download this release

Release Info

Developer Benjamin Yayon
Extension Bewai_AttributeAssigner
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/local/Bewai/AttributeAssigner/Block/Adminhtml/Index/App.php CHANGED
@@ -35,7 +35,8 @@ class Bewai_AttributeAssigner_Block_Adminhtml_Index_App extends Bewai_AttributeA
35
  {
36
  return Mage::getResourceModel('catalog/product_attribute_collection')
37
  ->addVisibleFilter()
38
- ->addFieldToFilter('frontend_input', 'select');
 
39
  }
40
 
41
 
35
  {
36
  return Mage::getResourceModel('catalog/product_attribute_collection')
37
  ->addVisibleFilter()
38
+ ->addFieldToFilter('frontend_input', 'select')
39
+ ->setOrder('frontend_label', 'ASC');
40
  }
41
 
42
 
app/code/local/Bewai/AttributeAssigner/controllers/AdminController.php CHANGED
@@ -134,7 +134,7 @@ class Bewai_AttributeAssigner_AdminController extends Mage_Adminhtml_Controller_
134
  $this->loadLayout('bewai_attributeassigner_admin_index');
135
  $this->getResponse()->setBody(
136
  $this->getLayout()
137
- ->getBlock('bewai_attributeassigner_index_app_products')
138
  ->toHtml());
139
  }
140
 
134
  $this->loadLayout('bewai_attributeassigner_admin_index');
135
  $this->getResponse()->setBody(
136
  $this->getLayout()
137
+ ->getBlock('bewai_attributeassigner_index_app_screen_products')
138
  ->toHtml());
139
  }
140
 
app/code/local/Bewai/AttributeAssigner/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
 
25
  <modules>
26
  <Bewai_AttributeAssigner>
27
- <version>0.1.0</version>
28
  </Bewai_AttributeAssigner>
29
  </modules>
30
 
24
 
25
  <modules>
26
  <Bewai_AttributeAssigner>
27
+ <version>0.1.1</version>
28
  </Bewai_AttributeAssigner>
29
  </modules>
30
 
app/design/adminhtml/default/default/template/bewai/attributeassigner/index/app/screen.phtml CHANGED
@@ -4,10 +4,11 @@ $products = $helper->getSelectedValue('products');
4
  ?>
5
 
6
  <?php if ($helper->getCurrentStep() == 'attribute') : ?>
 
7
  <?php echo $this->getChildHtml('instructions'); ?>
8
- <?php endif; ?>
9
 
10
- <?php if ($helper->getCurrentStep() == 'products') : ?>
 
11
  <?php $grid = $this->getChild('products-grid'); ?>
12
  <?php echo $grid->toHtml(); ?>
13
  <div class="submit-products">
@@ -26,8 +27,7 @@ $products = $helper->getSelectedValue('products');
26
  <?php echo $grid->getMassactionBlock()->getJsObjectName(); ?>.checkCheckboxes();
27
  <?php endif; ?>
28
  </script>
29
- <?php endif; ?>
30
 
31
- <?php if ($helper->isReady()) : ?>
32
  <?php echo $this->getChildHtml('summary'); ?>
33
  <?php endif; ?>
4
  ?>
5
 
6
  <?php if ($helper->getCurrentStep() == 'attribute') : ?>
7
+
8
  <?php echo $this->getChildHtml('instructions'); ?>
 
9
 
10
+ <?php elseif ($helper->getCurrentStep() == 'products') : ?>
11
+
12
  <?php $grid = $this->getChild('products-grid'); ?>
13
  <?php echo $grid->toHtml(); ?>
14
  <div class="submit-products">
27
  <?php echo $grid->getMassactionBlock()->getJsObjectName(); ?>.checkCheckboxes();
28
  <?php endif; ?>
29
  </script>
 
30
 
31
+ <?php elseif ($helper->isReady()) : ?>
32
  <?php echo $this->getChildHtml('summary'); ?>
33
  <?php endif; ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bewai_AttributeAssigner</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -19,17 +19,12 @@ Easy.&#xD;
19
  &#xD;
20
  This works for simple products only. &#xD;
21
  While updating, be aware that these value will change even if the product is part of a configurable product. </description>
22
- <notes>This is the first stable version.&#xD;
23
- &#xD;
24
- Feel free to give feedback and propose any updates you would like to get.&#xD;
25
- &#xD;
26
- Also, this version is given to you as is, please test it on samples or test servers before using in for production environments.&#xD;
27
- &#xD;
28
- This extension has been conceived and tested in Magento 1.9.</notes>
29
  <authors><author><name>Benjamin Yayon</name><user>bouniflax</user><email>benjamin.yayon@bewai.fr</email></author></authors>
30
  <date>2014-10-01</date>
31
- <time>10:13:33</time>
32
- <contents><target name="magelocal"><dir name="Bewai"><dir name="AttributeAssigner"><dir name="Block"><dir name="Adminhtml"><dir name="Index"><dir name="App"><file name="Breadcrumb.php" hash="be7150192b967e9fa71ee79f2a8b46fb"/><dir name="Screen"><file name="Products.php" hash="8b5033581cc94b07431375254b1594df"/><file name="Summary.php" hash="9d3c66d9e26d3f3be1e5e14d3a29cd62"/></dir></dir><file name="App.php" hash="20a0130c7d9612676da00b466b7e6c13"/></dir><file name="Index.php" hash="07591c8786c4fd9721db5c867d48355b"/></dir></dir><dir name="Helper"><file name="Data.php" hash="868fca2c25ddacf905a102571034de88"/></dir><dir name="controllers"><file name="AdminController.php" hash="941797abcee00136f593c67f7e0afc61"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2007d8b32e798a3048a6666022185dcb"/><file name="config.xml" hash="46097f5efb73f141256e519d88697ce0"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bewai_attributeassigner.xml" hash="aecd4a211972477f1e39914c49b2f367"/></dir><dir name="template"><dir name="bewai"><dir name="attributeassigner"><dir name="index"><dir name="app"><dir name="breadcrumb"><file name="attribute.phtml" hash="208d10d4c5ed53c07305614aaa54bf37"/><file name="products.phtml" hash="84c870adc755e378aacab2a21f2612d0"/><file name="value.phtml" hash="797f78361c8360eefe6e84744c78a787"/></dir><file name="breadcrumb.phtml" hash="cca39b4155c1d66aeee4f903f74253f3"/><dir name="screen"><file name="instructions.phtml" hash="263abe2988b05914b9daf8002c7d3f53"/><file name="summary.phtml" hash="290d9b52d82252d6f3648fee4e08bb73"/></dir><file name="screen.phtml" hash="96e46cd9752f0d9effe8a1e083bacb3a"/></dir><file name="app.phtml" hash="b63468c4d613e07d6344037b0cd25154"/><file name="javascript.phtml" hash="ccc27c6a2987488f2a2d36833e915b9f"/></dir><file name="index.phtml" hash="84af54c18e83e57adc21c08b6d6b74d7"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bewai_AttributeAssigner.xml" hash="14a172053dd4542ae577d13225c71ca5"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Bewai_AttributeAssigner.csv" hash="78a634e46e8ef248a177c2aa08bf0d63"/></dir><dir name="fr_FR"><file name="Bewai_AttributeAssigner.csv" hash="beaec95afe43086b962f7ca8e557d513"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="bewai"><dir name="attributeassigner"><file name="adminhtml.css" hash="44dc3b9b17c8b46f7cc1bde22308529e"/></dir></dir></dir></dir></dir></target></contents>
33
  <compatible/>
34
  <dependencies><required><php><min>5.3.0</min><max>5.5.0</max></php></required></dependencies>
35
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bewai_AttributeAssigner</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
19
  &#xD;
20
  This works for simple products only. &#xD;
21
  While updating, be aware that these value will change even if the product is part of a configurable product. </description>
22
+ <notes>Fixes bug in products grid filter&#xD;
23
+ Fixes multiple screen displays at a time</notes>
 
 
 
 
 
24
  <authors><author><name>Benjamin Yayon</name><user>bouniflax</user><email>benjamin.yayon@bewai.fr</email></author></authors>
25
  <date>2014-10-01</date>
26
+ <time>10:58:38</time>
27
+ <contents><target name="magelocal"><dir name="Bewai"><dir name="AttributeAssigner"><dir name="Block"><dir name="Adminhtml"><dir name="Index"><dir name="App"><file name="Breadcrumb.php" hash="be7150192b967e9fa71ee79f2a8b46fb"/><dir name="Screen"><file name="Products.php" hash="8b5033581cc94b07431375254b1594df"/><file name="Summary.php" hash="9d3c66d9e26d3f3be1e5e14d3a29cd62"/></dir></dir><file name="App.php" hash="8cf380fb77f98e4e76b4ee3961069e34"/></dir><file name="Index.php" hash="07591c8786c4fd9721db5c867d48355b"/></dir></dir><dir name="Helper"><file name="Data.php" hash="868fca2c25ddacf905a102571034de88"/></dir><dir name="controllers"><file name="AdminController.php" hash="da70f7f945f2d84d4f0708bd53fe9247"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2007d8b32e798a3048a6666022185dcb"/><file name="config.xml" hash="cb9235138be9d351d27f85a37465ab34"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bewai_attributeassigner.xml" hash="aecd4a211972477f1e39914c49b2f367"/></dir><dir name="template"><dir name="bewai"><dir name="attributeassigner"><dir name="index"><dir name="app"><dir name="breadcrumb"><file name="attribute.phtml" hash="208d10d4c5ed53c07305614aaa54bf37"/><file name="products.phtml" hash="84c870adc755e378aacab2a21f2612d0"/><file name="value.phtml" hash="797f78361c8360eefe6e84744c78a787"/></dir><file name="breadcrumb.phtml" hash="cca39b4155c1d66aeee4f903f74253f3"/><dir name="screen"><file name="instructions.phtml" hash="263abe2988b05914b9daf8002c7d3f53"/><file name="summary.phtml" hash="290d9b52d82252d6f3648fee4e08bb73"/></dir><file name="screen.phtml" hash="7bd643a91c3979da5fc36d68cee1af83"/></dir><file name="app.phtml" hash="b63468c4d613e07d6344037b0cd25154"/><file name="javascript.phtml" hash="ccc27c6a2987488f2a2d36833e915b9f"/></dir><file name="index.phtml" hash="84af54c18e83e57adc21c08b6d6b74d7"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bewai_AttributeAssigner.xml" hash="14a172053dd4542ae577d13225c71ca5"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Bewai_AttributeAssigner.csv" hash="78a634e46e8ef248a177c2aa08bf0d63"/></dir><dir name="fr_FR"><file name="Bewai_AttributeAssigner.csv" hash="beaec95afe43086b962f7ca8e557d513"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="bewai"><dir name="attributeassigner"><file name="adminhtml.css" hash="44dc3b9b17c8b46f7cc1bde22308529e"/></dir></dir></dir></dir></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>5.3.0</min><max>5.5.0</max></php></required></dependencies>
30
  </package>