Version Notes
Fixes 404 issues and adds a Categories column option.
Now Considered STABLE
Download this release
Release Info
Developer | Magento Core Team |
Extension | TBT_Enhancedgrid |
Version | 1.2.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1.1
- app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php +52 -5
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column.php +3 -0
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Category.php +39 -0
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Renderer/Category.php +87 -0
- app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php +1 -0
- app/code/community/TBT/Enhancedgrid/etc/config.xml +12 -5
- app/design/adminhtml/default/default/layout/tbt_enhancedgrid.xml +0 -10
- package.xml +9 -13
app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php
CHANGED
@@ -78,6 +78,10 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
78 |
return isset($this->columnSettings[$code]);
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
81 |
protected function _prepareLayout()
|
82 |
{
|
83 |
$this->setChild('export_button',
|
@@ -148,10 +152,37 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
148 |
// EG: Select all needed columns.
|
149 |
//id,name,type,attribute_set,sku,price,qty,visibility,status,websites,image
|
150 |
foreach($this->columnSettings as $col => $true) {
|
151 |
-
if($
|
152 |
$collection->addAttributeToSelect($col);
|
153 |
}
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
$this->setCollection($collection);
|
156 |
|
157 |
$this->addExportType('*/*/exportCsv', Mage::helper('customer')->__('CSV'));
|
@@ -376,10 +407,26 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
376 |
}
|
377 |
}
|
378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
// EG: Show all (other) needed columns.
|
380 |
$ignoreCols = array('id'=>true, 'websites'=>true,'status'=>true,'visibility'=>true,'qty'=>true,
|
381 |
'price'=>true,'sku'=>true,'attribute_set_id'=>true, 'type_id'=>true,'name'=>true,
|
382 |
-
'image'=>true, 'thumbnail' => true, 'small_image'=>true);
|
383 |
$currency = $store->getBaseCurrency()->getCode();
|
384 |
$truncate = Mage::getStoreConfig('enhancedgrid/general/truncatelongtextafter');
|
385 |
$defaults = array(
|
@@ -497,7 +544,7 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
497 |
$imgHeight = Mage::getStoreConfig('enhancedgrid/images/height');
|
498 |
$this->getMassactionBlock()->addItem('showImages', array(
|
499 |
'label' => $this->__('Show Selected Images'),
|
500 |
-
'url' => $this->getUrl('
|
501 |
'callback' => 'showSelectedImages(productGrid_massactionJsObject, '
|
502 |
.'{checkedValues}, \'<img src=\\\'{imgurl}\\\' width='.$imgWidth
|
503 |
.' height='.$imgHeight.' border=0 />\')'
|
@@ -506,7 +553,7 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
506 |
// Hide Images
|
507 |
$this->getMassactionBlock()->addItem('hideImages', array(
|
508 |
'label' => $this->__('Hide Selected Images'),
|
509 |
-
'url' => $this->getUrl('
|
510 |
'callback' => 'hideSelectedImages(productGrid_massactionJsObject, {checkedValues})'
|
511 |
|
512 |
));
|
@@ -519,7 +566,7 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
519 |
// Refresh...
|
520 |
$this->getMassactionBlock()->addItem('refreshProducts', array(
|
521 |
'label' => $this->__('Refresh Products'),
|
522 |
-
'url' => $this->getUrl('
|
523 |
));
|
524 |
|
525 |
// $this->getMassactionBlock()->addItem('saveEditables', array(
|
78 |
return isset($this->columnSettings[$code]);
|
79 |
}
|
80 |
|
81 |
+
protected function _isSpecialCol($col) {
|
82 |
+
return ($col == 'qty' || $col == 'websites' || $col=='id' || $col == 'categories');
|
83 |
+
}
|
84 |
+
|
85 |
protected function _prepareLayout()
|
86 |
{
|
87 |
$this->setChild('export_button',
|
152 |
// EG: Select all needed columns.
|
153 |
//id,name,type,attribute_set,sku,price,qty,visibility,status,websites,image
|
154 |
foreach($this->columnSettings as $col => $true) {
|
155 |
+
if($this->_isSpecialCol($col)) continue;
|
156 |
$collection->addAttributeToSelect($col);
|
157 |
}
|
158 |
|
159 |
+
if($this->colIsVisible('categories')) {
|
160 |
+
$collection
|
161 |
+
->joinField('category_id',
|
162 |
+
'catalog/category_product',
|
163 |
+
'category_id',
|
164 |
+
'product_id=entity_id',
|
165 |
+
null,
|
166 |
+
'left');
|
167 |
+
$category_name_attribute_id = Mage::getModel('eav/entity_attribute')->loadByCode('catalog_category', 'name')->getId();
|
168 |
+
|
169 |
+
$collection
|
170 |
+
->joinField('categories',
|
171 |
+
'catalog_category_entity_varchar',
|
172 |
+
'GROUP_CONCAT(_table_categories.value)',
|
173 |
+
'entity_id=category_id',
|
174 |
+
"_table_categories.attribute_id={$category_name_attribute_id}",
|
175 |
+
'left');
|
176 |
+
$collection
|
177 |
+
->joinField('category',
|
178 |
+
'catalog_category_entity_varchar',
|
179 |
+
'value',
|
180 |
+
'entity_id=category_id',
|
181 |
+
"_table_category.attribute_id={$category_name_attribute_id}",
|
182 |
+
'left');
|
183 |
+
$collection->groupByAttribute('entity_id');
|
184 |
+
}
|
185 |
+
|
186 |
$this->setCollection($collection);
|
187 |
|
188 |
$this->addExportType('*/*/exportCsv', Mage::helper('customer')->__('CSV'));
|
407 |
}
|
408 |
}
|
409 |
|
410 |
+
if($this->colIsVisible('categories')) {
|
411 |
+
if (!Mage::app()->isSingleStoreMode()) {
|
412 |
+
$this->addColumn('categories',
|
413 |
+
array(
|
414 |
+
'header'=> Mage::helper('catalog')->__('Categories'),
|
415 |
+
'width' => '100px',
|
416 |
+
'sortable' => true,
|
417 |
+
'index' => 'categories',
|
418 |
+
'sort_index' => 'category',
|
419 |
+
'filter_index' => 'category',
|
420 |
+
'type' => 'category',
|
421 |
+
));
|
422 |
+
}
|
423 |
+
}
|
424 |
+
|
425 |
+
|
426 |
// EG: Show all (other) needed columns.
|
427 |
$ignoreCols = array('id'=>true, 'websites'=>true,'status'=>true,'visibility'=>true,'qty'=>true,
|
428 |
'price'=>true,'sku'=>true,'attribute_set_id'=>true, 'type_id'=>true,'name'=>true,
|
429 |
+
'image'=>true, 'thumbnail' => true, 'small_image'=>true, 'categories'=>true);
|
430 |
$currency = $store->getBaseCurrency()->getCode();
|
431 |
$truncate = Mage::getStoreConfig('enhancedgrid/general/truncatelongtextafter');
|
432 |
$defaults = array(
|
544 |
$imgHeight = Mage::getStoreConfig('enhancedgrid/images/height');
|
545 |
$this->getMassactionBlock()->addItem('showImages', array(
|
546 |
'label' => $this->__('Show Selected Images'),
|
547 |
+
'url' => $this->getUrl('enhancedgrid/*/index', array('_current'=>true)),
|
548 |
'callback' => 'showSelectedImages(productGrid_massactionJsObject, '
|
549 |
.'{checkedValues}, \'<img src=\\\'{imgurl}\\\' width='.$imgWidth
|
550 |
.' height='.$imgHeight.' border=0 />\')'
|
553 |
// Hide Images
|
554 |
$this->getMassactionBlock()->addItem('hideImages', array(
|
555 |
'label' => $this->__('Hide Selected Images'),
|
556 |
+
'url' => $this->getUrl('enhancedgrid/*/index', array('_current'=>true)),
|
557 |
'callback' => 'hideSelectedImages(productGrid_massactionJsObject, {checkedValues})'
|
558 |
|
559 |
));
|
566 |
// Refresh...
|
567 |
$this->getMassactionBlock()->addItem('refreshProducts', array(
|
568 |
'label' => $this->__('Refresh Products'),
|
569 |
+
'url' => $this->getUrl('enhancedgrid/*/massRefreshProducts', array('_current'=>true))
|
570 |
));
|
571 |
|
572 |
// $this->getMassactionBlock()->addItem('saveEditables', array(
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column.php
CHANGED
@@ -35,6 +35,9 @@ class TBT_Enhancedgrid_Block_Widget_Grid_Column extends Mage_Adminhtml_Block_Wid
|
|
35 |
case 'image':
|
36 |
$rendererClass = 'enhancedgrid/widget_grid_column_renderer_image';
|
37 |
break;
|
|
|
|
|
|
|
38 |
default:
|
39 |
$rendererClass = parent::_getRendererByType();
|
40 |
break;
|
35 |
case 'image':
|
36 |
$rendererClass = 'enhancedgrid/widget_grid_column_renderer_image';
|
37 |
break;
|
38 |
+
case 'category':
|
39 |
+
$rendererClass = 'enhancedgrid/widget_grid_column_renderer_category';
|
40 |
+
break;
|
41 |
default:
|
42 |
$rendererClass = parent::_getRendererByType();
|
43 |
break;
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Category.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Mage
|
22 |
+
* @package Mage_Adminhtml
|
23 |
+
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Store grid column filter
|
30 |
+
*
|
31 |
+
* @category Mage
|
32 |
+
* @package Mage_Adminhtml
|
33 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
34 |
+
*/
|
35 |
+
class TBT_Rewards_Block_Widget_Grid_Column_Filter_Category extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Text
|
36 |
+
{
|
37 |
+
|
38 |
+
|
39 |
+
}
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Renderer/Category.php
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WDCA
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category WDCA
|
16 |
+
* @package TBT_Enhancedgrid
|
17 |
+
* @copyright Copyright (c) 2008-2010 WDCA (http://www.wdca.ca)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Grid checkbox column renderer
|
23 |
+
*
|
24 |
+
* @category WDCA
|
25 |
+
* @package TBT_Enhancedgrid
|
26 |
+
* @author WDCA <contact@wdca.ca>
|
27 |
+
*/
|
28 |
+
class TBT_Enhancedgrid_Block_Widget_Grid_Column_Renderer_Category extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
|
29 |
+
{
|
30 |
+
protected static $cat_map = null;
|
31 |
+
|
32 |
+
public function __construct() {
|
33 |
+
return parent::_construct();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Renders grid column
|
38 |
+
*
|
39 |
+
* @param Varien_Object $row
|
40 |
+
* @return string
|
41 |
+
*/
|
42 |
+
public function render(Varien_Object $row)
|
43 |
+
{
|
44 |
+
|
45 |
+
return $this->_getValue($row);
|
46 |
+
}
|
47 |
+
|
48 |
+
/*
|
49 |
+
public function renderProperty(Varien_Object $row)
|
50 |
+
{
|
51 |
+
$val = $row->getData($this->getColumn()->getIndex());
|
52 |
+
$val = Mage::helper('imagebyurl')->getImageUrl($val);
|
53 |
+
$out = parent::renderProperty(). ' onclick="showImage('.$val.')" ';
|
54 |
+
return $out;
|
55 |
+
}
|
56 |
+
|
57 |
+
*/
|
58 |
+
protected function _getValue(Varien_Object $row)
|
59 |
+
{
|
60 |
+
|
61 |
+
if ($getter = $this->getColumn()->getGetter()) {
|
62 |
+
$val = $row->$getter();
|
63 |
+
}
|
64 |
+
if(self::$cat_map == null) {
|
65 |
+
$cat_col = Mage::getModel('catalog/category')->getCollection()->addAttributeToSelect('name');
|
66 |
+
$cat_map = array();
|
67 |
+
foreach($cat_col as &$c) {
|
68 |
+
$cat_map[$c->getId()] = $c->getName();
|
69 |
+
}
|
70 |
+
self::$cat_map = $cat_map;
|
71 |
+
}
|
72 |
+
$category_ids_str = $row->getData('category_ids');
|
73 |
+
$category_ids = explode(",", $category_ids_str);
|
74 |
+
|
75 |
+
$cat_names = array();
|
76 |
+
foreach(self::$cat_map as $id=>$name) {
|
77 |
+
if(array_search($id, $category_ids) !== false) {
|
78 |
+
$cat_names[] = $name;
|
79 |
+
}
|
80 |
+
}
|
81 |
+
$cat_names_str = implode(",", $cat_names);
|
82 |
+
|
83 |
+
return $cat_names_str;
|
84 |
+
}
|
85 |
+
|
86 |
+
|
87 |
+
}
|
app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Columns/Show.php
CHANGED
@@ -39,6 +39,7 @@ class TBT_Enhancedgrid_Model_System_Config_Source_Columns_Show
|
|
39 |
$cols[] = array('value' => 'attribute_set_id', 'label' => 'Attribute Set');
|
40 |
$cols[] = array('value' => 'qty', 'label' => 'Quantity');
|
41 |
$cols[] = array('value' => 'websites', 'label' => 'Websites');
|
|
|
42 |
foreach($collection->getItems() as $col) {
|
43 |
$cols[] = array('value' => $col->getAttributeCode(), 'label' => $col->getFrontendLabel());
|
44 |
}
|
39 |
$cols[] = array('value' => 'attribute_set_id', 'label' => 'Attribute Set');
|
40 |
$cols[] = array('value' => 'qty', 'label' => 'Quantity');
|
41 |
$cols[] = array('value' => 'websites', 'label' => 'Websites');
|
42 |
+
$cols[] = array('value' => 'categories', 'label' => 'Categories');
|
43 |
foreach($collection->getItems() as $col) {
|
44 |
$cols[] = array('value' => $col->getAttributeCode(), 'label' => $col->getFrontendLabel());
|
45 |
}
|
app/code/community/TBT/Enhancedgrid/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<config>
|
4 |
<modules>
|
5 |
<TBT_Enhancedgrid>
|
6 |
-
<version>1.
|
7 |
</TBT_Enhancedgrid>
|
8 |
</modules>
|
9 |
|
@@ -40,6 +40,7 @@
|
|
40 |
<adminhtml>
|
41 |
<rewrite>
|
42 |
<widget_grid_column>TBT_Enhancedgrid_Block_Widget_Grid_Column</widget_grid_column>
|
|
|
43 |
</rewrite>
|
44 |
</adminhtml>
|
45 |
</blocks>
|
@@ -50,6 +51,12 @@
|
|
50 |
<to>/enhancedgrid/catalog_product/${1}/</to>
|
51 |
</tbt_enhancedgrid_catalog_product>
|
52 |
</rewrite -->
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
</global>
|
54 |
|
55 |
<adminhtml>
|
@@ -63,11 +70,11 @@
|
|
63 |
<menu>
|
64 |
<catalog module="enhancedgrid">
|
65 |
<children>
|
66 |
-
<
|
67 |
-
<title>Manage Products
|
68 |
<sort_order>0</sort_order>
|
69 |
<action>enhancedgrid/catalog_product</action>
|
70 |
-
</
|
71 |
</children>
|
72 |
</catalog>
|
73 |
</menu>
|
@@ -77,10 +84,10 @@
|
|
77 |
<enhancedgrid>
|
78 |
<general>
|
79 |
<isenabled>1</isenabled>
|
80 |
-
<truncatelongtextafter>60</truncatelongtextafter>
|
81 |
</general>
|
82 |
<columns>
|
83 |
<showcolumns>id,name,type_id,attribute_set_id,sku,price,qty,visibility,status,websites,thumbnail</showcolumns>
|
|
|
84 |
</columns>
|
85 |
<images>
|
86 |
<showurl>0</showurl>
|
3 |
<config>
|
4 |
<modules>
|
5 |
<TBT_Enhancedgrid>
|
6 |
+
<version>1.2.1.1</version>
|
7 |
</TBT_Enhancedgrid>
|
8 |
</modules>
|
9 |
|
40 |
<adminhtml>
|
41 |
<rewrite>
|
42 |
<widget_grid_column>TBT_Enhancedgrid_Block_Widget_Grid_Column</widget_grid_column>
|
43 |
+
<catalog_product>TBT_Enhancedgrid_Block_Catalog_Product</catalog_product>
|
44 |
</rewrite>
|
45 |
</adminhtml>
|
46 |
</blocks>
|
51 |
<to>/enhancedgrid/catalog_product/${1}/</to>
|
52 |
</tbt_enhancedgrid_catalog_product>
|
53 |
</rewrite -->
|
54 |
+
<rewrite>
|
55 |
+
<tbt_enhancedgrid_catalog_product>
|
56 |
+
<from><![CDATA[#^/adminhtml/catalog_product/((massProd.*))/$#]]></from>
|
57 |
+
<to>/enhancedgrid/catalog_product/${1}/</to>
|
58 |
+
</tbt_enhancedgrid_catalog_product>
|
59 |
+
</rewrite>
|
60 |
</global>
|
61 |
|
62 |
<adminhtml>
|
70 |
<menu>
|
71 |
<catalog module="enhancedgrid">
|
72 |
<children>
|
73 |
+
<products module="enhancedgrid" translate="title">
|
74 |
+
<title>Manage Products*</title>
|
75 |
<sort_order>0</sort_order>
|
76 |
<action>enhancedgrid/catalog_product</action>
|
77 |
+
</products>
|
78 |
</children>
|
79 |
</catalog>
|
80 |
</menu>
|
84 |
<enhancedgrid>
|
85 |
<general>
|
86 |
<isenabled>1</isenabled>
|
|
|
87 |
</general>
|
88 |
<columns>
|
89 |
<showcolumns>id,name,type_id,attribute_set_id,sku,price,qty,visibility,status,websites,thumbnail</showcolumns>
|
90 |
+
<truncatelongtextafter>60</truncatelongtextafter>
|
91 |
</columns>
|
92 |
<images>
|
93 |
<showurl>0</showurl>
|
app/design/adminhtml/default/default/layout/tbt_enhancedgrid.xml
CHANGED
@@ -29,14 +29,4 @@
|
|
29 |
<action method="addItem" ifconfig="enhancedgrid/general/isenabled"><type>js_css</type><name>tbt/enhancedgrid/resources/css/enhancedgrid.css</name></action>
|
30 |
</reference>
|
31 |
</default>
|
32 |
-
<adminhtml_catalog_product_index>
|
33 |
-
<reference name="content">
|
34 |
-
<remove name="products_list"/>
|
35 |
-
<block type="enhancedgrid/catalog_product" name="enhanced_products_list" >
|
36 |
-
<block type="adminhtml/store_switcher" name="store_switcher" as="store_switcher">
|
37 |
-
<action method="setUseConfirm"><params>0</params></action>
|
38 |
-
</block>
|
39 |
-
</block>
|
40 |
-
</reference>
|
41 |
-
</adminhtml_catalog_product_index>
|
42 |
</layout>
|
29 |
<action method="addItem" ifconfig="enhancedgrid/general/isenabled"><type>js_css</type><name>tbt/enhancedgrid/resources/css/enhancedgrid.css</name></action>
|
30 |
</reference>
|
31 |
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
</layout>
|
package.xml
CHANGED
@@ -1,23 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TBT_Enhancedgrid</name>
|
4 |
-
<version>1.2</version>
|
5 |
-
<stability>
|
6 |
<license>OSL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
<notes
|
12 |
-
|
13 |
-
- Now rewrites Magento's existing product grid. To turn off Enhanced Product Grid modify the app/etc/modules/TBT_Enhancedgrid.cml file and set the 'active' value to 'false'
|
14 |
-
- Fixed a column spacing issue that would even out the columns. Now the NAME column takes any remaining column space.
|
15 |
-
- Removed some unneeded files.
|
16 |
-
- Changed the structure of the configuration section</notes>
|
17 |
<authors><author><name>Jay</name><user>auto-converted</user><email>najibkaake@gmail.com</email></author></authors>
|
18 |
-
<date>2010-
|
19 |
-
<time>
|
20 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="tbt_enhancedgrid.xml" hash="
|
21 |
<compatible/>
|
22 |
<dependencies/>
|
23 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TBT_Enhancedgrid</name>
|
4 |
+
<version>1.2.1.1</version>
|
5 |
+
<stability>stable</stability>
|
6 |
<license>OSL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Fixes 404 issues and adds a Categories column option.</summary>
|
10 |
+
<description>Fixes 404 issues and adds a Categories column option.</description>
|
11 |
+
<notes>Fixes 404 issues and adds a Categories column option.
|
12 |
+
Now Considered STABLE</notes>
|
|
|
|
|
|
|
|
|
13 |
<authors><author><name>Jay</name><user>auto-converted</user><email>najibkaake@gmail.com</email></author></authors>
|
14 |
+
<date>2010-03-26</date>
|
15 |
+
<time>17:15:29</time>
|
16 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="tbt_enhancedgrid.xml" hash="c2a14141d8a6cb67ec2c86b61b168950"/></dir><dir name="template"><dir name="tbt"><dir name="enhancedgrid"><dir name="catalog"><dir name="product"><file name="grid.phtml" hash="8e39bb3abd59ef4ba12fdf4d725dda90"/></dir><file name="product.phtml" hash="5fceede9ce2aaee2f33f97f106db4eaa"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="tbt"><dir name="enhancedgrid"><dir name="customfunctions"><file name="catalog_products.js" hash="db00553aa26aa6851f92f84447f3cd14"/></dir><dir name="resources"><dir name="css"><file name="enhancedgrid.css" hash="a219b0e656329f2407835dbe346f81d3"/></dir></dir><file name="egsupplemental.js" hash="da3aa882d47a41c4d2f7d0c48233ae1e"/><file name="enhancedgrid.js" hash="fcbbe08d942719a668d3536246664628"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="TBT_Enhancedgrid.xml" hash="85a6ca652ec3777aa244a78c1c4fdac4"/></dir></target><target name="magecommunity"><dir name="TBT"><dir name="Enhancedgrid"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="0f38abe6db3c7d71d72f3a32eb82e4b7"/></dir><file name="Product.php" hash="a6348f1f8ce10e628fb27537a659fafb"/></dir><dir name="System"><file name="Html.php" hash="45e5f2264b741206c09c67ae8099d0f1"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Category.php" hash="8eb68d6bdb28d08e4aa831f2609be421"/><file name="Image.php" hash="b1e25d3e8d03a0869e1c2edf5fcdd761"/></dir><dir name="Renderer"><file name="Action.php" hash="32c3917ad4c07942e9f0d003c6854b2b"/><file name="Category.php" hash="42eff0eac536ef4b511600b2bd1d2ceb"/><file name="Image.php" hash="ddac5ed4cc015c4dd256f172c802e9cf"/></dir></dir><file name="Column.php" hash="b360986bb6f20cb2f7af22bb383c909e"/></dir></dir></dir><dir name="controllers"><dir name="Catalog"><file name="ProductController.php" hash="458c71ecefebbce18bc95b162e6dfc65"/></dir></dir><dir name="etc"><file name="config.xml" hash="e27517c3d846889dbf24426c576ca8a1"/><file name="system.xml" hash="8701ce4222932d3ba031168ef4681c95"/></dir><dir name="Helper"><file name="Data.php" hash="5ef9a7ad806e6b25bd34453851a7977e"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Columns"><file name="Show.php" hash="c5592d648745cbc75bdb40cde99764ae"/></dir><dir name="Sort"><file name="Direction.php" hash="23cb37d1af2dd75c3c9537adf90c1bc8"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|