Active
Project:
DHTML Menu
Version:
7.x-1.x-dev
Component:
User Interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 09:32 UTC
Updated:
25 Aug 2013 at 17:07 UTC
I have installed DHTML menu on several others sites and it worked immediately. I cannot get it to work at all on this site.
I have tried to look for conflicts with other modules. I am using menu_attributes and disabled it just to see if it would work, but nothing. I tried uninstalling DHTML menu and installing again. I have tried changing all the settings options. Nothing.
Comments
Comment #1
finedesign commentedI turned off javascript caching and see that it is correctly calling the .js file:
<script src="mywebsite/sites/all/modules/dhtml_menu/dhtml_menu.js?mj7mv3" type="text/javascript">Also, in the body I don't see any classes attached to the menu that refer to "dhtml" or "dhtml_menu". So it makes me think the module is just not activating that menu. I have ensured that this menu is selected in
/admin/config/user-interface/dhtml_menu
under "Disabling DHTML" and the filter type is set to "Enable DHTML..."
I also have jQuery menu working, so I know jQuery is working fine.
Comment #2
maxilein commentedThis may or may not relate to your problem:
I use a customized version of the dhtml menu (https://drupal.org/node/1572340) and it does make a difference from where I call flush caches:
When I flush the cash from within an administrative page -> it does not work / or gets set to a non working state.
When I flush the cash from a page which is visible to a normal user (e.g. ) then it works afterwards.
Comment #3
finedesign commentedThanks Maxilein. Sadly I cannot even get the menu functioning at all.
Comment #4
maxilein commentedAs far ar I remember it is not easy to get it to work. I think a lot depended on the options of its' behavior. Expand on ... I tested these and one or the other just didn't work.
Comment #5
christopher james francis rodgers commentedSolution: "Clear all caches" .. ?
I use DHTML Menu on all my sites.
First of all, I use only the "Dev" version (7.x-1.x-dev 2011-Nov-10) [The year 2011]
and NOT the "Beta" version (7.x-1.0-beta1 2010-Nov-09 ) [The year 2010].
I have found that any-time, and every-time, I run the updates script
[d7-root]/update.php
as for example, after updating Drupal to a newer version,
the DHTML menus will not expand unless I clear the caches on page
"Configuration" > "Development: Performance"
and click the button "Clear all caches".
Note:
You should Always run the Update script after updating
to a newer version of Drupal 7, as for example,
from D7.21 to D7.22.
By the way:
It is NOT necessary for me to disable the
- Aggregate and compress CSS files.
- Aggregate JavaScript files.
for "Clear all caches" to get my DHTML Menus working again.
Hope that helps.
- chris
Comment #6
christopher james francis rodgers commentedPS: These are the settings I use on every site:
===
'Static navigation':
- "No Collapsing" (default).
'Other effects':
- 'When a menu opens': "Keep other menus open".
- 'When a menu closes': "Close all its sub-items, too".
- 'When a new page is loaded': 'Expand only the currently active path' (default).
===
Comment #7
finedesign commentedThank you Chris. Unfortunately I had to find another solution, though I did try your suggestions.
Comment #8
gitesh.koli commentedI don't think I am on D 7.20
But I had a similar problem where I had to keep clear caches.
And also could not see any dhtml classes on my page.
I created a ticket and the patch is attached on the ticket
http://drupal.org/node/1985486
Comment #9
dmegatool commentedBeta didn't work for me on 7.23. I unistalled and reinstalled the dev version and it worked out of the box.
Comment #10
janis_lv commentedsame for me, dev works.
Comment #11
christopher james francis rodgers commentedUpdate: Works with D7.23.
DHTML Menu
(7.x-1.x-dev 2011-Nov-10)
[The 'dev' version only; DO NOT USE Beta]
But you must still click the button "Clear all caches"
every-time after update.php runs
whether manually, or automatically,
following a site update,
or some modules updates.
- Navigate to: "Configuration" > "Development: Performance" >
- Button: "Clear all caches"
===
Please, would someone kindly take command
of this module.
I am already crying to think
DHTML Menu might not make it to d8.
Thanking you in advance
for your attention, time, and help.
###