Did I miss something, or does this module win the "least-documented module" award for drupal? What a waste of bandwidth and time!

Comments

vm’s picture

not sure more needs to be said then what is in the modules readme.txt file?

This module provides a nested unordered list representation of a complete
Drupal menu structure. menutree/1 provides a tree representation of menu 1,
menutree/2 provides a tree representation of menu 2, etc. If no ID is
specified, the primary_links menu is used. That allows it to be used as a
simple menu-based sitemap, give or take a path alias.

Crell’s picture

Status: Active » Fixed

What Very said.

Seriously, please don't waste my time or yours with pointless posts like this.

telcontar’s picture

It does what it says it does. I'm quite happy with it.

I used it to create a sitemap by creating a "page" of type "PHP" and calling menutree_display() twice with the correct ids. It's good enough for me.

Anonymous’s picture

Status: Fixed » Closed (fixed)
asak’s picture

Ok.. sorry for this stupud question but:
How do i call this function??

Tried PHP code in a block but i'm getting no visible results:

<?
print menutree_display(2)
?>