Support "tree-like strugture" for menu entries

mdlueck - July 21, 2007 - 12:51
Project:Directory
Version:5.x-2.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Directory supports showing only the top level entries on the menu, and can be adjusted to put its menu entries in its own block.

Req: Adjust Directory to show children on the menu in an expanding / collapsing tree-like structure.

Attached is what taxonomy_menu does, and that is acceptable.

More info is at: http://drupal.org/node/148097

AttachmentSize
DirectoryBlockIdea_0.png3.27 KB

#1

mdlueck - July 21, 2007 - 19:42
Status:active» needs work

I managed to come up with code that is starting to do the desired behavior. Not perfect yet.

I would like the main column to not show the entire directory at first, rather reflect the menu and how much of the menu is expanded.

There also seems to be a need to adjust the link URLs as clicking a choice on the menu / on the main directory... they have different URLs and display differently... though both are accurate.

"code needs work" like I changed the status to.

AttachmentSize
treemenu-directory.module.diff 1.59 KB

#2

beginner - July 26, 2007 - 05:52
Status:needs work» active

This is not a path.
http://drupal.org/patch/create

 
 

Drupal is a registered trademark of Dries Buytaert.