Version Notes
Fixed issues:
* [Back-end] Store view/website selector is not visible on some stores > Magento 1.3.2 - #0000445
* [Back-end] Categories column doesn't show on installations that have multiple stores/websites setup - #0000444
* [Back-end] Call to a member function getStoreId() on a non-object for some custom table-type attributes - #0000443
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | TBT_Enhancedgrid |
| Version | 1.3.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3 to 1.3.1
- app/code/community/TBT/Enhancedgrid/Block/Catalog/Product.php +16 -3
- app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php +18 -15
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column.php +7 -4
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Category.php +7 -4
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Image.php +4 -4
- app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Renderer/Action.php +5 -4
- app/code/community/TBT/Enhancedgrid/Helper/Data.php +1 -7
- app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Sort/Direction.php +1 -7
- app/code/community/TBT/Enhancedgrid/controllers/Catalog/ProductController.php +6 -3
- app/code/community/TBT/Enhancedgrid/etc/config.xml +1 -6
- app/design/adminhtml/default/default/layout/tbt_enhancedgrid.xml +1 -0
- app/design/adminhtml/default/default/template/tbt/enhancedgrid/catalog/product.phtml +8 -4
- package.xml +13 -7
app/code/community/TBT/Enhancedgrid/Block/Catalog/Product.php
CHANGED
|
@@ -18,11 +18,19 @@
|
|
| 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
|
| 22 |
-
* @package
|
| 23 |
-
* @copyright Copyright (c) 2008
|
| 24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 25 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
class TBT_Enhancedgrid_Block_Catalog_Product extends Mage_Adminhtml_Block_Catalog_Product
|
| 27 |
{
|
| 28 |
|
|
@@ -39,6 +47,11 @@ class TBT_Enhancedgrid_Block_Catalog_Product extends Mage_Adminhtml_Block_Catalo
|
|
| 39 |
$this->setTemplate('tbt/enhancedgrid/catalog/product.phtml');
|
| 40 |
$this->setChild('grid', $this->getLayout()->createBlock('enhancedgrid/catalog_product_grid', 'product.enhancedgrid'));
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
$this->setChild('add_new_button',
|
| 43 |
$this->getLayout()->createBlock('adminhtml/widget_button')
|
| 44 |
->setData(array(
|
| 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) 2008 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 |
+
* Catalog manage products block
|
| 29 |
+
*
|
| 30 |
+
* @category Mage
|
| 31 |
+
* @package Mage_Adminhtml
|
| 32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
| 33 |
+
*/
|
| 34 |
class TBT_Enhancedgrid_Block_Catalog_Product extends Mage_Adminhtml_Block_Catalog_Product
|
| 35 |
{
|
| 36 |
|
| 47 |
$this->setTemplate('tbt/enhancedgrid/catalog/product.phtml');
|
| 48 |
$this->setChild('grid', $this->getLayout()->createBlock('enhancedgrid/catalog_product_grid', 'product.enhancedgrid'));
|
| 49 |
|
| 50 |
+
//@nelkaake -a 16/11/10:
|
| 51 |
+
$store_switcher = $this->getLayout()->createBlock('adminhtml/store_switcher', 'store_switcher');
|
| 52 |
+
$store_switcher->setUseConfirm(false);
|
| 53 |
+
$this->setChild('store_switcher', $store_switcher);
|
| 54 |
+
|
| 55 |
$this->setChild('add_new_button',
|
| 56 |
$this->getLayout()->createBlock('adminhtml/widget_button')
|
| 57 |
->setData(array(
|
app/code/community/TBT/Enhancedgrid/Block/Catalog/Product/Grid.php
CHANGED
|
@@ -56,7 +56,7 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
| 56 |
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
$this->setDefaultLimit(Mage::getStoreConfig('enhancedgrid/defaults/limit'));
|
| 61 |
$this->setDefaultPage(Mage::getStoreConfig('enhancedgrid/defaults/page'));
|
| 62 |
$this->setDefaultSort(Mage::getStoreConfig('enhancedgrid/defaults/sort'));
|
|
@@ -64,7 +64,7 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
| 64 |
|
| 65 |
}
|
| 66 |
|
| 67 |
-
|
| 68 |
$storeSettings = Mage::getStoreConfig('enhancedgrid/columns/showcolumns');
|
| 69 |
|
| 70 |
$tempArr = explode(',', $storeSettings);
|
|
@@ -212,20 +212,25 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
| 212 |
* if the attribute has options an options entry will be
|
| 213 |
* added to $columnOptions
|
| 214 |
*/
|
| 215 |
-
|
| 216 |
$attr = Mage::getModel('eav/entity_attribute')->loadByCode('catalog_product', $attr_code);
|
| 217 |
if(sizeof($attr->getData()) > 0) {
|
| 218 |
if($attr->getFrontendInput() == 'select') {
|
| 219 |
//@nelkaake -a 13/11/10:
|
| 220 |
if($attr->getSourceModel() != null) {
|
| 221 |
$sourcemodel = Mage::getModel($attr->getSourceModel());
|
|
|
|
|
|
|
| 222 |
if(method_exists($sourcemodel, 'getAllOptions')) {
|
| 223 |
try {
|
|
|
|
| 224 |
$values = $sourcemodel->getAllOptions();
|
| 225 |
|
| 226 |
$options = array();
|
|
|
|
| 227 |
foreach($values as $value) {
|
| 228 |
-
|
|
|
|
| 229 |
}
|
| 230 |
//die($attr_code);
|
| 231 |
$this->columnOptions[$attr_code] = $options;
|
|
@@ -444,17 +449,15 @@ class TBT_Enhancedgrid_Block_Catalog_Product_Grid extends Mage_Adminhtml_Block_W
|
|
| 444 |
}
|
| 445 |
|
| 446 |
if($this->colIsVisible('categories')) {
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
));
|
| 457 |
-
}
|
| 458 |
}
|
| 459 |
|
| 460 |
// EG: Show all (other) needed columns.
|
| 56 |
|
| 57 |
}
|
| 58 |
|
| 59 |
+
protected function prepareDefaults() {
|
| 60 |
$this->setDefaultLimit(Mage::getStoreConfig('enhancedgrid/defaults/limit'));
|
| 61 |
$this->setDefaultPage(Mage::getStoreConfig('enhancedgrid/defaults/page'));
|
| 62 |
$this->setDefaultSort(Mage::getStoreConfig('enhancedgrid/defaults/sort'));
|
| 64 |
|
| 65 |
}
|
| 66 |
|
| 67 |
+
protected function prepareColumnSettings() {
|
| 68 |
$storeSettings = Mage::getStoreConfig('enhancedgrid/columns/showcolumns');
|
| 69 |
|
| 70 |
$tempArr = explode(',', $storeSettings);
|
| 212 |
* if the attribute has options an options entry will be
|
| 213 |
* added to $columnOptions
|
| 214 |
*/
|
| 215 |
+
protected function loadColumnOptions($attr_code) {
|
| 216 |
$attr = Mage::getModel('eav/entity_attribute')->loadByCode('catalog_product', $attr_code);
|
| 217 |
if(sizeof($attr->getData()) > 0) {
|
| 218 |
if($attr->getFrontendInput() == 'select') {
|
| 219 |
//@nelkaake -a 13/11/10:
|
| 220 |
if($attr->getSourceModel() != null) {
|
| 221 |
$sourcemodel = Mage::getModel($attr->getSourceModel());
|
| 222 |
+
//@nelkaake -a 16/11/10:
|
| 223 |
+
$sourcemodel->setAttribute($attr);
|
| 224 |
if(method_exists($sourcemodel, 'getAllOptions')) {
|
| 225 |
try {
|
| 226 |
+
//die($attr->getSourceModel());
|
| 227 |
$values = $sourcemodel->getAllOptions();
|
| 228 |
|
| 229 |
$options = array();
|
| 230 |
+
|
| 231 |
foreach($values as $value) {
|
| 232 |
+
|
| 233 |
+
$options[$value['value']] = $value['label'];
|
| 234 |
}
|
| 235 |
//die($attr_code);
|
| 236 |
$this->columnOptions[$attr_code] = $options;
|
| 449 |
}
|
| 450 |
|
| 451 |
if($this->colIsVisible('categories')) {
|
| 452 |
+
$this->addColumn('categories',
|
| 453 |
+
array(
|
| 454 |
+
'header'=> Mage::helper('catalog')->__('Categories'),
|
| 455 |
+
'width' => '100px',
|
| 456 |
+
'sortable' => true,
|
| 457 |
+
'index' => 'categories',
|
| 458 |
+
'sort_index' => 'category',
|
| 459 |
+
'filter_index' => 'category',
|
| 460 |
+
));
|
|
|
|
|
|
|
| 461 |
}
|
| 462 |
|
| 463 |
// EG: Show all (other) needed columns.
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column.php
CHANGED
|
@@ -12,15 +12,18 @@
|
|
| 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 |
*/
|
| 16 |
|
| 17 |
/**
|
| 18 |
* Grid column block
|
| 19 |
*
|
| 20 |
-
* @category
|
| 21 |
-
* @package
|
| 22 |
-
* @
|
| 23 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 24 |
*/
|
| 25 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column extends Mage_Adminhtml_Block_Widget_Grid_Column
|
| 26 |
{
|
| 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 Mage
|
| 16 |
+
* @package TBT_MassRelater
|
| 17 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
*/
|
| 20 |
|
| 21 |
/**
|
| 22 |
* Grid column block
|
| 23 |
*
|
| 24 |
+
* @category Mage
|
| 25 |
+
* @package TBT_MassRelater
|
| 26 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
|
|
|
| 27 |
*/
|
| 28 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column extends Mage_Adminhtml_Block_Widget_Grid_Column
|
| 29 |
{
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Category.php
CHANGED
|
@@ -18,16 +18,19 @@
|
|
| 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
|
| 22 |
-
* @package
|
| 23 |
-
* @copyright
|
| 24 |
-
* @license
|
| 25 |
*/
|
| 26 |
|
| 27 |
|
| 28 |
/**
|
| 29 |
* Store grid column filter
|
| 30 |
*
|
|
|
|
|
|
|
|
|
|
| 31 |
*/
|
| 32 |
class TBT_Rewards_Block_Widget_Grid_Column_Filter_Category extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Text
|
| 33 |
{
|
| 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 |
{
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Filter/Image.php
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 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
|
| 16 |
-
* @package
|
| 17 |
-
* @copyright Copyright (c) 2008
|
| 18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
*/
|
| 20 |
|
|
@@ -22,7 +22,7 @@
|
|
| 22 |
* Checkbox grid column filter
|
| 23 |
*
|
| 24 |
* @category Mage
|
| 25 |
-
* @package
|
| 26 |
* @author Magento Core Team <core@magentocommerce.com>
|
| 27 |
*/
|
| 28 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column_Filter_Image extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Text
|
| 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 Mage
|
| 16 |
+
* @package TBT_MassRelater
|
| 17 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
*/
|
| 20 |
|
| 22 |
* Checkbox grid column filter
|
| 23 |
*
|
| 24 |
* @category Mage
|
| 25 |
+
* @package TBT_MassRelater
|
| 26 |
* @author Magento Core Team <core@magentocommerce.com>
|
| 27 |
*/
|
| 28 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column_Filter_Image extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Text
|
app/code/community/TBT/Enhancedgrid/Block/Widget/Grid/Column/Renderer/Action.php
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 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
|
| 16 |
-
* @package
|
| 17 |
-
* @copyright Copyright (c) 2008
|
| 18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
*/
|
| 20 |
|
|
@@ -22,7 +22,8 @@
|
|
| 22 |
* Grid column widget for rendering action grid cells
|
| 23 |
*
|
| 24 |
* @category Mage
|
| 25 |
-
* @package
|
|
|
|
| 26 |
*/
|
| 27 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column_Renderer_Action extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action
|
| 28 |
{
|
| 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 Mage
|
| 16 |
+
* @package TBT_MassRelater
|
| 17 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 18 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 19 |
*/
|
| 20 |
|
| 22 |
* Grid column widget for rendering action grid cells
|
| 23 |
*
|
| 24 |
* @category Mage
|
| 25 |
+
* @package TBT_MassRelater
|
| 26 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
| 27 |
*/
|
| 28 |
class TBT_Enhancedgrid_Block_Widget_Grid_Column_Renderer_Action extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action
|
| 29 |
{
|
app/code/community/TBT/Enhancedgrid/Helper/Data.php
CHANGED
|
@@ -1,11 +1,5 @@
|
|
| 1 |
<?PHP
|
| 2 |
-
|
| 3 |
-
*
|
| 4 |
-
* @category WDCA
|
| 5 |
-
* @package TBT_Enhancedgrid
|
| 6 |
-
* @copyright Copyright (c) 2008-2010 WDCA (http://www.wdca.ca)
|
| 7 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 8 |
-
*/
|
| 9 |
class TBT_Enhancedgrid_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 10 |
|
| 11 |
|
| 1 |
<?PHP
|
| 2 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
class TBT_Enhancedgrid_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 4 |
|
| 5 |
|
app/code/community/TBT/Enhancedgrid/Model/System/Config/Source/Sort/Direction.php
CHANGED
|
@@ -1,11 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
-
|
| 3 |
-
*
|
| 4 |
-
* @category WDCA
|
| 5 |
-
* @package TBT_Enhancedgrid
|
| 6 |
-
* @copyright Copyright (c) 2008-2010 WDCA (http://www.wdca.ca)
|
| 7 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 8 |
-
*/
|
| 9 |
class TBT_Enhancedgrid_Model_System_Config_Source_Sort_Direction
|
| 10 |
{
|
| 11 |
public function toOptionArray()
|
| 1 |
<?php
|
| 2 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
class TBT_Enhancedgrid_Model_System_Config_Source_Sort_Direction
|
| 4 |
{
|
| 5 |
public function toOptionArray()
|
app/code/community/TBT/Enhancedgrid/controllers/Catalog/ProductController.php
CHANGED
|
@@ -18,15 +18,18 @@
|
|
| 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
|
| 22 |
-
* @package
|
| 23 |
-
* @copyright Copyright (c) 2008
|
| 24 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 25 |
*/
|
| 26 |
|
| 27 |
/**
|
| 28 |
* Catalog product controller
|
| 29 |
*
|
|
|
|
|
|
|
|
|
|
| 30 |
*/
|
| 31 |
include_once "Mage/Adminhtml/controllers/Catalog/ProductController.php";
|
| 32 |
class TBT_Enhancedgrid_Catalog_ProductController extends Mage_Adminhtml_Catalog_ProductController
|
| 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) 2008 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 |
* Catalog product controller
|
| 29 |
*
|
| 30 |
+
* @category Mage
|
| 31 |
+
* @package Mage_Adminhtml
|
| 32 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
| 33 |
*/
|
| 34 |
include_once "Mage/Adminhtml/controllers/Catalog/ProductController.php";
|
| 35 |
class TBT_Enhancedgrid_Catalog_ProductController extends Mage_Adminhtml_Catalog_ProductController
|
app/code/community/TBT/Enhancedgrid/etc/config.xml
CHANGED
|
@@ -3,14 +3,9 @@
|
|
| 3 |
<config>
|
| 4 |
<modules>
|
| 5 |
<TBT_Enhancedgrid>
|
| 6 |
-
<version>1.3</version>
|
| 7 |
</TBT_Enhancedgrid>
|
| 8 |
</modules>
|
| 9 |
-
|
| 10 |
-
<!--
|
| 11 |
-
If you want to overload an admin-controller this tag should be <admin> instead,
|
| 12 |
-
or <adminhtml> if youre overloading such stuff (?)
|
| 13 |
-
-->
|
| 14 |
<admin>
|
| 15 |
<routers>
|
| 16 |
<enhancedgrid>
|
| 3 |
<config>
|
| 4 |
<modules>
|
| 5 |
<TBT_Enhancedgrid>
|
| 6 |
+
<version>1.3.1</version>
|
| 7 |
</TBT_Enhancedgrid>
|
| 8 |
</modules>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
<admin>
|
| 10 |
<routers>
|
| 11 |
<enhancedgrid>
|
app/design/adminhtml/default/default/layout/tbt_enhancedgrid.xml
CHANGED
|
@@ -29,4 +29,5 @@
|
|
| 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>
|
| 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 |
+
|
| 33 |
</layout>
|
app/design/adminhtml/default/default/template/tbt/enhancedgrid/catalog/product.phtml
CHANGED
|
@@ -18,10 +18,10 @@
|
|
| 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
|
| 22 |
-
* @package
|
| 23 |
-
* @copyright Copyright (c) 2008
|
| 24 |
-
* @license http://opensource.org/licenses/
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<div class="content-header">
|
|
@@ -42,6 +42,10 @@
|
|
| 42 |
</table>
|
| 43 |
</div>
|
| 44 |
<?php echo $this->getStoreSwitcherHtml() ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
<div>
|
| 46 |
<?php echo $this->getGridHtml() ?>
|
| 47 |
</div>
|
| 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 design_default
|
| 22 |
+
* @package Mage
|
| 23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<div class="content-header">
|
| 42 |
</table>
|
| 43 |
</div>
|
| 44 |
<?php echo $this->getStoreSwitcherHtml() ?>
|
| 45 |
+
<?php /* @nelkaake -a 16/11/10: for MAGE 1.3.2 and up */ ?>
|
| 46 |
+
<?php if( !$this->isSingleStoreMode() ): ?>
|
| 47 |
+
<?php echo $this->getChildHtml('store_switcher');?>
|
| 48 |
+
<?php endif;?>
|
| 49 |
<div>
|
| 50 |
<?php echo $this->getGridHtml() ?>
|
| 51 |
</div>
|
package.xml
CHANGED
|
@@ -1,18 +1,24 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>TBT_Enhancedgrid</name>
|
| 4 |
-
<version>1.3</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL 3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
-
<summary>
|
| 10 |
-
<description>
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
<authors><author><name>Jay</name><user>auto-converted</user><email>najibkaake@gmail.com</email></author></authors>
|
| 13 |
-
<date>2010-11-
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="tbt_enhancedgrid.xml" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>TBT_Enhancedgrid</name>
|
| 4 |
+
<version>1.3.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>OSL 3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
+
<summary>Fixed issues: #0000445, #0000444, #0000443</summary>
|
| 10 |
+
<description>Fixed issues:
|
| 11 |
+
* [Back-end] Store view/website selector is not visible on some stores > Magento 1.3.2 - #0000445
|
| 12 |
+
* [Back-end] Categories column doesn't show on installations that have multiple stores/websites setup - #0000444
|
| 13 |
+
* [Back-end] Call to a member function getStoreId() on a non-object for some custom table-type attributes - #0000443</description>
|
| 14 |
+
<notes>Fixed issues:
|
| 15 |
+
* [Back-end] Store view/website selector is not visible on some stores > Magento 1.3.2 - #0000445
|
| 16 |
+
* [Back-end] Categories column doesn't show on installations that have multiple stores/websites setup - #0000444
|
| 17 |
+
* [Back-end] Call to a member function getStoreId() on a non-object for some custom table-type attributes - #0000443</notes>
|
| 18 |
<authors><author><name>Jay</name><user>auto-converted</user><email>najibkaake@gmail.com</email></author></authors>
|
| 19 |
+
<date>2010-11-17</date>
|
| 20 |
+
<time>02:47:15</time>
|
| 21 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="tbt_enhancedgrid.xml" hash="d0dd492f38558072d5c0dad53703a6c6"/></dir><dir name="template"><dir name="tbt"><dir name="enhancedgrid"><dir name="catalog"><file name="product.phtml" hash="08c8237d9378e002cb7f85fc9d6227e1"/><dir name="product"><file name="grid.phtml" hash="8e39bb3abd59ef4ba12fdf4d725dda90"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="tbt"><dir name="enhancedgrid"><file name="egsupplemental.js" hash="da3aa882d47a41c4d2f7d0c48233ae1e"/><file name="enhancedgrid.js" hash="fcbbe08d942719a668d3536246664628"/><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></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"><file name="Product.php" hash="68048313967635cce72082d36afb1ac4"/><dir name="Product"><file name="Grid.php" hash="ca9250415b08cf42e5b5b287a356fb58"/></dir></dir><dir name="System"><file name="Html.php" hash="45e5f2264b741206c09c67ae8099d0f1"/></dir><dir name="Widget"><dir name="Grid"><file name="Column.php" hash="b360986bb6f20cb2f7af22bb383c909e"/><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></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="ec5e85566b3529d22da7d380deca9b2f"/><file name="system.xml" hash="8701ce4222932d3ba031168ef4681c95"/></dir><dir name="Helper"><file name="Data.php" hash="236773d2fc20ccc12702af8a41c5fe96"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Columns"><file name="Show.php" hash="ef68984f5d56d6c60907e06850a47821"/></dir><dir name="Sort"><file name="Direction.php" hash="23cb37d1af2dd75c3c9537adf90c1bc8"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
| 22 |
<compatible/>
|
| 23 |
<dependencies/>
|
| 24 |
</package>
|
