bb_eav - Version 1.0.2

Version Notes

added dependency module

Download this release

Release Info

Developer George Babarus
Extension bb_eav
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Bb/Core/Helper/Data.php CHANGED
@@ -1,19 +1,19 @@
1
- <?php
2
-
3
- /**
4
- * Bb extension for Magento - fully suport - easy to use
5
- *
6
- *
7
- * @category Bb
8
- * @package Bb_Slider
9
- * @copyright Copyright (C) 2014 Bb (http://www.babarus.ro/)
10
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
- *
12
- * @author George Babarus <george.babarus@gmail.com>
13
- *
14
- */
15
- class Bb_Core_Helper_Data extends Mage_Adminhtml_Helper_Data
16
- {
17
-
18
-
19
- }
1
+ <?php
2
+
3
+ /**
4
+ * Bb extension for Magento - fully suport - easy to use
5
+ *
6
+ *
7
+ * @category Bb
8
+ * @package Bb_Slider
9
+ * @copyright Copyright (C) 2014 Bb (http://www.babarus.ro/)
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ *
12
+ * @author George Babarus <george.babarus@gmail.com>
13
+ *
14
+ */
15
+ class Bb_Core_Helper_Data extends Mage_Adminhtml_Helper_Data
16
+ {
17
+
18
+
19
+ }
app/code/community/Bb/Core/controllers/Adminhtml/BbModulesController.php CHANGED
@@ -1,42 +1,57 @@
1
- <?php
2
-
3
- /**
4
- * Bb extension for Magento - fully suport - easy to use
5
- *
6
- *
7
- * @category Bb
8
- * @package Bb_Slider
9
- * @copyright Copyright (C) 2014 Bb (http://www.babarus.ro/)
10
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
- *
12
- * @author George Babarus <george.babarus@gmail.com>
13
- *
14
- */
15
- class Bb_Core_Adminhtml_BbModulesController extends Mage_Adminhtml_Controller_Action
16
- {
17
-
18
- public function init()
19
- {
20
- parent::init();
21
-
22
- $this->_setActiveMenu('bb');
23
-
24
- }
25
-
26
-
27
- /**
28
- * help user to use id
29
- */
30
- public function productsAction()
31
- {
32
- $this->loadLayout();
33
- $this->renderLayout();
34
- }
35
-
36
-
37
- protected function _isAllowed()
38
- {
39
- return Mage::getSingleton('admin/session')->isAllowed('bb_slider');
40
- }
41
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  }
1
+ <?php
2
+
3
+ /**
4
+ * Bb extension for Magento - fully suport - easy to use
5
+ *
6
+ *
7
+ * @category Bb
8
+ * @package Bb_Slider
9
+ * @copyright Copyright (C) 2014 Bb (http://www.babarus.ro/)
10
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
11
+ *
12
+ * @author George Babarus <george.babarus@gmail.com>
13
+ *
14
+ */
15
+ class Bb_Core_Adminhtml_BbModulesController extends Mage_Adminhtml_Controller_Action
16
+ {
17
+
18
+ /**
19
+ * put some init stuff here
20
+ */
21
+ public function init()
22
+ {
23
+
24
+
25
+ }
26
+
27
+
28
+ /**
29
+ * help user to use bb products
30
+ */
31
+ public function productsAction()
32
+ {
33
+ $this->loadLayout();
34
+ $this->_setActiveMenu('bb_products');
35
+ $this->renderLayout();
36
+ }
37
+
38
+
39
+ /**
40
+ * help user to use bb products
41
+ */
42
+ public function helpAction()
43
+ {
44
+ $this->loadLayout();
45
+ $this->_setActiveMenu('bb_products');
46
+
47
+ $url = sprintf('http://docs.babarus.ro/help-documents/products/%s/help.html',$this->getRequest()->getParam('module'));
48
+ $this->getLayout()->getBlock('bb_help')->setData('url', $url);
49
+ $this->renderLayout();
50
+ }
51
+
52
+ protected function _isAllowed()
53
+ {
54
+ return Mage::getSingleton('admin/session')->isAllowed('bb_slider');
55
+ }
56
+
57
  }
app/code/community/Bb/Core/etc/adminhtml.xml CHANGED
@@ -1,40 +1,40 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <menu>
4
- <bb_products>
5
- <title>BB Products</title>
6
- <sort_order>99999</sort_order>
7
- <action>adminhtml/bbModules/products</action>
8
- <children>
9
- <news>
10
- <title>News</title>
11
- <sort_order>0</sort_order>
12
- <action>adminhtml/bbModules/products</action>
13
- </news>
14
- </children>
15
- </bb_products>
16
-
17
- </menu>
18
-
19
- <acl>
20
- <resources>
21
- <all>
22
- <title>Allow Everything</title>
23
- </all>
24
- <admin>
25
- <children>
26
- <bb_products>
27
- <title>BB Products - Menu</title>
28
- <sort_order>1</sort_order>
29
- <children>
30
- <news>
31
- <title>News</title>
32
- <sort_order>0</sort_order>
33
- </news>
34
- </children>
35
- </bb_products>
36
- </children>
37
- </admin>
38
- </resources>
39
- </acl>
40
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <bb_products>
5
+ <title>BB Products</title>
6
+ <sort_order>99999</sort_order>
7
+ <action>adminhtml/bbModules/products</action>
8
+ <children>
9
+ <news>
10
+ <title>News</title>
11
+ <sort_order>0</sort_order>
12
+ <action>adminhtml/bbModules/products</action>
13
+ </news>
14
+ </children>
15
+ </bb_products>
16
+
17
+ </menu>
18
+
19
+ <acl>
20
+ <resources>
21
+ <all>
22
+ <title>Allow Everything</title>
23
+ </all>
24
+ <admin>
25
+ <children>
26
+ <bb_products>
27
+ <title>BB Products - Menu</title>
28
+ <sort_order>1</sort_order>
29
+ <children>
30
+ <news>
31
+ <title>News</title>
32
+ <sort_order>0</sort_order>
33
+ </news>
34
+ </children>
35
+ </bb_products>
36
+ </children>
37
+ </admin>
38
+ </resources>
39
+ </acl>
40
  </config>
app/code/community/Bb/Core/etc/config.xml CHANGED
@@ -1,65 +1,65 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <config>
3
- <modules>
4
- <Bb_Core>
5
- <version>1.0.0</version>
6
- </Bb_Core>
7
- </modules>
8
- <global>
9
- <helpers>
10
- <bb_core>
11
- <class>Bb_Core_Helper</class>
12
- </bb_core>
13
- </helpers>
14
- </global>
15
- <frontend>
16
- <routers>
17
- <bb_core>
18
- <args>
19
- <modules>
20
- <Bb_Core>Bb_Core</Bb_Core>
21
- </modules>
22
- </args>
23
- </bb_core>
24
- </routers>
25
-
26
- <translate>
27
- <modules>
28
- <bb_core>
29
- <files>
30
- <default>Bb_Core.csv</default>
31
- </files>
32
- </bb_core>
33
- </modules>
34
- </translate>
35
- <layout>
36
- <updates>
37
- <bb_core>
38
- <file>bb_core.xml</file>
39
- </bb_core>
40
- </updates>
41
- </layout>
42
- </frontend>
43
- <adminhtml>
44
- <layout>
45
- <updates>
46
- <bb_core>
47
- <file>bb_core.xml</file>
48
- </bb_core>
49
- </updates>
50
- </layout>
51
-
52
- </adminhtml>
53
- <admin>
54
- <routers>
55
- <adminhtml>
56
- <args>
57
- <modules>
58
- <Bb_Core before="Mage_Adminhtml">Bb_Core_Adminhtml</Bb_Core>
59
- </modules>
60
- </args>
61
- </adminhtml>
62
- </routers>
63
- </admin>
64
-
65
  </config>
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <config>
3
+ <modules>
4
+ <Bb_Core>
5
+ <version>1.0.0</version>
6
+ </Bb_Core>
7
+ </modules>
8
+ <global>
9
+ <helpers>
10
+ <bb_core>
11
+ <class>Bb_Core_Helper</class>
12
+ </bb_core>
13
+ </helpers>
14
+ </global>
15
+ <frontend>
16
+ <routers>
17
+ <bb_core>
18
+ <args>
19
+ <modules>
20
+ <Bb_Core>Bb_Core</Bb_Core>
21
+ </modules>
22
+ </args>
23
+ </bb_core>
24
+ </routers>
25
+
26
+ <translate>
27
+ <modules>
28
+ <bb_core>
29
+ <files>
30
+ <default>Bb_Core.csv</default>
31
+ </files>
32
+ </bb_core>
33
+ </modules>
34
+ </translate>
35
+ <layout>
36
+ <updates>
37
+ <bb_core>
38
+ <file>bb_core.xml</file>
39
+ </bb_core>
40
+ </updates>
41
+ </layout>
42
+ </frontend>
43
+ <adminhtml>
44
+ <layout>
45
+ <updates>
46
+ <bb_core>
47
+ <file>bb_core.xml</file>
48
+ </bb_core>
49
+ </updates>
50
+ </layout>
51
+
52
+ </adminhtml>
53
+ <admin>
54
+ <routers>
55
+ <adminhtml>
56
+ <args>
57
+ <modules>
58
+ <Bb_Core before="Mage_Adminhtml">Bb_Core_Adminhtml</Bb_Core>
59
+ </modules>
60
+ </args>
61
+ </adminhtml>
62
+ </routers>
63
+ </admin>
64
+
65
  </config>
app/code/community/Bb/Eav/Model/Entity/Attribute/Source/Table.php CHANGED
@@ -1,108 +1,108 @@
1
- <?php
2
- /**
3
- * George Babarus extension for Magento
4
- *
5
- * Long description of this file (if any...)
6
- *
7
- * NOTICE OF LICENSE
8
- *
9
- * This source file is subject to the Open Software License (OSL 3.0)
10
- * that is bundled with this package in the file LICENSE.txt.
11
- * It is also available through the world-wide-web at this URL:
12
- * http://opensource.org/licenses/osl-3.0.php
13
- *
14
- * DISCLAIMER
15
- *
16
- * Do not edit or add to this file if you wish to upgrade
17
- * the Bb Eav module to newer versions in the future.
18
- * If you wish to customize the Bb Eav module for your needs
19
- * please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category Bb
22
- * @package Bb_Eav
23
- * @copyright Copyright (C) 2014 http://www.babarus.ro
24
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
26
-
27
- /**
28
- * Fix a performance issue for Magento community and enterprise related to
29
- * attributes get option text by option id
30
- *
31
- * Issue was fixed by replacing the way to find option label in getOptionText method
32
- *
33
- * @category Bb
34
- * @package Bb_Eav
35
- * @subpackage Model
36
- * @author George Babarus <george.babarus@gmail.com>
37
- */
38
-
39
- class Bb_Eav_Model_Entity_Attribute_Source_Table extends Mage_Eav_Model_Entity_Attribute_Source_Table
40
- {
41
-
42
-
43
- /**
44
- * return an array of selected option label and value of attribute for product
45
- *
46
- * @param $optionsIds
47
- * @return mixed
48
- */
49
- public function getOptionTextByOptionId($optionsIds){
50
- if(!is_array($optionsIds)){
51
- return array();
52
- }
53
-
54
- $collection = Mage::getResourceModel('eav/entity_attribute_option_collection')
55
- ->setPositionOrder('asc')
56
- ->setAttributeFilter($this->getAttribute()->getId())
57
- ->setStoreFilter($this->getAttribute()->getStoreId());
58
-
59
-
60
- $collection->getSelect()
61
- ->where('main_table.option_id IN (?)',$optionsIds);
62
-
63
- $collection->load();
64
-
65
- return $collection->toOptionArray();
66
- }
67
-
68
- /**
69
- * Get a text for option value
70
- *
71
- * @param string|integer $value
72
- * @return string
73
- */
74
- public function getOptionText($value)
75
- {
76
- $isMultiple = false;
77
- if (strpos($value, ',')) {
78
- $isMultiple = true;
79
- $value = explode(',', $value);
80
- } else {
81
- if (!empty($value)) {
82
- $value = array($value);
83
- }
84
- }
85
-
86
- $options = $this->getOptionTextByOptionId($value);
87
-
88
- if ($isMultiple) {
89
- $values = array();
90
- foreach ($options as $item) {
91
- if (in_array($item['value'], $value)) {
92
- $values[] = $item['label'];
93
- }
94
- }
95
- return $values;
96
- }
97
-
98
- foreach ($options as $item) {
99
- if (in_array($item['value'], $value)) {
100
- return $item['label'];
101
- }
102
- }
103
- return false;
104
- }
105
-
106
-
107
-
108
- }
1
+ <?php
2
+ /**
3
+ * George Babarus extension for Magento
4
+ *
5
+ * Long description of this file (if any...)
6
+ *
7
+ * NOTICE OF LICENSE
8
+ *
9
+ * This source file is subject to the Open Software License (OSL 3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade
17
+ * the Bb Eav module to newer versions in the future.
18
+ * If you wish to customize the Bb Eav module for your needs
19
+ * please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category Bb
22
+ * @package Bb_Eav
23
+ * @copyright Copyright (C) 2014 http://www.babarus.ro
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Fix a performance issue for Magento community and enterprise related to
29
+ * attributes get option text by option id
30
+ *
31
+ * Issue was fixed by replacing the way to find option label in getOptionText method
32
+ *
33
+ * @category Bb
34
+ * @package Bb_Eav
35
+ * @subpackage Model
36
+ * @author George Babarus <george.babarus@gmail.com>
37
+ */
38
+
39
+ class Bb_Eav_Model_Entity_Attribute_Source_Table extends Mage_Eav_Model_Entity_Attribute_Source_Table
40
+ {
41
+
42
+
43
+ /**
44
+ * return an array of selected option label and value of attribute for product
45
+ *
46
+ * @param $optionsIds
47
+ * @return mixed
48
+ */
49
+ public function getOptionTextByOptionId($optionsIds){
50
+ if(!is_array($optionsIds)){
51
+ return array();
52
+ }
53
+
54
+ $collection = Mage::getResourceModel('eav/entity_attribute_option_collection')
55
+ ->setPositionOrder('asc')
56
+ ->setAttributeFilter($this->getAttribute()->getId())
57
+ ->setStoreFilter($this->getAttribute()->getStoreId());
58
+
59
+
60
+ $collection->getSelect()
61
+ ->where('main_table.option_id IN (?)',$optionsIds);
62
+
63
+ $collection->load();
64
+
65
+ return $collection->toOptionArray();
66
+ }
67
+
68
+ /**
69
+ * Get a text for option value
70
+ *
71
+ * @param string|integer $value
72
+ * @return string
73
+ */
74
+ public function getOptionText($value)
75
+ {
76
+ $isMultiple = false;
77
+ if (strpos($value, ',')) {
78
+ $isMultiple = true;
79
+ $value = explode(',', $value);
80
+ } else {
81
+ if (!empty($value)) {
82
+ $value = array($value);
83
+ }
84
+ }
85
+
86
+ $options = $this->getOptionTextByOptionId($value);
87
+
88
+ if ($isMultiple) {
89
+ $values = array();
90
+ foreach ($options as $item) {
91
+ if (in_array($item['value'], $value)) {
92
+ $values[] = $item['label'];
93
+ }
94
+ }
95
+ return $values;
96
+ }
97
+
98
+ foreach ($options as $item) {
99
+ if (in_array($item['value'], $value)) {
100
+ return $item['label'];
101
+ }
102
+ }
103
+ return false;
104
+ }
105
+
106
+
107
+
108
+ }
app/code/community/Bb/Eav/etc/adminhtml.xml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <bb_products>
5
+ <children>
6
+ <bb_eav>
7
+ <title>EAV Performance fix</title>
8
+ <sort_order>100</sort_order>
9
+ <action>adminhtml/bbModules/help/module/bb_eav</action>
10
+ <children>
11
+ <bb_help>
12
+ <title>Help</title>
13
+ <sort_order>110</sort_order>
14
+ <action>adminhtml/bbModules/help/module/bb_eav</action>
15
+ </bb_help>
16
+ </children>
17
+ </bb_eav>
18
+ </children>
19
+ </bb_products>
20
+
21
+ </menu>
22
+
23
+ <acl>
24
+ <resources>
25
+ <all>
26
+ <title>Allow Everything</title>
27
+ </all>
28
+ <admin>
29
+ <children>
30
+ <bb_products>
31
+ <title>BB Products - Menu</title>
32
+ <sort_order>1</sort_order>
33
+ <children>
34
+ <bb_eav>
35
+ <title>EAV Performance fix</title>
36
+ <sort_order>100</sort_order>
37
+ <children>
38
+ <bb_help>
39
+ <title>Help</title>
40
+ <sort_order>110</sort_order>
41
+ </bb_help>
42
+ </children>
43
+ </bb_eav>
44
+ </children>
45
+ </bb_products>
46
+ </children>
47
+ </admin>
48
+ </resources>
49
+ </acl>
50
+ </config>
app/code/community/Bb/Eav/etc/adminhtml.xml~ ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <menu>
4
+ <bb_products>
5
+ <children>
6
+ <bb_eav>
7
+ <title>EAV Performance fix</title>
8
+ <sort_order>100</sort_order>
9
+ <action>adminhtml/bbModules/help/module/bb_eav</action>
10
+ <children>
11
+ <bb_help>
12
+ <title>Help</title>
13
+ <sort_order>110</sort_order>
14
+ <action>adminhtml/bbModules/help/module/bb_eav</action>
15
+ </bb_help>
16
+ </children>
17
+ </bb_eav>
18
+ </children>
19
+ </bb_products>
20
+
21
+ </menu>
22
+
23
+ <acl>
24
+ <resources>
25
+ <all>
26
+ <title>Allow Everything</title>
27
+ </all>
28
+ <admin>
29
+ <children>
30
+ <bb_products>
31
+ <title>BB Products - Menu</title>
32
+ <sort_order>1</sort_order>
33
+ <children>
34
+ <bb_eav>
35
+ <title>EAV Performance fix</title>
36
+ <sort_order>0</sort_order>
37
+ <children>
38
+ <bb_help>
39
+ <title>Help</title>
40
+ <sort_order>110</sort_order>
41
+ </bb_help>
42
+ </children>
43
+ </bb_eav>
44
+ </children>
45
+ </bb_products>
46
+ </children>
47
+ </admin>
48
+ </resources>
49
+ </acl>
50
+ </config>
app/code/community/Bb/Eav/etc/config.xml CHANGED
@@ -1,21 +1,21 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <Bb_Eav>
5
- <version>1.0.0</version>
6
- </Bb_Eav>
7
- </modules>
8
- <global>
9
- <models>
10
- <bb_eav>
11
- <class>Bb_Eav_Model</class>
12
- </bb_eav>
13
- <eav>
14
- <rewrite>
15
- <entity_attribute_source_table>Bb_Eav_Model_Entity_Attribute_Source_Table</entity_attribute_source_table>
16
- </rewrite>
17
- </eav>
18
- </models>
19
- </global>
20
-
21
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Bb_Eav>
5
+ <version>1.0.0</version>
6
+ </Bb_Eav>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <bb_eav>
11
+ <class>Bb_Eav_Model</class>
12
+ </bb_eav>
13
+ <eav>
14
+ <rewrite>
15
+ <entity_attribute_source_table>Bb_Eav_Model_Entity_Attribute_Source_Table</entity_attribute_source_table>
16
+ </rewrite>
17
+ </eav>
18
+ </models>
19
+ </global>
20
+
21
  </config>
app/design/adminhtml/default/default/layout/bb_core.xml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <layout>
3
+
4
+ <adminhtml_bbmodules_products>
5
+ <reference name="head">
6
+ <action method="setCanLoadExtJs">
7
+ <true>true</true>
8
+ </action>
9
+ </reference>
10
+ <reference name="content">
11
+ <block type="core/template" template="bb_products/help.phtml" name="sliders_admin" alias="sliders_admin" />
12
+
13
+ </reference>
14
+ </adminhtml_bbmodules_products>
15
+
16
+
17
+ <adminhtml_bbmodules_help>
18
+ <reference name="head">
19
+ <action method="setCanLoadExtJs">
20
+ <true>true</true>
21
+ </action>
22
+ </reference>
23
+ <reference name="content">
24
+ <block type="core/template" template="bb_products/help.phtml" name="bb_help" alias="bb_help" />
25
+
26
+ </reference>
27
+ </adminhtml_bbmodules_help>
28
+
29
+ </layout>
app/design/adminhtml/default/default/template/bb_products/help.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php $url = $this->getData('url'); ?>
2
+ <?php if (!empty($url)): ?>
3
+ <iframe width="100%" height="600" src="<?php echo $url; ?>" frameborder="0"
4
+ allowfullscreen></iframe>
5
+
6
+ <?php else : ?>
7
+ <iframe width="100%" height="600" src="http://docs.babarus.ro/help-documents/products/help.html" frameborder="0"
8
+ allowfullscreen></iframe>
9
+ <?php endif; ?>
app/etc/modules/Bb_Core.xml CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0"?>
2
-
3
- <config>
4
- <modules>
5
-
6
- <Bb_Core>
7
- <active>true</active>
8
- <codePool>community</codePool>
9
- <depends>
10
- </depends>
11
- </Bb_Core>
12
-
13
-
14
- </modules>
15
- </config>
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+
6
+ <Bb_Core>
7
+ <active>true</active>
8
+ <codePool>community</codePool>
9
+ <depends>
10
+ </depends>
11
+ </Bb_Core>
12
+
13
+
14
+ </modules>
15
+ </config>
app/etc/modules/Bb_Eav.xml CHANGED
@@ -1,12 +1,12 @@
1
- <config>
2
- <modules>
3
- <Bb_Eav>
4
- <version>0.1.0</version>
5
- <active>true</active>
6
- <codePool>community</codePool>
7
- <depends>
8
- <Mage_Eav />
9
- </depends>
10
- </Bb_Eav>
11
- </modules>
12
  </config>
1
+ <config>
2
+ <modules>
3
+ <Bb_Eav>
4
+ <version>0.1.0</version>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <depends>
8
+ <Mage_Eav />
9
+ </depends>
10
+ </Bb_Eav>
11
+ </modules>
12
  </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>bb_eav</name>
4
- <version>1.0.1</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>
8
  <extends/>
9
  <summary>Performance fix for EAV module</summary>
10
  <description>This module is a performance fix for all community and enterprise versions before Community 1.9 edition. Since I worked for a store having a very complex products (with a large numbers of attributes and large scale of values), I discovered that Magento has a performance bottleneck on product listing page and product page. </description>
11
  <notes>added dependency module</notes>
12
  <authors><author><name>George Babarus</name><user>MAG000308246</user><email>george.babarus@gmail.com</email></author></authors>
13
- <date>2014-11-17</date>
14
- <time>12:55:30</time>
15
- <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Bb"><dir name="Eav"><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Table.php" hash="820dc510f9ce8b79201aa316e603751a"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="e33df9c1035f070630c9226644d3db14"/></dir></dir><dir name="Core"><dir name="Helper"><file name="Data.php" hash="7faefd6e95218125d6621d168279961f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BbModulesController.php" hash="02c28acf9adb3205eccdb193fddf2a88"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7534028c5bb1f226a001ab63324103ef"/><file name="config.xml" hash="30d6037810e87f55c8843bcbb3393ea6"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Bb_Eav.xml" hash="5bde51bb75704932a26bc747184cdfc3"/><file name="Bb_Core.xml" hash="321e49727c3d620d9e4e681f41e1c830"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.3.1</min><max>5.6.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>bb_eav</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
+ <license>Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Performance fix for EAV module</summary>
10
  <description>This module is a performance fix for all community and enterprise versions before Community 1.9 edition. Since I worked for a store having a very complex products (with a large numbers of attributes and large scale of values), I discovered that Magento has a performance bottleneck on product listing page and product page. </description>
11
  <notes>added dependency module</notes>
12
  <authors><author><name>George Babarus</name><user>MAG000308246</user><email>george.babarus@gmail.com</email></author></authors>
13
+ <date>2015-02-26</date>
14
+ <time>13:59:52</time>
15
+ <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Bb"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="c2daa6289925ca2f34dfd979c22a6e32"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BbModulesController.php" hash="ac384fee9e7892fc611221622c333716"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d65e308569fd4ff8efd88a49f3d8b953"/><file name="config.xml" hash="c882a77220f67bf8ebe3ff7c222b88f9"/></dir></dir><dir name="Eav"><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Table.php" hash="516ebf9bfe30e3626a476f0c00251443"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6f16e316fb07c32feaaaec370a853f02"/><file name="adminhtml.xml~" hash="3847e4ec48f297ab569bbf652191c166"/><file name="config.xml" hash="b3b4f37d59853b64cef31837bea1f8bb"/></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bb_core.xml" hash="ceb184ef1266b85464f65c5f9460dba8"/></dir><dir name="template"><dir name="bb_products"><file name="help.phtml" hash="ddf223964c3f662c1c352068f050857e"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Bb_Core.xml" hash="f8770daf502376cca878b68672cbc12b"/><file name="Bb_Eav.xml" hash="506f328884b7d106c24174de2d1157c2"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
18
  </package>