bb_eav - Version 1.0.1

Version Notes

added dependency module

Download this release

Release Info

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


Code changes from version 1.0.0 to 1.0.1

app/code/community/Bb/Core/Helper/Data.php ADDED
@@ -0,0 +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
+ }
app/code/community/Bb/Core/controllers/Adminhtml/BbModulesController.php ADDED
@@ -0,0 +1,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
+ 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
+ }
app/code/community/Bb/Core/etc/adminhtml.xml ADDED
@@ -0,0 +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>
app/code/community/Bb/Core/etc/config.xml ADDED
@@ -0,0 +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>
app/etc/modules/Bb_Core.xml ADDED
@@ -0,0 +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>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>bb_eav</name>
4
- <version>1.0.0</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>fix performance issue on catalog</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:30:29</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></dir></dir><dir name="etc"><dir name="modules"><file name="Bb_Eav.xml" hash="5bde51bb75704932a26bc747184cdfc3"/></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.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>