Jump to content

IQITMegamenu module problem


doris166

Recommended Posts

Hello!

 

I'm currenty working for a new shop for a client. I just messed up the header, I think I misplaced the IQIT Megamenu module (I'm working on 'Warehouse'). My logo is now showing 3 times and the login/cart module 2 times.

Does anybody know on which hook should it be placed to work properly?

Link to comment
Share on other sites

Directly from iqitmegamenu.php:

            $this->registerHook('header') &&

            $this->registerHook('backOfficeHeader') &&

            $this->registerHook('maxHeader') &&

            $this->registerHook('iqitMegaMenu') &&

            $this->registerHook('displayLeftColumn') &&

            $this->registerHook('actionObjectCategoryUpdateAfter') &&

            $this->registerHook('actionObjectCategoryDeleteAfter') &&

            $this->registerHook('actionObjectCategoryAddAfter') &&

            $this->registerHook('actionObjectCmsUpdateAfter') &&

            $this->registerHook('actionObjectCmsDeleteAfter') &&

            $this->registerHook('actionObjectCmsAddAfter') &&

            $this->registerHook('actionObjectSupplierUpdateAfter') &&

            $this->registerHook('actionObjectSupplierDeleteAfter') &&

            $this->registerHook('actionObjectSupplierAddAfter') &&

            $this->registerHook('actionObjectManufacturerUpdateAfter') &&

            $this->registerHook('actionObjectManufacturerDeleteAfter') &&

            $this->registerHook('actionObjectManufacturerAddAfter') &&

            $this->registerHook('actionObjectProductUpdateAfter') &&

            $this->registerHook('actionObjectProductDeleteAfter') &&

            $this->registerHook('actionObjectProductAddAfter') &&

            $this->registerHook('categoryUpdate') &&

            $this->registerHook('actionShopDataDuplication') &&

Link to comment
Share on other sites

Hello!

 

I'm currenty working for a new shop for a client. I just messed up the header, I think I misplaced the IQIT Megamenu module (I'm working on 'Warehouse'). My logo is now showing 3 times and the login/cart module 2 times.

Does anybody know on which hook should it be placed to work properly?

Have you tried to restore the original header.tpl file?

Link to comment
Share on other sites

  • 2 years later...

[Prestashop 1.6.1.12]
I use the navigation menu "IQTMegamenu", and in the mobile version I have a small problem, When the page is scrolled with the finger, and the finger touches the menu, the navigation menu opens. But I did not do the Tap. You do the tap and open the side menu. Any solution? Thank you.

the module's back office activated function is:
Mobile menu type> Push Menu
 

The problem may be resolved by editing the file:
views> js> mlpushmenu   ???

Here is the original code:

 


/ **
* 2007-2016 IQIT-COMMERCE.COM
*
* NOTICE OF LICENSE
*
* @author IQIT-COMMERCE.COM <[email protected]>
* @copyright 2007-2016 IQIT-COMMERCE.COM
* @license GNU General Public License version 2
*
* You can not resell or redistribute this software.
*
* /

$ (Document) .ready (function () {


$ ("# iqitmegamenu-accordion> li .responsiveInykator"). on ("click", function (event) {

if (false == $ (this) .parent (). next (). is (': visible')) {

$ ('# iqitmegamenu-accordion> ul'). removeClass ('cbpm-ul-shown');
}
if ($ (this) .text () == "+")
$ (This) .text ( "-");
else
$ (This) .text ( "+");
$ (This) .parent (). Children ( 'ul'). ToggleClass ( 'CBPM-ul-Showed');
});


var menuLeft = document.getElementById ('iqitmegamenu-accordion'),
showLeftPush = document.getElementById ('iqitmegamenu-shower'),
menuoverlay = document.getElementById ('cbp-spmenu-overlay'),
body = document.body;

classie.addClass (body, 'cbp-spmenu-body');

$ ('# iqitmegamenu-shower'). on ("touchstart click", function (e) {
e.stopPropagation (); e.preventDefault ();
classie.toggle (showLeftPush, 'active');
classie.toggle (body, 'cbp-spmenu-push-toright');
classie.toggle (menuLeft, 'cbp-spmenu-open');
classie.toggle (menuoverlay, 'cbp-spmenu-overlay-show');
});

$ ('# cbp-spmenu-overlay'). on ("touchstart click", function (e) {
e.stopPropagation (); e.preventDefault ();
classie.toggle (this, 'active');
classie.toggle (body, 'cbp-spmenu-push-toright');
classie.toggle (menuLeft, 'cbp-spmenu-open');
classie.toggle (this, 'cbp-spmenu-overlay-show');
});

});

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...