Iksanika_Productrelater - Version 1.0.1

Version Notes

Pagination hot fix

Download this release

Release Info

Developer Iksanika
Extension Iksanika_Productrelater
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/design/adminhtml/default/default/template/iksanika/productrelater/catalog/product/grid.phtml CHANGED
@@ -54,15 +54,15 @@
54
  <?php $_lastPage = $this->getCollection()->getLastPageNumber() ?>
55
 
56
  <?php if($_curPage>1): ?>
57
- <a href="#" title="<?php echo $this->__('Previous page') ?>" onclick="<?php echo $this->getId() ?>JsObjectIKSProductRelater.setPage('<?php echo ($_curPage-1) ?>');return false;"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="Go to Previous page" class="arrow"/></a>
58
  <?php else: ?>
59
  <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left_off.gif') ?>" alt="Go to Previous page" class="arrow"/>
60
  <?php endif; ?>
61
 
62
- <input type="text" name="<?php echo $this->getVarNamePage() ?>" value="<?php echo $_curPage ?>" class="input-text page" onkeypress="<?php echo $this->getId() ?>JsObjectIKSProductRelater.inputPage(event, '<?php echo $_lastPage ?>')"/>
63
 
64
  <?php if($_curPage < $_lastPage): ?>
65
- <a href="#" title="<?php echo $this->__('Next page') ?>" onclick="<?php echo $this->getId() ?>JsObjectIKSProductRelater.setPage('<?php echo ($_curPage+1) ?>');return false;"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="Go to Next page" class="arrow"/></a>
66
  <?php else: ?>
67
  <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right_off.gif') ?>" alt="Go to Previous page" class="arrow"/>
68
  <?php endif; ?>
@@ -71,7 +71,7 @@
71
  <?php echo $this->__('of %s pages', $this->getCollection()->getLastPageNumber()) ?>
72
  <span class="separator">|</span>
73
  <?php echo $this->__('View') ?>
74
- <select name="<?php echo $this->getVarNameLimit() ?>" onchange="<?php echo $this->getId() ?>JsObjectIKSProductRelater.loadByElement(this)">
75
  <option value="20"<?php if($this->getCollection()->getPageSize()==20): ?> selected="selected"<?php endif; ?>>20</option>
76
  <option value="30"<?php if($this->getCollection()->getPageSize()==30): ?> selected="selected"<?php endif; ?>>30</option>
77
  <option value="50"<?php if($this->getCollection()->getPageSize()==50): ?> selected="selected"<?php endif; ?>>50</option>
54
  <?php $_lastPage = $this->getCollection()->getLastPageNumber() ?>
55
 
56
  <?php if($_curPage>1): ?>
57
+ <a href="#" title="<?php echo $this->__('Previous page') ?>" onclick="<?php echo $this->getId() ?>JsObjectIKSProductrelater.setPage('<?php echo ($_curPage-1) ?>');return false;"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="Go to Previous page" class="arrow"/></a>
58
  <?php else: ?>
59
  <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left_off.gif') ?>" alt="Go to Previous page" class="arrow"/>
60
  <?php endif; ?>
61
 
62
+ <input type="text" name="<?php echo $this->getVarNamePage() ?>" value="<?php echo $_curPage ?>" class="input-text page" onkeypress="<?php echo $this->getId() ?>JsObjectIKSProductrelater.inputPage(event, '<?php echo $_lastPage ?>')"/>
63
 
64
  <?php if($_curPage < $_lastPage): ?>
65
+ <a href="#" title="<?php echo $this->__('Next page') ?>" onclick="<?php echo $this->getId() ?>JsObjectIKSProductrelater.setPage('<?php echo ($_curPage+1) ?>');return false;"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="Go to Next page" class="arrow"/></a>
66
  <?php else: ?>
67
  <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right_off.gif') ?>" alt="Go to Previous page" class="arrow"/>
68
  <?php endif; ?>
71
  <?php echo $this->__('of %s pages', $this->getCollection()->getLastPageNumber()) ?>
72
  <span class="separator">|</span>
73
  <?php echo $this->__('View') ?>
74
+ <select name="<?php echo $this->getVarNameLimit() ?>" onchange="<?php echo $this->getId() ?>JsObjectIKSProductrelater.loadByElement(this)">
75
  <option value="20"<?php if($this->getCollection()->getPageSize()==20): ?> selected="selected"<?php endif; ?>>20</option>
76
  <option value="30"<?php if($this->getCollection()->getPageSize()==30): ?> selected="selected"<?php endif; ?>>30</option>
77
  <option value="50"<?php if($this->getCollection()->getPageSize()==50): ?> selected="selected"<?php endif; ?>>50</option>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iksanika_Productrelater</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.iksanika.com/products/IKS-LICENSE.txt">IKS-LICENSE</license>
7
  <channel>community</channel>
@@ -11,11 +11,11 @@
11
  &#xD;
12
  * One Page Bulk Products Update With In-grid Editable Fields for Up-Sell, Cross-Sell and Related products ids fields which allow you easy filter by cross-sell,up-sell, related products and add, change, delete cross-sell,up-sell, related products on one page for list of products and with one click update feature.&#xD;
13
  * Mass Product Relater actions: Mass Relating Products: One-way relate, multi-relate, or un-relate Mass Cross-selling Products: Mass cross-selling products: One-way cross-sell, multi-cross-sell, or un-cross-sell Mass Up-selling Products: One-way up-sell, un-up-sell</description>
14
- <notes>Initial-basic version of Mass Product Relater by Iksanika for Magento store.</notes>
15
  <authors><author><name>Iksanika</name><user>iksanika</user><email>info@iksanika.com</email></author></authors>
16
- <date>2013-05-11</date>
17
- <time>04:34:17</time>
18
- <contents><target name="magecommunity"><dir name="Iksanika"><dir name="Productrelater"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="a0e67eacaa45eb0acf00ed95117d5403"/></dir><file name="Product.php" hash="3f4c56185d797622cdac7b2a9e0dfe30"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Number.php" hash="ff71da7c2f74726dd0efccd752e393f6"/></dir></dir><file name="Column.php" hash="20d990d79cdd6e975428f6e99d2f2641"/><file name="Massaction.php" hash="a2dcb48c8b1bf5039e72bbff0f81b82e"/></dir><file name="Grid.php" hash="3700b8298380428295d717571565fe8c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="06e4facd290ef54099d3776851a3672a"/></dir><dir name="Model"><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><dir name="Product"><file name="Collection.php" hash="28767c33cd5e5914e9aad1a84e79d7df"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Catalog"><file name="ProductController.php" hash="51082ba930014cc627de308261196733"/></dir></dir><dir name="etc"><file name="config.xml" hash="86d21f138cadff8f481dd4e4f827b451"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="iksanika_productrelater.xml" hash="35d21da2b8a52584954952725f64ded6"/></dir><dir name="template"><dir name="iksanika"><dir name="productrelater"><dir name="catalog"><dir name="product"><file name="grid.phtml" hash="a8c5fd65a65dd9ecf678b20b961ccd1e"/></dir><file name="product.phtml" hash="28aa8996480973a016117af744f7c3aa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iksanika_Productrelater.xml" hash="e904533beb0e0dc4f819fb271726bd58"/></dir></target><target name="mage"><dir name="js"><dir name="Iksanika"><dir name="productrelater"><file name="egsupplemental.js" hash="22e901dc1b8b22ae69c4c6241781c783"/><file name="jquery-1.9.1.min.js" hash="bcaf50298ada678da29e7cfa62470db5"/><file name="relatergrid.js" hash="0b8f50918dee4ee6fc76198473e6ddb7"/><file name="relaterproducts.js" hash="0045b5bcda3c95981d042aa135864192"/><dir name="resources"><dir name="css"><file name="productrelater.css" hash="a219b0e656329f2407835dbe346f81d3"/></dir></dir></dir></dir></dir><dir name="media"><dir name="iksanika"><dir name="productrelater"><file name="iksanika-logo.png" hash="445fc3621ed89dc3faa37202185e81b0"/></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iksanika_Productrelater</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.iksanika.com/products/IKS-LICENSE.txt">IKS-LICENSE</license>
7
  <channel>community</channel>
11
  &#xD;
12
  * One Page Bulk Products Update With In-grid Editable Fields for Up-Sell, Cross-Sell and Related products ids fields which allow you easy filter by cross-sell,up-sell, related products and add, change, delete cross-sell,up-sell, related products on one page for list of products and with one click update feature.&#xD;
13
  * Mass Product Relater actions: Mass Relating Products: One-way relate, multi-relate, or un-relate Mass Cross-selling Products: Mass cross-selling products: One-way cross-sell, multi-cross-sell, or un-cross-sell Mass Up-selling Products: One-way up-sell, un-up-sell</description>
14
+ <notes>Pagination hot fix</notes>
15
  <authors><author><name>Iksanika</name><user>iksanika</user><email>info@iksanika.com</email></author></authors>
16
+ <date>2013-05-13</date>
17
+ <time>03:09:45</time>
18
+ <contents><target name="magecommunity"><dir name="Iksanika"><dir name="Productrelater"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="a0e67eacaa45eb0acf00ed95117d5403"/></dir><file name="Product.php" hash="3f4c56185d797622cdac7b2a9e0dfe30"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Number.php" hash="ff71da7c2f74726dd0efccd752e393f6"/></dir></dir><file name="Column.php" hash="20d990d79cdd6e975428f6e99d2f2641"/><file name="Massaction.php" hash="a2dcb48c8b1bf5039e72bbff0f81b82e"/></dir><file name="Grid.php" hash="3700b8298380428295d717571565fe8c"/></dir></dir><dir name="Helper"><file name="Data.php" hash="06e4facd290ef54099d3776851a3672a"/></dir><dir name="Model"><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><dir name="Product"><file name="Collection.php" hash="28767c33cd5e5914e9aad1a84e79d7df"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Catalog"><file name="ProductController.php" hash="51082ba930014cc627de308261196733"/></dir></dir><dir name="etc"><file name="config.xml" hash="86d21f138cadff8f481dd4e4f827b451"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="iksanika_productrelater.xml" hash="35d21da2b8a52584954952725f64ded6"/></dir><dir name="template"><dir name="iksanika"><dir name="productrelater"><dir name="catalog"><dir name="product"><file name="grid.phtml" hash="3a4858aee8de1991cd6ce9e275a7f6e7"/></dir><file name="product.phtml" hash="28aa8996480973a016117af744f7c3aa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iksanika_Productrelater.xml" hash="e904533beb0e0dc4f819fb271726bd58"/></dir></target><target name="mage"><dir name="js"><dir name="Iksanika"><dir name="productrelater"><file name="egsupplemental.js" hash="22e901dc1b8b22ae69c4c6241781c783"/><file name="jquery-1.9.1.min.js" hash="bcaf50298ada678da29e7cfa62470db5"/><file name="relatergrid.js" hash="0b8f50918dee4ee6fc76198473e6ddb7"/><file name="relaterproducts.js" hash="0045b5bcda3c95981d042aa135864192"/><dir name="resources"><dir name="css"><file name="productrelater.css" hash="a219b0e656329f2407835dbe346f81d3"/></dir></dir></dir></dir></dir><dir name="media"><dir name="iksanika"><dir name="productrelater"><file name="iksanika-logo.png" hash="445fc3621ed89dc3faa37202185e81b0"/></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>