Morningtime_TextfieldLayeredNav - Version 1.3.2.2

Version Notes

Stable version

Download this release

Release Info

Developer Magento Core Team
Extension Morningtime_TextfieldLayeredNav
Version 1.3.2.2
Comparing to
See all releases


Code changes from version 1.3.2.1.2 to 1.3.2.2

Files changed (16) hide show
  1. app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Attribute/Edit/Tab/Main.php +19 -5
  2. app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Attribute/Edit/Tab/Options.php +1 -1
  3. app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php +9 -1
  4. app/code/community/Morningtime/TextfieldLayeredNav/Block/Catalog/Product/Compare/List.php +7 -0
  5. app/code/community/Morningtime/TextfieldLayeredNav/Block/CatalogSearch/Advanced/Form.php +6 -0
  6. app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Entity/Attribute.php +12 -0
  7. app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Resource/Eav/Attribute.php +10 -0
  8. app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Resource/Eav/Mysql4/Product.php +9 -3
  9. app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogRule/Rule/Condition/Product.php +5 -0
  10. app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogSearch/Advanced.php +9 -3
  11. app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogSearch/Mysql4/Search/Collection.php +6 -0
  12. app/code/community/Morningtime/TextfieldLayeredNav/Model/Eav/Mysql4/Entity/Attribute.php +17 -4
  13. app/code/community/Morningtime/TextfieldLayeredNav/controllers/Adminhtml/Catalog/Product/AttributeController.php +4 -0
  14. app/code/community/Morningtime/TextfieldLayeredNav/etc/config.xml +1 -1
  15. app/design/adminhtml/default/default/template/morningtime/textfieldlayerednav/catalog/product/attribute/js.phtml +23 -7
  16. package.xml +4 -4
app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Attribute/Edit/Tab/Main.php CHANGED
@@ -11,7 +11,7 @@
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_Edit_Tab_Main extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Main
12
  {
13
 
14
- protected function _prepareForm()
15
  {
16
  $model = Mage::registry('entity_attribute');
17
 
@@ -29,6 +29,15 @@ class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_
29
  'url_key' => array(
30
  'is_unique',
31
  ),
 
 
 
 
 
 
 
 
 
32
  );
33
 
34
  $fieldset = $form->addFieldset('base_fieldset',
@@ -367,6 +376,12 @@ class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_
367
 
368
  $form->addValues($model->getData());
369
 
 
 
 
 
 
 
370
  $form->getElement('apply_to')->setSize(5);
371
 
372
  if ($applyTo = $model->getApplyTo()) {
@@ -377,10 +392,9 @@ class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_
377
  }
378
 
379
  $this->setForm($form);
380
-
381
- /* MT start
382
- return parent::_prepareForm();
383
- */
384
  }
385
 
386
  }
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_Edit_Tab_Main extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Main
12
  {
13
 
14
+ protected function _prepareForm()
15
  {
16
  $model = Mage::registry('entity_attribute');
17
 
29
  'url_key' => array(
30
  'is_unique',
31
  ),
32
+ 'status' => array(
33
+ 'is_configurable'
34
+ )
35
+ );
36
+
37
+ $rewriteAttributeValue = array(
38
+ 'status' => array(
39
+ 'is_configurable' => 0
40
+ )
41
  );
42
 
43
  $fieldset = $form->addFieldset('base_fieldset',
376
 
377
  $form->addValues($model->getData());
378
 
379
+ if ($model->getId() && isset($rewriteAttributeValue[$model->getAttributeCode()])) {
380
+ foreach ($rewriteAttributeValue[$model->getAttributeCode()] as $field => $value) {
381
+ $form->getElement($field)->setValue($value);
382
+ }
383
+ }
384
+
385
  $form->getElement('apply_to')->setSize(5);
386
 
387
  if ($applyTo = $model->getApplyTo()) {
392
  }
393
 
394
  $this->setForm($form);
395
+ /* MT
396
+ return parent::_prepareForm();
397
+ */
 
398
  }
399
 
400
  }
app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Attribute/Edit/Tab/Options.php CHANGED
@@ -11,7 +11,7 @@
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_Edit_Tab_Options extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
12
  {
13
 
14
- public function getOptionValues()
15
  {
16
  $attributeType = $this->getAttributeObject()->getFrontendInput();
17
  $defaultValues = $this->getAttributeObject()->getDefaultValue();
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Attribute_Edit_Tab_Options extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
12
  {
13
 
14
+ public function getOptionValues()
15
  {
16
  $attributeType = $this->getAttributeObject()->getFrontendInput();
17
  $defaultValues = $this->getAttributeObject()->getDefaultValue();
app/code/community/Morningtime/TextfieldLayeredNav/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes.php CHANGED
@@ -10,7 +10,15 @@
10
 
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Edit_Tab_Attributes extends Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes
12
  {
13
- protected function _setFieldset($attributes, $fieldset, $exclude=array())
 
 
 
 
 
 
 
 
14
  {
15
  $this->_addElementTypes($fieldset);
16
  foreach ($attributes as $attribute) {
10
 
11
  class Morningtime_TextfieldLayeredNav_Block_Adminhtml_Catalog_Product_Edit_Tab_Attributes extends Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes
12
  {
13
+
14
+ /**
15
+ * Set Fieldset to Form
16
+ *
17
+ * @param array $attributes attributes that are to be added
18
+ * @param Varien_Data_Form_Element_Fieldset $fieldset
19
+ * @param array $exclude attributes that should be skipped
20
+ */
21
+ protected function _setFieldset($attributes, $fieldset, $exclude=array())
22
  {
23
  $this->_addElementTypes($fieldset);
24
  foreach ($attributes as $attribute) {
app/code/community/Morningtime/TextfieldLayeredNav/Block/Catalog/Product/Compare/List.php CHANGED
@@ -11,6 +11,13 @@
11
  class Morningtime_TextfieldLayeredNav_Block_Catalog_Product_Compare_List extends Mage_Catalog_Block_Product_Compare_List
12
  {
13
 
 
 
 
 
 
 
 
14
  public function getProductAttributeValue($product, $attribute)
15
  {
16
  if (!$product->hasData($attribute->getAttributeCode())) {
11
  class Morningtime_TextfieldLayeredNav_Block_Catalog_Product_Compare_List extends Mage_Catalog_Block_Product_Compare_List
12
  {
13
 
14
+ /**
15
+ * Retrieve Product Attribute Value
16
+ *
17
+ * @param Mage_Catalog_Model_Product $product
18
+ * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute
19
+ * @return string
20
+ */
21
  public function getProductAttributeValue($product, $attribute)
22
  {
23
  if (!$product->hasData($attribute->getAttributeCode())) {
app/code/community/Morningtime/TextfieldLayeredNav/Block/CatalogSearch/Advanced/Form.php CHANGED
@@ -11,6 +11,12 @@
11
  class Morningtime_TextfieldLayeredNav_Block_CatalogSearch_Advanced_Form extends Mage_CatalogSearch_Block_Advanced_Form
12
  {
13
 
 
 
 
 
 
 
14
  public function getAttributeInputType($attribute)
15
  {
16
  $dataType = $attribute->getBackend()->getType();
11
  class Morningtime_TextfieldLayeredNav_Block_CatalogSearch_Advanced_Form extends Mage_CatalogSearch_Block_Advanced_Form
12
  {
13
 
14
+ /**
15
+ * Retrieve attribute input type
16
+ *
17
+ * @param $attribute
18
+ * @return string
19
+ */
20
  public function getAttributeInputType($attribute)
21
  {
22
  $dataType = $attribute->getBackend()->getType();
app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Entity/Attribute.php CHANGED
@@ -10,6 +10,12 @@
10
 
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Entity_Attribute extends Mage_Catalog_Model_Entity_Attribute
12
  {
 
 
 
 
 
 
13
  public function getBackendTypeByInput($type)
14
  {
15
  switch ($type) {
@@ -47,6 +53,12 @@ class Morningtime_TextfieldLayeredNav_Model_Catalog_Entity_Attribute extends Mag
47
  }
48
  }
49
 
 
 
 
 
 
 
50
  public function getDefaultValueByInput($type)
51
  {
52
  $field = '';
10
 
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Entity_Attribute extends Mage_Catalog_Model_Entity_Attribute
12
  {
13
+ /**
14
+ * Detect backend storage type using frontend input type
15
+ *
16
+ * @return string backend_type field value
17
+ * @param string $type frontend_input field value
18
+ */
19
  public function getBackendTypeByInput($type)
20
  {
21
  switch ($type) {
53
  }
54
  }
55
 
56
+ /**
57
+ * Detect default value using frontend input type
58
+ *
59
+ * @return string default_value field value
60
+ * @param string $type frontend_input field name
61
+ */
62
  public function getDefaultValueByInput($type)
63
  {
64
  $field = '';
app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Resource/Eav/Attribute.php CHANGED
@@ -11,6 +11,11 @@
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Attribute extends Mage_Catalog_Model_Resource_Eav_Attribute
12
  {
13
 
 
 
 
 
 
14
  public function getSourceModel()
15
  {
16
  $model = $this->getData('source_model');
@@ -26,6 +31,11 @@ class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Attribute exten
26
  return $model;
27
  }
28
 
 
 
 
 
 
29
  public function isAllowedForRuleCondition()
30
  {
31
  /* MT start
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Attribute extends Mage_Catalog_Model_Resource_Eav_Attribute
12
  {
13
 
14
+ /**
15
+ * Retrieve source model
16
+ *
17
+ * @return Mage_Eav_Model_Entity_Attribute_Source_Abstract
18
+ */
19
  public function getSourceModel()
20
  {
21
  $model = $this->getData('source_model');
31
  return $model;
32
  }
33
 
34
+ /**
35
+ * Check is allow for rule condition
36
+ *
37
+ * @return bool
38
+ */
39
  public function isAllowedForRuleCondition()
40
  {
41
  /* MT start
app/code/community/Morningtime/TextfieldLayeredNav/Model/Catalog/Resource/Eav/Mysql4/Product.php CHANGED
@@ -11,6 +11,12 @@
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Mysql4_Product extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product
12
  {
13
 
 
 
 
 
 
 
14
  protected function _processSaveData($saveData)
15
  {
16
  extract($saveData);
@@ -45,7 +51,7 @@ class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Mysql4_Product
45
  if (!empty($insert)) {
46
  foreach ($insert as $attrId=>$value) {
47
  $attribute = $this->getAttribute($attrId);
48
-
49
  /* MT start */
50
  if ($attribute->frontend_input == 'textfilter') {
51
  $value = $this->_mtGetValue($attribute, $value);
@@ -68,11 +74,11 @@ class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Mysql4_Product
68
  $v['value'] = $this->_mtGetValue($attribute, $v['value']);
69
  }
70
  /* MT end */
71
-
72
  $this->_updateAttribute($newObject, $attribute, $v['value_id'], $v['value']);
73
  }
74
  }
75
-
76
  /**
77
  * delete empty attribute values
78
  */
11
  class Morningtime_TextfieldLayeredNav_Model_Catalog_Resource_Eav_Mysql4_Product extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product
12
  {
13
 
14
+ /**
15
+ * Save object collected data
16
+ *
17
+ * @param array $saveData array('newObject', 'entityRow', 'insert', 'update', 'delete')
18
+ * @return Mage_Eav_Model_Entity_Abstract
19
+ */
20
  protected function _processSaveData($saveData)
21
  {
22
  extract($saveData);
51
  if (!empty($insert)) {
52
  foreach ($insert as $attrId=>$value) {
53
  $attribute = $this->getAttribute($attrId);
54
+
55
  /* MT start */
56
  if ($attribute->frontend_input == 'textfilter') {
57
  $value = $this->_mtGetValue($attribute, $value);
74
  $v['value'] = $this->_mtGetValue($attribute, $v['value']);
75
  }
76
  /* MT end */
77
+
78
  $this->_updateAttribute($newObject, $attribute, $v['value_id'], $v['value']);
79
  }
80
  }
81
+
82
  /**
83
  * delete empty attribute values
84
  */
app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogRule/Rule/Condition/Product.php CHANGED
@@ -11,6 +11,11 @@
11
  class Morningtime_TextfieldLayeredNav_Model_CatalogRule_Rule_Condition_Product extends Mage_CatalogRule_Model_Rule_Condition_Product
12
  {
13
 
 
 
 
 
 
14
  public function getValueElementType()
15
  {
16
  if ($this->getAttribute()==='attribute_set_id') {
11
  class Morningtime_TextfieldLayeredNav_Model_CatalogRule_Rule_Condition_Product extends Mage_CatalogRule_Model_Rule_Condition_Product
12
  {
13
 
14
+ /**
15
+ * Retrieve value element type
16
+ *
17
+ * @return string
18
+ */
19
  public function getValueElementType()
20
  {
21
  if ($this->getAttribute()==='attribute_set_id') {
app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogSearch/Advanced.php CHANGED
@@ -11,6 +11,13 @@
11
  class Morningtime_TextfieldLayeredNav_Model_CatalogSearch_Advanced extends Mage_CatalogSearch_Model_Advanced
12
  {
13
 
 
 
 
 
 
 
 
14
  protected function _addSearchCriteria($attribute, $value)
15
  {
16
  $name = $attribute->getFrontend()->getLabel();
@@ -62,9 +69,8 @@ class Morningtime_TextfieldLayeredNav_Model_CatalogSearch_Advanced extends Mage_
62
  : Mage::helper('catalogsearch')->__('No');
63
  }
64
 
65
- $searchCriterias = $this->_searchCriterias;
66
- $searchCriterias[] = array('name'=>$name, 'value'=>$value);
67
- return $searchCriterias;
68
  }
69
 
70
  }
11
  class Morningtime_TextfieldLayeredNav_Model_CatalogSearch_Advanced extends Mage_CatalogSearch_Model_Advanced
12
  {
13
 
14
+ /**
15
+ * Add data about search criteria to object state
16
+ *
17
+ * @param Mage_Eav_Model_Entity_Attribute $attribute
18
+ * @param mixed $value
19
+ * @return Mage_CatalogSearch_Model_Advanced
20
+ */
21
  protected function _addSearchCriteria($attribute, $value)
22
  {
23
  $name = $attribute->getFrontend()->getLabel();
69
  : Mage::helper('catalogsearch')->__('No');
70
  }
71
 
72
+ $this->_searchCriterias[] = array('name'=>$name, 'value'=>$value);
73
+ return $this;
 
74
  }
75
 
76
  }
app/code/community/Morningtime/TextfieldLayeredNav/Model/CatalogSearch/Mysql4/Search/Collection.php CHANGED
@@ -38,6 +38,12 @@ class Morningtime_TextfieldLayeredNav_Model_CatalogSearch_Mysql4_Search_Collecti
38
  return false;
39
  }
40
 
 
 
 
 
 
 
41
  protected function _getSearchInOptionSql($query)
42
  {
43
  $attributeIds = array();
38
  return false;
39
  }
40
 
41
+ /**
42
+ * Retrieve SQL for search entities by option
43
+ *
44
+ * @param unknown_type $query
45
+ * @return string
46
+ */
47
  protected function _getSearchInOptionSql($query)
48
  {
49
  $attributeIds = array();
app/code/community/Morningtime/TextfieldLayeredNav/Model/Eav/Mysql4/Entity/Attribute.php CHANGED
@@ -11,6 +11,12 @@
11
  class Morningtime_TextfieldLayeredNav_Model_Eav_Mysql4_Entity_Attribute extends Mage_Eav_Model_Mysql4_Entity_Attribute
12
  {
13
 
 
 
 
 
 
 
14
  protected function _beforeSave(Mage_Core_Model_Abstract $object)
15
  {
16
  $frontendLabel = $object->getFrontendLabel();
@@ -48,13 +54,20 @@ class Morningtime_TextfieldLayeredNav_Model_Eav_Mysql4_Entity_Attribute extends
48
  if ($object->getFrontendInput()=='select' || $object->getFrontendInput()=='textfilter') {
49
  /* MT end */
50
  $object->setSourceModel('eav/entity_attribute_source_table');
51
- }
52
-
53
-
54
  }
55
-
 
 
 
56
  }
57
 
 
 
 
 
 
 
58
  protected function _saveOption(Mage_Core_Model_Abstract $object)
59
  {
60
  $option = $object->getOption();
11
  class Morningtime_TextfieldLayeredNav_Model_Eav_Mysql4_Entity_Attribute extends Mage_Eav_Model_Mysql4_Entity_Attribute
12
  {
13
 
14
+ /**
15
+ * Enter description here...
16
+ *
17
+ * @param Mage_Core_Model_Abstract $object
18
+ * @return Mage_Eav_Model_Mysql4_Entity_Attribute
19
+ */
20
  protected function _beforeSave(Mage_Core_Model_Abstract $object)
21
  {
22
  $frontendLabel = $object->getFrontendLabel();
54
  if ($object->getFrontendInput()=='select' || $object->getFrontendInput()=='textfilter') {
55
  /* MT end */
56
  $object->setSourceModel('eav/entity_attribute_source_table');
57
+ }
 
 
58
  }
59
+
60
+ /* MT
61
+ return parent::_beforeSave($object);
62
+ */
63
  }
64
 
65
+ /**
66
+ * Enter description here...
67
+ *
68
+ * @param Mage_Core_Model_Abstract $object
69
+ * @return Mage_Eav_Model_Mysql4_Entity_Attribute
70
+ */
71
  protected function _saveOption(Mage_Core_Model_Abstract $object)
72
  {
73
  $option = $object->getOption();
app/code/community/Morningtime/TextfieldLayeredNav/controllers/Adminhtml/Catalog/Product/AttributeController.php CHANGED
@@ -49,7 +49,11 @@ class Morningtime_TextfieldLayeredNav_Adminhtml_Catalog_Product_AttributeControl
49
  ->_addJs(
50
  $this->getLayout()->createBlock('adminhtml/template')
51
  ->setIsPopup((bool)$this->getRequest()->getParam('popup'))
 
 
 
52
  ->setTemplate('morningtime/textfieldlayerednav/catalog/product/attribute/js.phtml')
 
53
  )
54
  ->renderLayout();
55
  }
49
  ->_addJs(
50
  $this->getLayout()->createBlock('adminhtml/template')
51
  ->setIsPopup((bool)$this->getRequest()->getParam('popup'))
52
+ /* MT
53
+ ->setTemplate('catalog/product/attribute/js.phtml')
54
+ */
55
  ->setTemplate('morningtime/textfieldlayerednav/catalog/product/attribute/js.phtml')
56
+ /* MT: end */
57
  )
58
  ->renderLayout();
59
  }
app/code/community/Morningtime/TextfieldLayeredNav/etc/config.xml CHANGED
@@ -14,7 +14,7 @@
14
  <config>
15
  <modules>
16
  <Morningtime_TextfieldLayeredNav>
17
- <version>1.3.2.1</version>
18
  </Morningtime_TextfieldLayeredNav>
19
  </modules>
20
  <global>
14
  <config>
15
  <modules>
16
  <Morningtime_TextfieldLayeredNav>
17
+ <version>1.3.2.2</version>
18
  </Morningtime_TextfieldLayeredNav>
19
  </modules>
20
  <global>
app/design/adminhtml/default/default/template/morningtime/textfieldlayerednav/catalog/product/attribute/js.phtml CHANGED
@@ -1,11 +1,27 @@
1
  <?php
2
  /**
3
- * Morningtime
4
- * TextfieldLayeredNav module
5
  *
6
- * @category Morningtime
7
- * @package Morningtime_TextfieldLayeredNav
8
- * @author Mathijs Koenraadt (info@morningtime.com)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  */
10
  ?>
11
  <script type="text/javascript">
@@ -145,7 +161,7 @@ function switchDefaultValueField()
145
  case 'select':
146
  optionDefaultInputType = 'radio';
147
  break;
148
-
149
  /* MT start */
150
  case 'textfilter':
151
  optionDefaultInputType = 'radio';
@@ -155,7 +171,7 @@ function switchDefaultValueField()
155
  case 'multiselect':
156
  optionDefaultInputType = 'checkbox';
157
  break;
158
-
159
  case 'date':
160
  defaultValueDateVisibility = true;
161
  break;
1
  <?php
2
  /**
3
+ * Magento
 
4
  *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-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 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
  <script type="text/javascript">
161
  case 'select':
162
  optionDefaultInputType = 'radio';
163
  break;
164
+
165
  /* MT start */
166
  case 'textfilter':
167
  optionDefaultInputType = 'radio';
171
  case 'multiselect':
172
  optionDefaultInputType = 'checkbox';
173
  break;
174
+
175
  case 'date':
176
  defaultValueDateVisibility = true;
177
  break;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Morningtime_TextfieldLayeredNav</name>
4
- <version>1.3.2.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
@@ -30,9 +30,9 @@ Don't forget to rebuil search index (cache) after adding a new attribute!
30
  No options available.</description>
31
  <notes>Stable version</notes>
32
  <authors><author><name>Mathijs Koenraadt (MSc)</name><user>auto-converted</user><email>info@morningtime.com</email></author></authors>
33
- <date>2009-07-01</date>
34
- <time>05:13:41</time>
35
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="morningtime"><dir name="textfieldlayerednav"><dir name="catalog"><dir name="product"><dir name="attribute"><file name="js.phtml" hash="e28eb1c566381048b000c16f63fcb8d9"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Morningtime_TextfieldLayeredNav.xml" hash="04d99f1c93b4ea0598a2651ac01785e2"/></dir></target><target name="magecommunity"><dir name="Morningtime"><dir name="TextfieldLayeredNav"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Edit"><dir name="Tab"><file name="Main.php" hash="b2bae8c5e2d77927cc923a0e82c57635"/><file name="Options.php" hash="df916a987b2647e3009f8553051f3142"/></dir></dir></dir><dir name="Edit"><dir name="Tab"><file name="Attributes.php" hash="2fed5f68e944cf2a00278c6f9c1bd181"/></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Compare"><file name="List.php" hash="986c1e5a9a39860575f12fa89a471db8"/></dir></dir></dir><dir name="CatalogSearch"><dir name="Advanced"><file name="Form.php" hash="98ec46f050d5bcb19baa39881fe8362d"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="AttributeController.php" hash="ce84c2d2499ca04f367aee4a44dde0c1"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="edc196e2001b0bba18fc627dcfdbd39b"/></dir><dir name="Model"><dir name="Catalog"><dir name="Entity"><file name="Attribute.php" hash="983198e589726391c2ffbc7688e9cf0e"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Product.php" hash="81ab81790beac3a3ec3c9432d97d5b84"/></dir><file name="Attribute.php" hash="50116c0d286f468c02a18a9399b242b2"/></dir></dir></dir><dir name="CatalogIndex"><dir name="Indexer"><file name="Eav.php" hash="b6a2cebae4472f6a7d8fc454108d0b0c"/></dir></dir><dir name="CatalogRule"><dir name="Rule"><dir name="Condition"><file name="Product.php" hash="59c56dcea83bedbcfdea86098f95589c"/></dir></dir></dir><dir name="CatalogSearch"><dir name="Mysql4"><dir name="Search"><file name="Collection.php" hash="192ff7e112757cb4546b72d3fc032f66"/></dir></dir><file name="Advanced.php" hash="11ead71aa5f7fc84c458f2300ef7339b"/></dir><dir name="Eav"><dir name="Entity"><dir name="Attribute"><dir name="Frontend"><file name="Default.php" hash="1e9448a83ab954d77b4c701bae48df7c"/></dir></dir><file name="Attribute.php" hash="3283d0d1246180d566999050ffded866"/></dir><dir name="Mysql4"><dir name="Entity"><file name="Attribute.php" hash="98d9dc4622ed297fa9597f96e5057922"/></dir></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Textfilter.php" hash="34f421cec04b6ed4b011238fdffa3ffb"/></dir></dir></dir></dir></target></contents>
36
  <compatible/>
37
  <dependencies/>
38
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Morningtime_TextfieldLayeredNav</name>
4
+ <version>1.3.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
30
  No options available.</description>
31
  <notes>Stable version</notes>
32
  <authors><author><name>Mathijs Koenraadt (MSc)</name><user>auto-converted</user><email>info@morningtime.com</email></author></authors>
33
+ <date>2009-07-06</date>
34
+ <time>10:05:46</time>
35
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="morningtime"><dir name="textfieldlayerednav"><dir name="catalog"><dir name="product"><dir name="attribute"><file name="js.phtml" hash="a91542481c958ee7130082ddaf6d3fe6"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Morningtime_TextfieldLayeredNav.xml" hash="04d99f1c93b4ea0598a2651ac01785e2"/></dir></target><target name="magecommunity"><dir name="Morningtime"><dir name="TextfieldLayeredNav"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Edit"><dir name="Tab"><file name="Main.php" hash="220b8f153f2f10f00d28fe31b6c7bd7d"/><file name="Options.php" hash="d2968a976aad9886ad62d927bb772ca2"/></dir></dir></dir><dir name="Edit"><dir name="Tab"><file name="Attributes.php" hash="3fd704733c02a7fb496a3f4b13968ec7"/></dir></dir></dir></dir></dir><dir name="CatalogSearch"><dir name="Advanced"><file name="Form.php" hash="cd6b955b50a27e6229372905fb16baee"/></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Compare"><file name="List.php" hash="33bde8e294f6a34a4b07168a5b0ecb22"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="AttributeController.php" hash="0b5df02abc2f1536f94302bcdaf9ffe3"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="affd34680a2671eee5cb5f8b727da605"/></dir><dir name="Model"><dir name="CatalogIndex"><dir name="Indexer"><file name="Eav.php" hash="b6a2cebae4472f6a7d8fc454108d0b0c"/></dir></dir><dir name="CatalogRule"><dir name="Rule"><dir name="Condition"><file name="Product.php" hash="7233285380c76255b2791cdb0d071db8"/></dir></dir></dir><dir name="CatalogSearch"><file name="Advanced.php" hash="a0665dee36ab850902c530ff41147109"/><dir name="Mysql4"><dir name="Search"><file name="Collection.php" hash="71b2a21e8e7892c923865193bae59a3f"/></dir></dir></dir><dir name="Catalog"><dir name="Entity"><file name="Attribute.php" hash="671d93802433843feddb2a58b08622ec"/></dir><dir name="Resource"><dir name="Eav"><file name="Attribute.php" hash="fa182c08fbed64a05c84c234cff44bf2"/><dir name="Mysql4"><file name="Product.php" hash="6441c62398eb32ec2808b1b28b1d6c4e"/></dir></dir></dir></dir><dir name="Eav"><dir name="Entity"><file name="Attribute.php" hash="3283d0d1246180d566999050ffded866"/><dir name="Attribute"><dir name="Frontend"><file name="Default.php" hash="1e9448a83ab954d77b4c701bae48df7c"/></dir></dir></dir><dir name="Mysql4"><dir name="Entity"><file name="Attribute.php" hash="0e9303bc92e21c0768b7345781ef54cd"/></dir></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Textfilter.php" hash="34f421cec04b6ed4b011238fdffa3ffb"/></dir></dir></dir></dir></target></contents>
36
  <compatible/>
37
  <dependencies/>
38
  </package>