easy_mega_menu - Version 3.0.1

Version Notes

Update of element "nav ID" , because this attribute has css conflict with default theme

Download this release

Release Info

Developer Leonam Bernini
Extension easy_mega_menu
Version 3.0.1
Comparing to
See all releases


Code changes from version 2.0.1 to 3.0.1

app/code/community/LeonamBernini/MegaMenu/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <LeonamBernini_MegaMenu>
5
- <version>2.0.1</version>
6
  </LeonamBernini_MegaMenu>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <LeonamBernini_MegaMenu>
5
+ <version>3.0.1</version>
6
  </LeonamBernini_MegaMenu>
7
  </modules>
8
 
app/design/frontend/base/default/layout/leonambernini/timerbanner.xml CHANGED
@@ -1,19 +1,17 @@
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>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <default>
4
  <reference name="head">
5
+ <action method="addCss"><stylesheet>leonam_bernini/timerbanner/css/timerbanner.css</stylesheet></action>
6
  </reference>
7
  <reference name="header">
8
+ <block type="timerbanner/timerbanner" name="leonambernini.timerbanner" as="leonambernini.timerbanner" />
9
  </reference>
10
+ <reference name="catalog.topnav">
11
+ <block type="timerbanner/timerbanner" name="leonambernini.timerbanner" as="leonambernini.timerbanner" />
12
+ </reference>
13
+ <reference name="page">
14
+ <block type="timerbanner/timerbanner" name="leonambernini.timerbanner" as="leonambernini.timerbanner" />
15
  </reference>
 
 
 
16
  </default>
17
  </layout>
app/design/frontend/base/default/template/leonambernini/megamenu/topmenu.phtml CHANGED
@@ -5,11 +5,11 @@
5
  <?php $classCenter = Mage::getStoreConfig("megamenu/general/box_center"); ?>
6
 
7
  <?php if($_menu): ?>
8
- <nav id="nav" class="nav-megamenu">
9
  <?php if( $classCenter ): ?>
10
  <div class="center">
11
  <?php endif; ?>
12
- <ol class="nav-megamenu">
13
  <?php if( $showHomeButton ): ?>
14
  <li id="mega-menu-home-link" class="level0"><a href="<?php echo $this->getUrl('') ?>" title="" class="mega-menu-link level0 transition"><?php echo $homeButtonTitle ?></a></li>
15
  <?php endif; ?>
5
  <?php $classCenter = Mage::getStoreConfig("megamenu/general/box_center"); ?>
6
 
7
  <?php if($_menu): ?>
8
+ <nav id="nav-mega-menu" class="nav-megamenu">
9
  <?php if( $classCenter ): ?>
10
  <div class="center">
11
  <?php endif; ?>
12
+ <ol class="list-megamenu">
13
  <?php if( $showHomeButton ): ?>
14
  <li id="mega-menu-home-link" class="level0"><a href="<?php echo $this->getUrl('') ?>" title="" class="mega-menu-link level0 transition"><?php echo $homeButtonTitle ?></a></li>
15
  <?php endif; ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>easy_mega_menu</name>
4
+ <version>3.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>Update of element "nav ID" , because this attribute has css conflict with default theme</notes>
12
  <authors><author><name>Leonam Bernini</name><user>leonambernini</user><email>leonam.b@hotmail.com</email></author></authors>
13
+ <date>2014-11-03</date>
14
+ <time>04:05:17</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="57e9ff64d7d0cbfdd2c751efd6aef64f"/><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="db036821f7e6876e4f8505df43327b93"/></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="3c6702c818ed452840504ec26687182b"/></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="35f8b82d7c6e326c0e5f5e064be7a405"/></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>
skin/frontend/base/default/leonam_bernini/megamenu/css/megamenu.css CHANGED
@@ -9,14 +9,17 @@ and open the template in the editor.
9
  */
10
  .nav-megamenu{ position: relative; z-index: 999999; }
11
 
 
 
12
  .transition{ -webkit-transition: 150ms all linear 0s; -moz-transition: 150ms all linear 0s; -o-transition: 150ms all linear 0s; transition: 150ms all linear 0s; }
13
- .center{ display: block; margin: 0 auto; max-width: 1200px; min-width: 1200px; width: 100%; }
14
 
15
  .nav-megamenu li.level0,
16
  .nav-megamenu .box-children ul,
17
  .levels-display-inline-block > li{ display: inline-block; vertical-align: top; /* Setting a common base */ margin: 0; padding: 0; /* For IE 7 */ zoom: 1; *display: inline; }
18
  .levels-display-block > li{ display: block; }
19
 
 
20
  .nav-megamenu li{ position: relative; }
21
 
22
  .nav-megamenu li.level0:hover .box-level0,
@@ -26,7 +29,8 @@ and open the template in the editor.
26
 
27
  .nav-megamenu .box-children{ display: none; padding: 15px; position: absolute; }
28
 
29
- .nav-megamenu .box-level0{ background-color: #fff; border-radius: 0 0 5px 5px; left: 0; top: 50px; min-width: 300px; z-index: 10; }
 
30
  .nav-megamenu .open-left .box-level0{ left: auto; right: 0; }
31
  .nav-megamenu .box-level1{ background-color: #000; border-radius: 0 0 5px 5px; right: 0; top: 50px; z-index: 20; }
32
  .nav-megamenu .open-left .box-level1{ left: 0; right: auto; }
9
  */
10
  .nav-megamenu{ position: relative; z-index: 999999; }
11
 
12
+ .nav-megamenu li.level0,
13
+ .nav-megamenu li.level0:hover,
14
  .transition{ -webkit-transition: 150ms all linear 0s; -moz-transition: 150ms all linear 0s; -o-transition: 150ms all linear 0s; transition: 150ms all linear 0s; }
15
+ .center{ display: block; margin: 0 auto; max-width: 930px; min-width: 930px; width: 100%; }
16
 
17
  .nav-megamenu li.level0,
18
  .nav-megamenu .box-children ul,
19
  .levels-display-inline-block > li{ display: inline-block; vertical-align: top; /* Setting a common base */ margin: 0; padding: 0; /* For IE 7 */ zoom: 1; *display: inline; }
20
  .levels-display-block > li{ display: block; }
21
 
22
+ .nav-megamenu .list-megamenu{ text-align: left; }
23
  .nav-megamenu li{ position: relative; }
24
 
25
  .nav-megamenu li.level0:hover .box-level0,
29
 
30
  .nav-megamenu .box-children{ display: none; padding: 15px; position: absolute; }
31
 
32
+ .nav-megamenu li.level0:hover{ background-color: #fff; }
33
+ .nav-megamenu .box-level0{ background-color: #fff; border-radius: 0 0 5px 5px; box-shadow: 0 0 10px 0 #000; left: 0; top: 50px; min-width: 300px; z-index: 10; }
34
  .nav-megamenu .open-left .box-level0{ left: auto; right: 0; }
35
  .nav-megamenu .box-level1{ background-color: #000; border-radius: 0 0 5px 5px; right: 0; top: 50px; z-index: 20; }
36
  .nav-megamenu .open-left .box-level1{ left: 0; right: auto; }