Version Notes
Held a small correction in the registration menu item
Download this release
Release Info
Developer | Leonam Bernini |
Extension | easy_mega_menu |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 2.0.1
- app/code/community/LeonamBernini/MegaMenu/Block/Adminhtml/Megamenu/Edit/Tab/Form.php +15 -3
- app/code/community/LeonamBernini/MegaMenu/Block/Adminhtml/Megamenu/Edit/Tabs.php +1 -1
- app/code/community/LeonamBernini/MegaMenu/etc/adminhtml.xml +2 -2
- app/code/community/LeonamBernini/MegaMenu/etc/config.xml +21 -1
- app/code/community/LeonamBernini/MegaMenu/etc/system.xml +4 -4
- app/design/frontend/base/default/layout/leonambernini/timerbanner.xml +19 -0
- package.xml +5 -5
app/code/community/LeonamBernini/MegaMenu/Block/Adminhtml/Megamenu/Edit/Tab/Form.php
CHANGED
@@ -57,6 +57,18 @@ class LeonamBernini_MegaMenu_Block_Adminhtml_Megamenu_Edit_Tab_Form extends Mage
|
|
57 |
'value' => '_new',
|
58 |
'label' => Mage::helper('megamenu')->__('New'),
|
59 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
),
|
61 |
));
|
62 |
|
@@ -103,7 +115,7 @@ class LeonamBernini_MegaMenu_Block_Adminhtml_Megamenu_Edit_Tab_Form extends Mage
|
|
103 |
));
|
104 |
|
105 |
$fieldset->addField('end_time', 'date', array(
|
106 |
-
'label' => Mage::helper('
|
107 |
'format' =>'yyyy-MM-dd',
|
108 |
'required' => false,
|
109 |
'image' => $image_calendar,
|
@@ -113,8 +125,8 @@ class LeonamBernini_MegaMenu_Block_Adminhtml_Megamenu_Edit_Tab_Form extends Mage
|
|
113 |
|
114 |
if ( Mage::getSingleton('adminhtml/session')->getSlideshowData() )
|
115 |
{
|
116 |
-
$form->setValues(Mage::getSingleton('adminhtml/session')->
|
117 |
-
Mage::getSingleton('adminhtml/session')->
|
118 |
} elseif ( Mage::registry('megamenu_data') ) {
|
119 |
$form->setValues(Mage::registry('megamenu_data')->getData());
|
120 |
}
|
57 |
'value' => '_new',
|
58 |
'label' => Mage::helper('megamenu')->__('New'),
|
59 |
),
|
60 |
+
array(
|
61 |
+
'value' => '_parent',
|
62 |
+
'label' => Mage::helper('megamenu')->__('Parent'),
|
63 |
+
),
|
64 |
+
array(
|
65 |
+
'value' => '_self',
|
66 |
+
'label' => Mage::helper('megamenu')->__('Self'),
|
67 |
+
),
|
68 |
+
array(
|
69 |
+
'value' => '_top',
|
70 |
+
'label' => Mage::helper('megamenu')->__('Top'),
|
71 |
+
),
|
72 |
),
|
73 |
));
|
74 |
|
115 |
));
|
116 |
|
117 |
$fieldset->addField('end_time', 'date', array(
|
118 |
+
'label' => Mage::helper('megamenu')->__('End date'),
|
119 |
'format' =>'yyyy-MM-dd',
|
120 |
'required' => false,
|
121 |
'image' => $image_calendar,
|
125 |
|
126 |
if ( Mage::getSingleton('adminhtml/session')->getSlideshowData() )
|
127 |
{
|
128 |
+
$form->setValues(Mage::getSingleton('adminhtml/session')->getMegamenuData());
|
129 |
+
Mage::getSingleton('adminhtml/session')->setMegamenuData(null);
|
130 |
} elseif ( Mage::registry('megamenu_data') ) {
|
131 |
$form->setValues(Mage::registry('megamenu_data')->getData());
|
132 |
}
|
app/code/community/LeonamBernini/MegaMenu/Block/Adminhtml/Megamenu/Edit/Tabs.php
CHANGED
@@ -8,7 +8,7 @@ class LeonamBernini_MegaMenu_Block_Adminhtml_Megamenu_Edit_Tabs extends Mage_Adm
|
|
8 |
parent::__construct();
|
9 |
$this->setId('megamenu_tabs');
|
10 |
$this->setDestElementId('edit_form');
|
11 |
-
$this->setTitle(Mage::helper('megamenu')->__('
|
12 |
}
|
13 |
|
14 |
protected function _beforeToHtml()
|
8 |
parent::__construct();
|
9 |
$this->setId('megamenu_tabs');
|
10 |
$this->setDestElementId('edit_form');
|
11 |
+
$this->setTitle(Mage::helper('megamenu')->__('Banner Information'));
|
12 |
}
|
13 |
|
14 |
protected function _beforeToHtml()
|
app/code/community/LeonamBernini/MegaMenu/etc/adminhtml.xml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<config>
|
10 |
<children>
|
11 |
<megamenu translate="title" module="megamenu">
|
12 |
-
<title>MegaMenu
|
13 |
</megamenu>
|
14 |
</children>
|
15 |
</config>
|
@@ -24,7 +24,7 @@
|
|
24 |
<title>MegaMenu (nex)</title>
|
25 |
<sort_order>99</sort_order>
|
26 |
<children>
|
27 |
-
<items module="megamenu"
|
28 |
<title>Manage Items</title>
|
29 |
<sort_order>0</sort_order>
|
30 |
<action>megamenu/adminhtml_index</action>
|
9 |
<config>
|
10 |
<children>
|
11 |
<megamenu translate="title" module="megamenu">
|
12 |
+
<title>MegaMenu Setting - NEX</title>
|
13 |
</megamenu>
|
14 |
</children>
|
15 |
</config>
|
24 |
<title>MegaMenu (nex)</title>
|
25 |
<sort_order>99</sort_order>
|
26 |
<children>
|
27 |
+
<items module="megamenu">
|
28 |
<title>Manage Items</title>
|
29 |
<sort_order>0</sort_order>
|
30 |
<action>megamenu/adminhtml_index</action>
|
app/code/community/LeonamBernini/MegaMenu/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<LeonamBernini_MegaMenu>
|
5 |
-
<version>
|
6 |
</LeonamBernini_MegaMenu>
|
7 |
</modules>
|
8 |
|
@@ -23,6 +23,16 @@
|
|
23 |
</megamenu>
|
24 |
</updates>
|
25 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</frontend>
|
27 |
|
28 |
<global>
|
@@ -79,6 +89,16 @@
|
|
79 |
</admin>
|
80 |
</resources>
|
81 |
</acl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
</adminhtml>
|
83 |
|
84 |
<admin>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<LeonamBernini_MegaMenu>
|
5 |
+
<version>2.0.1</version>
|
6 |
</LeonamBernini_MegaMenu>
|
7 |
</modules>
|
8 |
|
23 |
</megamenu>
|
24 |
</updates>
|
25 |
</layout>
|
26 |
+
|
27 |
+
<translate>
|
28 |
+
<modules>
|
29 |
+
<LeonamBernini_MegaMenu>
|
30 |
+
<files>
|
31 |
+
<default>LeonamBernini_MegaMenu.csv</default>
|
32 |
+
</files>
|
33 |
+
</LeonamBernini_MegaMenu>
|
34 |
+
</modules>
|
35 |
+
</translate>
|
36 |
</frontend>
|
37 |
|
38 |
<global>
|
89 |
</admin>
|
90 |
</resources>
|
91 |
</acl>
|
92 |
+
|
93 |
+
<translate>
|
94 |
+
<modules>
|
95 |
+
<LeonamBernini_MegaMenu>
|
96 |
+
<files>
|
97 |
+
<default>LeonamBernini_MegaMenu.csv</default>
|
98 |
+
</files>
|
99 |
+
</LeonamBernini_MegaMenu>
|
100 |
+
</modules>
|
101 |
+
</translate>
|
102 |
</adminhtml>
|
103 |
|
104 |
<admin>
|
app/code/community/LeonamBernini/MegaMenu/etc/system.xml
CHANGED
@@ -94,7 +94,7 @@
|
|
94 |
</fields>
|
95 |
</general>
|
96 |
<levels translate="label">
|
97 |
-
<label>
|
98 |
<frontend_type>text</frontend_type>
|
99 |
<sort_order>2</sort_order>
|
100 |
<show_in_default>1</show_in_default>
|
@@ -104,7 +104,7 @@
|
|
104 |
<box_width translate="label comment">
|
105 |
<label>Width of Box</label>
|
106 |
<frontend_type>text</frontend_type>
|
107 |
-
<comment>in px or 0 for
|
108 |
<validate>required-entry validate-number</validate>
|
109 |
<sort_order>1</sort_order>
|
110 |
<show_in_default>1</show_in_default>
|
@@ -114,7 +114,7 @@
|
|
114 |
<item_width translate="label comment">
|
115 |
<label>Width of Items</label>
|
116 |
<frontend_type>text</frontend_type>
|
117 |
-
<comment>in px or 0 for
|
118 |
<validate>required-entry validate-number</validate>
|
119 |
<sort_order>2</sort_order>
|
120 |
<show_in_default>1</show_in_default>
|
@@ -133,7 +133,7 @@
|
|
133 |
<invert_box translate="label comment">
|
134 |
<label>Reverse side opening level</label>
|
135 |
<frontend_type>text</frontend_type>
|
136 |
-
<comment>from the number indicated an
|
137 |
<validate>required-entry validate-number</validate>
|
138 |
<sort_order>4</sort_order>
|
139 |
<show_in_default>1</show_in_default>
|
94 |
</fields>
|
95 |
</general>
|
96 |
<levels translate="label">
|
97 |
+
<label>levels</label>
|
98 |
<frontend_type>text</frontend_type>
|
99 |
<sort_order>2</sort_order>
|
100 |
<show_in_default>1</show_in_default>
|
104 |
<box_width translate="label comment">
|
105 |
<label>Width of Box</label>
|
106 |
<frontend_type>text</frontend_type>
|
107 |
+
<comment>in px or 0 for responsive</comment>
|
108 |
<validate>required-entry validate-number</validate>
|
109 |
<sort_order>1</sort_order>
|
110 |
<show_in_default>1</show_in_default>
|
114 |
<item_width translate="label comment">
|
115 |
<label>Width of Items</label>
|
116 |
<frontend_type>text</frontend_type>
|
117 |
+
<comment>in px or 0 for responsive</comment>
|
118 |
<validate>required-entry validate-number</validate>
|
119 |
<sort_order>2</sort_order>
|
120 |
<show_in_default>1</show_in_default>
|
133 |
<invert_box translate="label comment">
|
134 |
<label>Reverse side opening level</label>
|
135 |
<frontend_type>text</frontend_type>
|
136 |
+
<comment>from the number indicated an "open-left" class will be added, making the sublevel open to left</comment>
|
137 |
<validate>required-entry validate-number</validate>
|
138 |
<sort_order>4</sort_order>
|
139 |
<show_in_default>1</show_in_default>
|
app/design/frontend/base/default/layout/leonambernini/timerbanner.xml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<!-- <default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss"><stylesheet>leonam_bernini/megamenu/css/megamenu.css</stylesheet></action>
|
6 |
+
</reference>
|
7 |
+
<reference name="header">
|
8 |
+
<block type="timerbanner/timerbanner" name="leonambernini.timerbanner" template="leonambernini/timerbanner/timerbanner.phtml"/>
|
9 |
+
</reference>
|
10 |
+
</default>-->
|
11 |
+
<default>
|
12 |
+
<reference name="head">
|
13 |
+
<action method="addCss"><stylesheet>leonam_bernini/timerbanner/css/timerbanner.css</stylesheet></action>
|
14 |
+
</reference>
|
15 |
+
<!--<reference name="root">-->
|
16 |
+
<block type="timerbanner/timerbanner" name="leonambernini.timerbanner" output="toHtml" template="leonambernini/timerbanner/timerbanner.phtml" />
|
17 |
+
<!--</reference>-->
|
18 |
+
</default>
|
19 |
+
</layout>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easy_mega_menu</name>
|
4 |
-
<version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Easy Mega Menu extension for magento</summary>
|
10 |
<description>Mega menu easy to use yet full, was now easy to create a menu with quality and flexibility.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Leonam Bernini</name><user>leonambernini</user><email>leonam.b@hotmail.com</email></author></authors>
|
13 |
-
<date>2014-10-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="LeonamBernini"><dir name="MegaMenu"><dir name="Block"><dir name="Adminhtml"><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="7a3d8dc2e6a21199958f2f98fffea348"/></dir></dir><dir name="Megamenu"><dir name="Edit"><file name="Form.php" hash="87d678533750097e5938cb01296857d4"/><dir name="Tab"><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easy_mega_menu</name>
|
4 |
+
<version>2.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Easy Mega Menu extension for magento</summary>
|
10 |
<description>Mega menu easy to use yet full, was now easy to create a menu with quality and flexibility.</description>
|
11 |
+
<notes>Held a small correction in the registration menu item</notes>
|
12 |
<authors><author><name>Leonam Bernini</name><user>leonambernini</user><email>leonam.b@hotmail.com</email></author></authors>
|
13 |
+
<date>2014-10-29</date>
|
14 |
+
<time>15:45:12</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="LeonamBernini"><dir name="MegaMenu"><dir name="Block"><dir name="Adminhtml"><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="7a3d8dc2e6a21199958f2f98fffea348"/></dir></dir><dir name="Megamenu"><dir name="Edit"><file name="Form.php" hash="87d678533750097e5938cb01296857d4"/><dir name="Tab"><file name="Form.php" hash="f98df641ab439a153f3f185ebd2d7af5"/></dir><file name="Tabs.php" hash="c21a5ff4036d436add0acb4d68eea72c"/></dir><file name="Edit.php" hash="21f4da1931881a4fb5ae1b6f5ad14d99"/><file name="Grid.php" hash="b489d4001814f90d7cfa69962619da33"/></dir><file name="Megamenu.php" hash="89a8d8d78268d870fa448d88c679d1b0"/></dir><dir name="Html"><dir name="Topmenu"><file name="Renderer.php" hash="154c25975739ee821ab4293d2b6ba351"/></dir><file name="Topmenu.php" hash="8f3a240393aa4eaec837f78665bec4c0"/></dir><file name="Megamenu.php" hash="247f835affc88afaa71922a37c93ab19"/></dir><dir name="Helper"><file name="Data.php" hash="210840c7cea69df7a9c7308b64c6707f"/></dir><dir name="Model"><file name="Megamenu.php" hash="6fd2e85d4b0ad1900bb9fdc3e40e02ae"/><dir name="Mysql4"><dir name="Megamenu"><file name="Collection.php" hash="72d11f622ce9383b96b2d6cc3c85a848"/></dir><file name="Megamenu.php" hash="d9b2a354ec5e9b8e4d5fc8efa629775b"/></dir><dir name="Source"><file name="Action.php" hash="842a4ce1ff706ab41f24dafc225a2637"/><file name="DisplaySublevel.php" hash="3ecdc0f31448aeacabf3027cc0167cdc"/><file name="QtyLevels.php" hash="4775ba835e639d26a7aaa62899331490"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="ff6b3e45d45e9a461814410800467a4d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c0f88fba167915d5cbec53f32422c1a8"/><file name="config.xml" hash="27dbaa9f0e7b04553992ad8aef50357c"/><file name="system.xml" hash="fa9d9e3d0a0e99baae46a1be229f5a49"/></dir><dir name="sql"><dir name="megamenu_setup"><file name="mysql4-install-1.0.1.php" hash="c6c7e05f751a14078f78bf9f34f166b7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="leonambernini"><file name="megamenu.xml" hash="e8b67090c61987e2eaa2da09064d66ae"/><file name="timerbanner.xml" hash="1449657e6681e34adce51bbe8baa64a1"/></dir></dir><dir name="template"><dir name="leonambernini"><dir name="megamenu"><dir name="topmenu"><file name="renderer.phtml" hash="3c9ea895a459540449ec3da289080266"/></dir><file name="topmenu.phtml" hash="59f8af11fc2792170d7470fdc663b7a3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LeonamBernini_MegaMenu.xml" hash="f63cc8dd91baef54618b05974f869b13"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="leonam_bernini"><dir name="megamenu"><dir name="css"><file name="megamenu.css" hash="bf037792139d88ee3cb8c8cc3ed28ceb"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="LeonamBernini_MegaMenu.csv" hash="bf8dcd3e8fce2df2457d68a7ec745fae"/></dir><dir name="pt_BR"><file name="LeonamBernini_MegaMenu.csv" hash="1f8e29b1d013633ae59192e082241478"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|