Welcome, Guest
Username: Password: Remember me

TOPIC: Don't Expand Main Menu - Sub Menus

Don't Expand Main Menu - Sub Menus 2 years 9 months ago #6581

I download and install this template.

demo.omegatheme.com/joomla25/ot_awesome/

The top menu main menu menus:

Features
Layouts
K2

They have submenus.

Neither the Demo or its Web Template I installed the drop works.

Deputy Screen Capture.

Does not work on:

Firefox
Explorer
Crome
Ipad (safari)
Mac (safari / chrome) ...

That solution there?
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 9 months ago #6595

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Can you show me your site url ? did you install demo package ?

Both of menu: Features and Layout are separate menu, so it doesn't has link when you click on

Regards
Last Edit: 2 years 9 months ago by trungdt.
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7165

  • mila
  • mila's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
I confirm - drop down menu does not work (in the main menu at the top of the page):

demo.omegatheme.com/joomla25/ot_awesome/

Drop-down menu starts to work after selecting the "About" or "Blog" or "Product" or "Portfolios". Unfortunately, after selecting the "Home" or "Features" or "Layouts" or "K2" drop-down menu stops working.

What needs to be improved in the code to make the menu work correctly ?
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7169

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

It's conflicting with mootools, you can edit file: modules/mod_otminitabs/mod_otminitabs.php

find this code below and comment/delete this line:
JHTML::_('behavior.framework', true);

Regards
Last Edit: 2 years 6 months ago by trungdt.
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7174

  • mila
  • mila's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hello,


I asked about OT Awesome template (not the OT Minitabs module). The problem is in the template. After installing the same template (without additives) will still be a problem with the drop-down menu.

What needs to be improved in the code (in template) to make the menu work correctly ?

Regards...
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7178

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Did you select "Yes" for "Show Sub-menu Items" in your menu module parameter ?

I've just installed this template and module dropdown is working fine.

Regards
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7184

  • mila
  • mila's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hello,

Indeed, after installing a "clean" template top menu developing normally. However, after installing some additives based the javascript there is a problem (eg after installing "OT LightBox Login" or "YJ Pop Login", etc..)
The error is in the template.

What needs to be improved in the code (in template) to make the menu work properly with additives based on javacsript?

Regards.
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7217

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Cause Mootool is core of javascript, so if your module loads it again (twice) then it will be conflicted. If you can send me your ftp so i can help you easier.

Regards
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7242

  • mila
  • mila's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hello,

In order to verify the problem I installed additionally the following templates:

OT Artwork
Ot Jewelery
OT Photographer
OT Rubbyshop
OT Swatch

and Appendix - Module "OT LightBox Login".

For all of the above templates, there was no problem with the drop-down top menu (there was no conflict of OT LightBox Login). Each template to work properly.

Therefore, the error is in the template OT Awesome.

Please install "clean" template OT Awesome along with the addition of OT LightBox Login. Then please create a few menu items (including one drop-down menu item). You will find out that the error is in the template OT Awesome.

Waiting for a solution to the problem.

Regards
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7244

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

As my posted reason cause it's conflicting mootools. All templete are loads mootools script and Lightbox login module load mootools script again, so you can disable it by edit file:

modules/mod_ot_lightboxlogin/tmpl/default.php and remove / comment this code below:
JHTML::_('behavior.mootools');

Regards
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7248

  • mila
  • mila's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hello,

The error is in the template OT Awesome.
I wrote you that the other templates (eg. Artwork OT, OT jewelery, etc.) are working properly without any modifications in the modules. Only template OT Awesome does not want to work correctly.

On my website I used many additives based on javascript.
I'm not going to improve each additive (modules, plugins, etc.) separately when the problem is evidently in the template.

Please correct the error in the template OT Awesome.

Waiting for your reply.
Regards
The administrator has disabled public write access.

Re: Don't Expand Main Menu - Sub Menus 2 years 6 months ago #7262

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You can edit this file(templates\ot_awesome\lib\layout\tpl.function.php) and find this code:
	JHTML::_('behavior.framework');

Then change to
	JHTML::_('behavior.framework', true);

Regards
The administrator has disabled public write access.
Time to create page: 0.188 seconds