JoomlartMegaMenu - Version 1.0.1

Version Notes

Update some CSS

Download this release

Release Info

Developer JoomlArt
Extension JoomlartMegaMenu
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/local/Wavethemes/Jmmegamenu/Block/Adminhtml/Jmmegamenu/Grid.php CHANGED
@@ -138,4 +138,33 @@
138
  {
139
  return $this->getUrl('*/*/edit', array('id' => $row->getId()));
140
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  }
138
  {
139
  return $this->getUrl('*/*/edit', array('id' => $row->getId()));
140
  }
141
+ protected function _prepareMassaction()
142
+ {
143
+ $this->setMassactionIdField('menu_id');
144
+ $this->getMassactionBlock()->setFormFieldName('jmmegamenu');
145
+ $this->getMassactionBlock()->addItem('delete', array(
146
+ 'label' => Mage::helper('jmmegamenu')->__('Delete'),
147
+ 'url' => $this->getUrl('*/*/massDelete'),
148
+ 'confirm' => Mage::helper('jmmegamenu')->__("Are you sure to delete this items and it's childrens?")
149
+ ));
150
+ $this->getMassactionBlock()->addItem('duplicate', array(
151
+ 'label' => Mage::helper('jmmegamenu')->__('Duplicate'),
152
+ 'url' => $this->getUrl('*/*/massDuplicate')
153
+ ));
154
+ $statuses = Mage::getSingleton('jmmegamenu/status')->getOptionArray();
155
+ $this->getMassactionBlock()->addItem('status', array(
156
+ 'label'=> Mage::helper('jmmegamenu')->__('Change status'),
157
+ 'url' => $this->getUrl('*/*/massStatus', array('_current'=>true)),
158
+ 'additional' => array(
159
+ 'visibility' => array(
160
+ 'name' => 'status',
161
+ 'type' => 'select',
162
+ 'class' => 'required-entry',
163
+ 'label' => Mage::helper('jmmegamenu')->__('Status'),
164
+ 'values' => $statuses
165
+ )
166
+ )
167
+ ));
168
+ return $this;
169
+ }
170
  }
app/code/local/Wavethemes/Jmmegamenu/Block/Adminhtml/Jmmegamenugroup/Grid.php CHANGED
@@ -73,4 +73,24 @@
73
  {
74
  return $this->getUrl('*/*/index', array('groupid' => $row->getId()));
75
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  }
73
  {
74
  return $this->getUrl('*/*/index', array('groupid' => $row->getId()));
75
  }
76
+ protected function _prepareMassaction()
77
+ {
78
+ $this->setMassactionIdField('menu_id');
79
+ $this->getMassactionBlock()->setFormFieldName('jmmegamenu');
80
+ $groupList = Mage::getSingleton('jmmegamenu/listmenugroup')->getOptionArray();
81
+ $this->getMassactionBlock()->addItem('duplicate', array(
82
+ 'label' => Mage::helper('jmmegamenu')->__('Duplicate'),
83
+ 'url' => $this->getUrl('*/*/massDuplicateGroup', array('_current'=>true)),
84
+ 'additional' => array(
85
+ 'visibility' => array(
86
+ 'name' => 'duplicate_to',
87
+ 'type' => 'select',
88
+ 'class' => 'required-entry',
89
+ 'label' => Mage::helper('jmmegamenu')->__('Duplicate To'),
90
+ 'values' => $groupList
91
+ )
92
+ )
93
+ ));
94
+ return $this;
95
+ }
96
  }
app/code/local/Wavethemes/Jmmegamenu/controllers/Adminhtml/JmmegamenuController.php CHANGED
@@ -447,4 +447,129 @@ class Wavethemes_Jmmegamenu_Adminhtml_JmmegamenuController extends Mage_Adminhtm
447
 
448
  }
449
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  }
447
 
448
  }
449
 
450
+ public function massDuplicateAction() {
451
+ $menuIds = $this->getRequest()->getParam('jmmegamenu');
452
+ if(!is_array($menuIds)) {
453
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
454
+ } else {
455
+ try {
456
+ $menuModel = Mage::getModel('jmmegamenu/jmmegamenu');
457
+ foreach($menuIds as $menuId){
458
+ $menuModel->load($menuId);
459
+ $data= $menuModel->getData();
460
+ if(!isset($groupid)) $groupid= $data['menugroup'];
461
+ unset($data['menu_id']);
462
+ unset($data['menualias']);
463
+ $data['parent']='0';
464
+ $menuModel->setData($data);
465
+ $menuModel->setCreatedTime(now())->setUpdateTime(now());
466
+ $menuModel->save();
467
+ }
468
+ Mage::getSingleton('adminhtml/session')->addSuccess(
469
+ Mage::helper('adminhtml')->__(
470
+ 'Total of %d record(s) were successfully duplicate', count($menuIds)
471
+ )
472
+ );
473
+ } catch (Exception $e) {
474
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
475
+ }
476
+ }
477
+ $this->_redirect('*/*/index', array('groupid' => $groupid));
478
+ }
479
+ public function massDeleteAction() {
480
+ $menuIds = $this->getRequest()->getParam('jmmegamenu');
481
+ if(!is_array($menuIds)) {
482
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
483
+ } else {
484
+ try {
485
+ $menuModel = Mage::getModel('jmmegamenu/jmmegamenu');
486
+ foreach($menuIds as $menuId){
487
+ if(!isset($groupid)){
488
+ $menuModel->load($menuId);
489
+ $groupid= $menuModel->getData('menugroup');
490
+ }
491
+ $this->deleteitems($menuId);
492
+ }
493
+ Mage::getSingleton('adminhtml/session')->addSuccess(
494
+ Mage::helper('adminhtml')->__(
495
+ 'Total of %d record(s) were successfully delete', count($menuIds)
496
+ )
497
+ );
498
+ } catch (Exception $e) {
499
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
500
+ }
501
+ }
502
+ $this->_redirect('*/*/index', array('groupid' => $groupid));
503
+ }
504
+ public function massStatusAction() {
505
+ $menuIds = $this->getRequest()->getParam('jmmegamenu');
506
+ if(!is_array($menuIds)) {
507
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
508
+ } else {
509
+ try {
510
+ $menuModel = Mage::getModel('jmmegamenu/jmmegamenu');
511
+ foreach ($menuIds as $menuId) {
512
+ $menuModel->load($menuId);
513
+ if(!isset($groupid)){
514
+ $groupid= $menuModel->getData('menugroup');
515
+ }
516
+ $menuModel->setStatus($this->getRequest()->getParam('status'))
517
+ ->setIsMassupdate(true)
518
+ ->save();
519
+ }
520
+ Mage::getSingleton('adminhtml/session')->addSuccess(
521
+ Mage::helper('adminhtml')->__(
522
+ 'Total of %d record(s) were successfully updated', count($menuIds)
523
+ )
524
+ );
525
+ } catch (Exception $e) {
526
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
527
+ }
528
+ }
529
+ $this->_redirect('*/*/index', array('groupid' => $groupid));
530
+ }
531
+ public function massDuplicateGroupAction() {
532
+ $groupIds = $this->getRequest()->getParam('jmmegamenu');
533
+ $to_groupId = $this->getRequest()->getParam('duplicate_to');
534
+ if(!is_array($groupIds)) {
535
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('adminhtml')->__('Please select item(s)'));
536
+ } else {
537
+ try {
538
+ foreach($groupIds as $groupId){
539
+ $this->findDuplicate(0,$groupId,0,$to_groupId);
540
+ }
541
+ Mage::getSingleton('adminhtml/session')->addSuccess(
542
+ Mage::helper('adminhtml')->__(
543
+ 'Total of %d record(s) were successfully duplicate', count($menuIds)
544
+ )
545
+ );
546
+ } catch (Exception $e) {
547
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
548
+ }
549
+ }
550
+ $this->_redirect('*/*/group');
551
+ }
552
+ private function findDuplicate($parent,$idgroup,$parentNew,$idgroupNew){
553
+ $menuModel = Mage::getModel('jmmegamenu/jmmegamenu');
554
+ $collections = $menuModel->getCollection()
555
+ ->addFieldToFilter("menugroup",array('eq'=>$idgroup))
556
+ ->addFieldToFilter("parent",array('eq'=>$parent));
557
+ foreach ($collections as $collection){
558
+ $data= $collection->getData();
559
+ $id= $data['menu_id'];
560
+ $idNew= $this->addDuplicate($data, $parentNew, $idgroupNew);
561
+ $this->findDuplicate($id, $idgroup,$idNew,$idgroupNew);
562
+ }
563
+ }
564
+ private function addDuplicate($data,$parentNew,$idgroupNew){
565
+ $menuModel = Mage::getModel('jmmegamenu/jmmegamenu');
566
+ unset($data['menu_id']);
567
+ unset($data['menualias']);
568
+ $data['menugroup']= $idgroupNew;
569
+ $data['parent']= $parentNew;
570
+ $menuModel->setData($data);
571
+ $menuModel->setCreatedTime(now())->setUpdateTime(now());
572
+ $menuModel->save();
573
+ return $menuModel->getId();
574
+ }
575
  }
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>JoomlartMegaMenu</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>Custom License</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@
12
  Essential to eCommerce success is allowing shoppers to quickly and easily navigate a website&#x2019;s content. With JM Mega Menu, featured products or promotional image can be shown within the menu itself.&#xD;
13
  &#xD;
14
  JM Mega Menu also brings you the convenient way of showing multiple contents like contact form and banner. Besides, you can embed your video directly inside the menus for sharing services like Youtube, Vimeo, etc.</description>
15
- <notes>First Release</notes>
16
  <authors><author><name>JoomlArt</name><user>arvind1</user><email>arvind@joomsolutions.com</email></author><author><name>m_joomlart</name><user>m_joomlart</user><email>jm@joomsolutions.com</email></author></authors>
17
- <date>2013-12-13</date>
18
- <time>10:53:55</time>
19
- <contents><target name="magelocal"><dir name="Wavethemes"><dir name="Jmmegamenu"><dir name="Block"><dir name="Adminhtml"><dir name="Jmmegamenu"><dir name="Edit"><file name="Form.php" hash="cb7420b6a220012244efadd9643c83d9"/><dir name="Tab"><file name="Form.php" hash="4514e87dc1271b0f159add7bf0af000e"/></dir><file name="Tabs.php" hash="0c872e37ee95c98b89d15682fcae49b6"/></dir><file name="Edit.php" hash="58e64eeaee47022b4af91dd629c5a73b"/><file name="Grid.php" hash="1d9e0091e76527f656695152dd6b61a7"/></dir><file name="Jmmegamenu.php" hash="45a00108b97a3c1f5b5776fae1e10f88"/><dir name="Jmmegamenugroup"><dir name="Edit"><file name="Form.php" hash="20da4e8ee30b0597d4b8d0a5654fb0ad"/><dir name="Tab"><file name="Form.php" hash="de4017b4501f8ea870ffde7c4a7ac07f"/></dir><file name="Tabs.php" hash="2ab1830599f7124f77d645c9e933529e"/></dir><file name="Edit.php" hash="58b7dc88ef68432d4c3da803649b69fe"/><file name="Grid.php" hash="1359d3ada2ffa0b2b81b2d514388c693"/></dir><file name="Jmmegamenugroup.php" hash="02196f75f141ffe9d3e0aebe6a94dfab"/></dir><file name="Jmmegamenu.php" hash="fb18db443b2fe512120ce2c41c8ae396"/></dir><dir name="Helper"><file name="Data.php" hash="0f4d633820c1efbaa508be9d30a69b29"/></dir><dir name="Model"><file name="Jmmegamenu.php" hash="5b6d85a037ee52a00c02cefd6d927db0"/><file name="Jmmegamenugroup.php" hash="e3f15f2d39176f30bf7cba55694a497f"/><file name="Jmmegamenustoregroup.php" hash="f60cc817f40d26c901bf720ae7ea5ade"/><file name="Listmenugroup.php" hash="e78a019a79ef61dd6105cbfba9eec5e7"/><dir name="Mysql4"><dir name="Jmmegamenu"><file name="Collection.php" hash="7cf491855e7ef57f211b183d64cf38a9"/></dir><file name="Jmmegamenu.php" hash="daf639ff9a0b81fc304a7fa0808545a1"/><dir name="Jmmegamenugroup"><file name="Collection.php" hash="a5f9345d14be29f870bf3672a0ebfb10"/></dir><file name="Jmmegamenugroup.php" hash="2415999d3993981ad80c2b0f98864b02"/><dir name="Jmmegamenustoregroup"><file name="Collection.php" hash="c92ab9f5e8966dc92524d4018bf727f7"/></dir><file name="Jmmegamenustoregroup.php" hash="33ee115b3f56467d85eb7f1435c6526d"/></dir><file name="Observer.php" hash="a2faf7fb6f3fbeb4c859be43d2e1dcdd"/><file name="Status.php" hash="74cf2ec44f9e5a0335699f65646d1ba8"/><dir name="System"><dir name="Config"><dir name="Source"><file name="ListAnimationType.php" hash="318340f739fffec214b13ba786a605c9"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="JmmegamenuController.php" hash="c810062c23560d6f9e7507f5c4fbea06"/></dir><file name="IndexController.php" hash="754aea64f2d471af4f99168058128244"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4536ab2518e972a9296229f4859ed653"/><file name="config.xml" hash="88cb60991fa9a39981361fc768b60c83"/><file name="system.xml" hash="db01277427ad403629a43405a8a1ab57"/></dir><dir name="sql"><dir name="jmmegamenu_setup"><file name="mysql4-install-0.1.0.php" hash="6eb5093f2d650e34da028c17bd5ba678"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="8f489401aca12a18aeb8302d835662a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmmegamenu.xml" hash="02eac58ec95083f8fb65dd80df1190af"/></dir><dir name="template"><dir name="widget"><file name="gridmenu.phtml" hash="c76c461515003fecfee82231c6e762ee"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="joomlart"><dir name="jmmegamenu"><file name="output.phtml" hash="a6793a5ef3734e3d8e4383e1168a9355"/></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="jmmegamenu.xml" hash="e6f429ff0c70b152835f7a7fa747edda"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wavethemes_Jmmegamenu.xml" hash="ca11f74dafd6891f3687554be1ba211b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Wavethemes_Jmmegamenu.csv" hash="c91d6dbbfbaba6eaf012d1da860ad6f0"/></dir></target><target name="mage"><dir name="js"><dir name="joomlart"><dir name="jmmegamenu"><file name="event.simulate.js" hash="bf5d4bbfadaa1da3999dfa6d964d96e2"/></dir></dir></dir></target><target name="magelib"><dir name="megamenu"><file name="mega.class.php" hash="c6b5cb58e0d4d1ed3446da173832d084"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="joomlart"><dir name="jmmegamenu"><dir name="css"><file name="jmmegamenu.css" hash="5c0cd542eaa49b0f082718c2cd42e6cc"/></dir><dir name="images"><file name="arrow.gif" hash="de3ee75c895656dcec90cf5b95e92ecb"/></dir></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.0</min><max>6.1.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>JoomlartMegaMenu</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>Custom License</license>
7
  <channel>community</channel>
12
  Essential to eCommerce success is allowing shoppers to quickly and easily navigate a website&#x2019;s content. With JM Mega Menu, featured products or promotional image can be shown within the menu itself.&#xD;
13
  &#xD;
14
  JM Mega Menu also brings you the convenient way of showing multiple contents like contact form and banner. Besides, you can embed your video directly inside the menus for sharing services like Youtube, Vimeo, etc.</description>
15
+ <notes>Update some CSS</notes>
16
  <authors><author><name>JoomlArt</name><user>arvind1</user><email>arvind@joomsolutions.com</email></author><author><name>m_joomlart</name><user>m_joomlart</user><email>jm@joomsolutions.com</email></author></authors>
17
+ <date>2013-12-20</date>
18
+ <time>09:39:12</time>
19
+ <contents><target name="magelocal"><dir name="Wavethemes"><dir name="Jmmegamenu"><dir name="Block"><dir name="Adminhtml"><dir name="Jmmegamenu"><dir name="Edit"><file name="Form.php" hash="cb7420b6a220012244efadd9643c83d9"/><dir name="Tab"><file name="Form.php" hash="4514e87dc1271b0f159add7bf0af000e"/></dir><file name="Tabs.php" hash="0c872e37ee95c98b89d15682fcae49b6"/></dir><file name="Edit.php" hash="58e64eeaee47022b4af91dd629c5a73b"/><file name="Grid.php" hash="468c4f722e165a2230d98f3ac7de97db"/></dir><file name="Jmmegamenu.php" hash="45a00108b97a3c1f5b5776fae1e10f88"/><dir name="Jmmegamenugroup"><dir name="Edit"><file name="Form.php" hash="20da4e8ee30b0597d4b8d0a5654fb0ad"/><dir name="Tab"><file name="Form.php" hash="de4017b4501f8ea870ffde7c4a7ac07f"/></dir><file name="Tabs.php" hash="2ab1830599f7124f77d645c9e933529e"/></dir><file name="Edit.php" hash="58b7dc88ef68432d4c3da803649b69fe"/><file name="Grid.php" hash="d51da3c322efea46ef5bfe3734182e9b"/></dir><file name="Jmmegamenugroup.php" hash="02196f75f141ffe9d3e0aebe6a94dfab"/></dir><file name="Jmmegamenu.php" hash="fb18db443b2fe512120ce2c41c8ae396"/></dir><dir name="Helper"><file name="Data.php" hash="0f4d633820c1efbaa508be9d30a69b29"/></dir><dir name="Model"><file name="Jmmegamenu.php" hash="5b6d85a037ee52a00c02cefd6d927db0"/><file name="Jmmegamenugroup.php" hash="e3f15f2d39176f30bf7cba55694a497f"/><file name="Jmmegamenustoregroup.php" hash="f60cc817f40d26c901bf720ae7ea5ade"/><file name="Listmenugroup.php" hash="e78a019a79ef61dd6105cbfba9eec5e7"/><dir name="Mysql4"><dir name="Jmmegamenu"><file name="Collection.php" hash="7cf491855e7ef57f211b183d64cf38a9"/></dir><file name="Jmmegamenu.php" hash="daf639ff9a0b81fc304a7fa0808545a1"/><dir name="Jmmegamenugroup"><file name="Collection.php" hash="a5f9345d14be29f870bf3672a0ebfb10"/></dir><file name="Jmmegamenugroup.php" hash="2415999d3993981ad80c2b0f98864b02"/><dir name="Jmmegamenustoregroup"><file name="Collection.php" hash="c92ab9f5e8966dc92524d4018bf727f7"/></dir><file name="Jmmegamenustoregroup.php" hash="33ee115b3f56467d85eb7f1435c6526d"/></dir><file name="Observer.php" hash="a2faf7fb6f3fbeb4c859be43d2e1dcdd"/><file name="Status.php" hash="74cf2ec44f9e5a0335699f65646d1ba8"/><dir name="System"><dir name="Config"><dir name="Source"><file name="ListAnimationType.php" hash="318340f739fffec214b13ba786a605c9"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="JmmegamenuController.php" hash="d0ca7bfe0ece330c4d0bbe0e65d407e3"/></dir><file name="IndexController.php" hash="754aea64f2d471af4f99168058128244"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4536ab2518e972a9296229f4859ed653"/><file name="config.xml" hash="88cb60991fa9a39981361fc768b60c83"/><file name="system.xml" hash="db01277427ad403629a43405a8a1ab57"/></dir><dir name="sql"><dir name="jmmegamenu_setup"><file name="mysql4-install-0.1.0.php" hash="6eb5093f2d650e34da028c17bd5ba678"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="8f489401aca12a18aeb8302d835662a7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="jmmegamenu.xml" hash="02eac58ec95083f8fb65dd80df1190af"/></dir><dir name="template"><dir name="widget"><file name="gridmenu.phtml" hash="c76c461515003fecfee82231c6e762ee"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="joomlart"><dir name="jmmegamenu"><file name="output.phtml" hash="a6793a5ef3734e3d8e4383e1168a9355"/></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="jmmegamenu.xml" hash="e6f429ff0c70b152835f7a7fa747edda"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Wavethemes_Jmmegamenu.xml" hash="ca11f74dafd6891f3687554be1ba211b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Wavethemes_Jmmegamenu.csv" hash="c91d6dbbfbaba6eaf012d1da860ad6f0"/></dir></target><target name="mage"><dir name="js"><dir name="joomlart"><dir name="jmmegamenu"><file name="event.simulate.js" hash="bf5d4bbfadaa1da3999dfa6d964d96e2"/></dir></dir></dir></target><target name="magelib"><dir name="megamenu"><file name="mega.class.php" hash="c6b5cb58e0d4d1ed3446da173832d084"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="joomlart"><dir name="jmmegamenu"><dir name="css"><file name="jmmegamenu.css" hash="1484521371e24dd80937b064e0bfc9fb"/></dir><dir name="images"><file name="Thumbs.db" hash="9ceb127d16e1dccf7dc2c7d4814c8abb"/><file name="arrow.gif" hash="de3ee75c895656dcec90cf5b95e92ecb"/><file name="bg-haschild.png" hash="133371c25f11ce0a67c0f1664b119299"/></dir></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.0</min><max>6.1.0</max></php></required></dependencies>
22
  </package>
skin/frontend/default/default/joomlart/jmmegamenu/css/jmmegamenu.css CHANGED
@@ -26,7 +26,7 @@ ul.megamenu li {
26
  /* Styling ---*/
27
  .jm-megamenu ul.level0 {
28
  margin: 0;
29
- padding: 0
30
  }
31
 
32
  .jm-megamenu ul.level0 li.mega {
@@ -39,11 +39,12 @@ ul.megamenu li {
39
  }
40
 
41
  .jm-megamenu ul.level0 li.mega a.mega {
42
- color: #A7C6DD;
43
  display: block;
 
44
  font-size: 107%;
45
  font-style: normal;
46
- line-height: 28px;
47
  font-weight: bold;
48
  min-height: 44px;
49
  padding: 0 20px 0 19px;
@@ -75,7 +76,7 @@ ul.megamenu li {
75
  .jm-megamenu ul.level0 li.mega .icon-image {
76
  float: left;
77
  height: auto;
78
- margin: 5px 3px 0 0;
79
  max-width: 20px;
80
  vertical-align: middle;
81
  }
@@ -89,9 +90,11 @@ ul.megamenu li {
89
  font-size: 11px;
90
  font-weight: normal;
91
  line-height: 140%;
92
- margin: -5px 0 0 25px;
93
  overflow: hidden;
94
  padding: 0;
 
 
95
  text-overflow: ellipsis;
96
  white-space: nowrap;
97
  width: 100%;
@@ -116,16 +119,31 @@ ul.megamenu li {
116
 
117
  /* lv - 1 */
118
  .jm-megamenu ul.level1 li.mega a.mega {
 
119
  color: #333;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  }
121
 
122
  .jm-megamenu li.mega .childcontent{
123
  display: block;
124
  height: auto;
125
- left: 0;
126
  max-height: 0;
127
  overflow: hidden;
128
  position: absolute;
 
129
  box-shadow: 0 0 3px #666;
130
  -box-shadow: 0 0 3px #666;
131
  -moz-box-shadow: 0 0 3px #666;
@@ -139,22 +157,43 @@ ul.megamenu li {
139
  -webkit-border-radius: 0 0 5px 5px;
140
  }
141
 
 
 
 
 
142
  .jm-megamenu li.haschild:hover > .childcontent{
143
  max-height: 1000px;
144
- overflow: hidden;
145
  -moz-transition: all 0.8s linear;
146
  -o-transition: all 0.8s linear;
147
  transition: all 0.8s linear;
148
  -webkit-transition: all 0.8s linear
149
  }
150
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  .jm-megamenu ul.level1 li.haschild:hover > .childcontent {
152
- left: 150px
 
 
 
 
 
153
  }
154
 
155
  .jm-megamenu ul.level1 li.mega {
156
- float: none;
157
- text-align: left
158
  }
159
 
160
  .jm-megamenu ul.level1 li.mega a {
@@ -162,12 +201,12 @@ ul.megamenu li {
162
  }
163
 
164
  .jm-megamenu ul.level1 .childcontent {
165
- margin: -2em 0 0 0
 
166
  }
167
 
168
  /*lv 2*/
169
  .jm-megamenu ul.level2 li.mega {
170
- border-bottom: 1px dotted #e5e5e5;
171
  padding: 3px 0;
172
  }
173
 
@@ -178,11 +217,18 @@ ul.megamenu li {
178
 
179
  .jm-megamenu ul.level2 li.mega a.mega {
180
  color: #333;
 
181
  font-size: 100%;
182
  font-weight: normal;
 
183
  min-height: 13px;
184
  padding: 0 10px;
185
  text-decoration: none;
 
 
 
 
 
186
  }
187
 
188
  .jm-megamenu ul.level2 li.mega.active a.mega,
@@ -190,12 +236,17 @@ ul.megamenu li {
190
  .jm-megamenu ul.level2 li.mega a.mega:focus,
191
  .jm-megamenu ul.level2 li.mega a.mega:hover {
192
  color: #E26703;
193
- text-decoration: underline;
194
  }
195
 
196
  /* Columns ---*/
197
  .jm-megamenu .megacol {
198
- float: left
 
 
 
 
 
199
  }
200
 
201
 
@@ -251,15 +302,28 @@ ul.megamenu li {
251
  .jm-megamenu .group {
252
  }
253
  .jm-megamenu .group-title {
254
- border-bottom: 1px solid #e5e5e5;
 
255
  margin: 0 0 10px 0;
256
- padding: 0 0 5px;
257
  overflow: hidden
258
  }
259
  .jm-megamenu .group-content{
260
- padding: 0 10px 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  }
262
- .jm-megamenu ul.level1 li.mega div.group-title a.mega {}
263
  .jm-megamenu .group-title .menu-desc {
264
  padding-left: 0 !important
265
  }
@@ -282,13 +346,30 @@ ul.megamenu li {
282
  min-height: 0;
283
  width: auto
284
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  .jm-megamenu .products-grid .product-name {
286
  margin: 0 0 10px;
287
  min-height: 100%;
288
  }
289
 
290
  .jm-megamenu .products-grid .product-name a{
291
- color: #dddddd;
 
292
  }
293
  .jm-megamenu .products-grid .product-name a:active,
294
  .jm-megamenu .products-grid .product-name a:focus,
@@ -297,22 +378,29 @@ ul.megamenu li {
297
  text-decoration: none;
298
  }
299
 
300
-
301
  .jm-megamenu .products-grid .product-image {
302
  float: left;
303
  margin: 9px 0 10px;
304
  }
305
- .jm-megamenu .products-grid .ratings{
306
-
 
307
  }
308
 
309
- .jm-megamenu .products-grid {
310
- margin: 0 !important;
311
- padding: 0 20px 0 0 !important;
 
 
312
  }
313
 
314
- .jm-megamenu .products-grid .price-box .price {
315
- color: #E26703;
 
 
 
 
 
316
  }
317
 
318
  /* Clearfix
26
  /* Styling ---*/
27
  .jm-megamenu ul.level0 {
28
  margin: 0;
29
+ padding: 0;
30
  }
31
 
32
  .jm-megamenu ul.level0 li.mega {
39
  }
40
 
41
  .jm-megamenu ul.level0 li.mega a.mega {
42
+ color: #fff;
43
  display: block;
44
+ float: left;
45
  font-size: 107%;
46
  font-style: normal;
47
+ line-height: 44px;
48
  font-weight: bold;
49
  min-height: 44px;
50
  padding: 0 20px 0 19px;
76
  .jm-megamenu ul.level0 li.mega .icon-image {
77
  float: left;
78
  height: auto;
79
+ margin: 13px 5px 0 0;
80
  max-width: 20px;
81
  vertical-align: middle;
82
  }
90
  font-size: 11px;
91
  font-weight: normal;
92
  line-height: 140%;
93
+ margin: 0;
94
  overflow: hidden;
95
  padding: 0;
96
+ position: relative;
97
+ top: -11px;
98
  text-overflow: ellipsis;
99
  white-space: nowrap;
100
  width: 100%;
119
 
120
  /* lv - 1 */
121
  .jm-megamenu ul.level1 li.mega a.mega {
122
+ border-bottom: 1px solid #e5e5e5;
123
  color: #333;
124
+ float: none;
125
+ display: block;
126
+ padding: 0 10px;
127
+ margin: 0 20px 0 0;
128
+ }
129
+
130
+ .jm-megamenu ul.level1 li.mega a.mega.haschilds{
131
+ background: url(../images/bg-haschild.png) no-repeat 97% 20px;
132
+ }
133
+
134
+ .jm-megamenu ul.level1 li.mega a.mega.haschilds:active,
135
+ .jm-megamenu ul.level1 li.mega a.mega.haschilds:focus,
136
+ .jm-megamenu ul.level1 li.mega a.mega.haschilds:hover{
137
+ background-position: 97% -33px;
138
  }
139
 
140
  .jm-megamenu li.mega .childcontent{
141
  display: block;
142
  height: auto;
 
143
  max-height: 0;
144
  overflow: hidden;
145
  position: absolute;
146
+ top: 60px;
147
  box-shadow: 0 0 3px #666;
148
  -box-shadow: 0 0 3px #666;
149
  -moz-box-shadow: 0 0 3px #666;
157
  -webkit-border-radius: 0 0 5px 5px;
158
  }
159
 
160
+ .jm-megamenu li.mega.mnuright .childcontent{
161
+ /*right: 0;*/
162
+ }
163
+
164
  .jm-megamenu li.haschild:hover > .childcontent{
165
  max-height: 1000px;
166
+ overflow: visible;
167
  -moz-transition: all 0.8s linear;
168
  -o-transition: all 0.8s linear;
169
  transition: all 0.8s linear;
170
  -webkit-transition: all 0.8s linear
171
  }
172
 
173
+ .jm-megamenu li.haschild:hover > .childcontent{
174
+ border: 1px solid #666\9;
175
+ border-top-color: #fff\9;
176
+ }
177
+
178
+ .jm-megamenu ul.level1 li.haschild .childcontent {
179
+ -moz-transition: all 0s linear;
180
+ -o-transition: all 0s linear;
181
+ transition: all 0s linear;
182
+ -webkit-transition: all 0s linear
183
+ }
184
+
185
  .jm-megamenu ul.level1 li.haschild:hover > .childcontent {
186
+ border-top-color: #666;
187
+ left: 150px;
188
+ -moz-transition: all 0s linear;
189
+ -o-transition: all 0s linear;
190
+ transition: all 0s linear;
191
+ -webkit-transition: all 0s linear
192
  }
193
 
194
  .jm-megamenu ul.level1 li.mega {
195
+ text-align: left;
196
+ width: 100%;
197
  }
198
 
199
  .jm-megamenu ul.level1 li.mega a {
201
  }
202
 
203
  .jm-megamenu ul.level1 .childcontent {
204
+ margin: 0 0 0 0;
205
+ top: 0px;
206
  }
207
 
208
  /*lv 2*/
209
  .jm-megamenu ul.level2 li.mega {
 
210
  padding: 3px 0;
211
  }
212
 
217
 
218
  .jm-megamenu ul.level2 li.mega a.mega {
219
  color: #333;
220
+ float: none;
221
  font-size: 100%;
222
  font-weight: normal;
223
+ display: block;
224
  min-height: 13px;
225
  padding: 0 10px;
226
  text-decoration: none;
227
+ margin: 0;
228
+ }
229
+
230
+ .jm-megamenu ul.level2 li.mega li li a.mega {
231
+ line-height: 28px;
232
  }
233
 
234
  .jm-megamenu ul.level2 li.mega.active a.mega,
236
  .jm-megamenu ul.level2 li.mega a.mega:focus,
237
  .jm-megamenu ul.level2 li.mega a.mega:hover {
238
  color: #E26703;
239
+ text-decoration: none;
240
  }
241
 
242
  /* Columns ---*/
243
  .jm-megamenu .megacol {
244
+ float: left;
245
+ margin: 0 20px 0 0;
246
+ }
247
+
248
+ .jm-megamenu .megacol.last {
249
+ margin: 0
250
  }
251
 
252
 
302
  .jm-megamenu .group {
303
  }
304
  .jm-megamenu .group-title {
305
+ color: #E26703;
306
+ font-size: 13px;
307
  margin: 0 0 10px 0;
308
+ padding: 0 0;
309
  overflow: hidden
310
  }
311
  .jm-megamenu .group-content{
312
+ float: left;
313
+ padding: 0 0 10px;
314
+ }
315
+ .jm-megamenu .group-content a.link-more {
316
+ text-decoration: none;
317
+ }
318
+ .jm-megamenu .group-content a.link-more:active,
319
+ .jm-megamenu .group-content a.link-more:focus,
320
+ .jm-megamenu .group-content a.link-more:hover {
321
+ text-decoration: underline;
322
+ }
323
+ .jm-megamenu ul.level1 li.mega div.group-title a.mega {
324
+ color: #E26703;
325
+ font-weight: bold;
326
  }
 
327
  .jm-megamenu .group-title .menu-desc {
328
  padding-left: 0 !important
329
  }
346
  min-height: 0;
347
  width: auto
348
  }
349
+
350
+ .jm-megamenu .products-grid {
351
+ background: none;
352
+ border-bottom: 0 none;
353
+ margin: 0 !important;
354
+ }
355
+
356
+ .jm-megamenu .products-grid li.item {
357
+ margin: 0 8px 0 0;
358
+ padding: 10px 15px 10px
359
+ }
360
+
361
+ .jm-megamenu .products-grid li.item.last {
362
+ margin: 0;
363
+ }
364
+
365
  .jm-megamenu .products-grid .product-name {
366
  margin: 0 0 10px;
367
  min-height: 100%;
368
  }
369
 
370
  .jm-megamenu .products-grid .product-name a{
371
+ color: #333;
372
+ text-decoration: none;
373
  }
374
  .jm-megamenu .products-grid .product-name a:active,
375
  .jm-megamenu .products-grid .product-name a:focus,
378
  text-decoration: none;
379
  }
380
 
 
381
  .jm-megamenu .products-grid .product-image {
382
  float: left;
383
  margin: 9px 0 10px;
384
  }
385
+
386
+ .jm-megamenu .products-grid .ratings {
387
+ margin: 0 0 10px;
388
  }
389
 
390
+ .jm-megamenu .products-grid .price{
391
+ color: #C76200;
392
+ font-size: 13px;
393
+ font-weight: bold;
394
+ margin: 5px 0;
395
  }
396
 
397
+ .jm-megamenu .group-content .buttons-set{
398
+ border: 0 none;
399
+ margin: 1em 0;
400
+ }
401
+
402
+ .jm-megamenu #childcontent15 .megacol{
403
+ margin: 0 !important;
404
  }
405
 
406
  /* Clearfix
skin/frontend/default/default/joomlart/jmmegamenu/images/Thumbs.db ADDED
Binary file
skin/frontend/default/default/joomlart/jmmegamenu/images/bg-haschild.png ADDED
Binary file