[support] print menu tree

John Callahan john.callahan at UDel.Edu
Tue Mar 10 19:36:51 UTC 2009


Well, menu_tree did the trick this time. Thanks.  Can't get much easier 
than that. That was one of the methods I tried yesterday.  Fresh eyes 
and a new day always seem to help.   :-) 

- John



William Smith wrote:
> Did you already try menu_load 
> (http://api.drupal.org/api/function/menu_load/6) and menu_tree 
> (http://api.drupal.org/api/function/menu_tree/6)?
>
> On Tue, Mar 10, 2009 at 1:49 PM, John Callahan <john.callahan at udel.edu 
> <mailto:john.callahan at udel.edu>> wrote:
>
>     Does anyone know of a way to directly print the menu tree of a custom
>     menu?  I thought there would be a simple function to accomplish
>     this but
>     for some reason I can't seem to get it.  Searching the web reveals
>     several other people asking the same question, or answers to do
>     something similar (like printing $primary_links or just the first
>     level
>     links of a custom menu.)
>
>     Any thoughts?  This should be easy, right?
>
>     - John
>
>     **************************************************
>     John Callahan
>     Geospatial Application Developer
>     Delaware Geological Survey, University of Delaware
>     227 Academy St, Newark DE 19716-7501
>     Tel: (302) 831-3584
>     Email: john.callahan at udel.edu <mailto:john.callahan at udel.edu>
>     http://www.dgs.udel.edu
>     **************************************************
>
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20090310/85da4ad6/attachment.htm 


More information about the support mailing list