Active
Project:
Active menus
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2010 at 22:47 UTC
Updated:
2 Apr 2010 at 06:00 UTC
Hi, I'm working with a drupal 5.x site, rockpeaks.com, and we'd love to use your module to display pages with large trees, such as for instance the mother-of-all-large-trees, at http://www.rockpeaks.com/shows/r/Rockpalast --
I noticed in the README.txt the following:
Requirements
------------------------------------------------------------------------------
This module is written for Drupal 5.0+ and requires the jstools.module to be
enabled.
We do have jstools 5.x already installed.
Can you provide any guidance on what might be required to use the module for drupal 5.x ?
Thank you,
Peter
Comments
Comment #1
pedrochristopher commentedFollowup - jstools 5.x already includes actimenu http://drupal.org/node/57285/release -- I'm still stumbling, however. I'd like to see a full working example. In particular, I want to see where exactly the id="" goes. Is this in the
<ul>element? What should be the html structure so that the javascript hooks in properly?For instance, should it be:
Is that enough (then of course add the menu and handlers)?
Thanks,
Peter
Comment #2
pedrochristopher commentedComment #3
nedjoHave a look at the inc files in /modules for sample implementations of hook_activemenu, which returns a selector and the callback that AJAX calls should be passed to. Yes, menus can be identified by ID. Menu items must have the 'expanded' or 'collapsed' class, e.g.,
<li class="collapsed">item</li>.