I swear I can't find the simplest things. I've been searching for about 30 minutes and all I can find regarding the menu manager are a bunch of premade systems.
Premade systems are cool and all but I actually want to know what the heck its doing as opposed to copy and pasting something. The language is simple enough but the details aren't as obvious. What I mean are things like $node->current and $node->haschildren, things like that. Where is any of that documented?
Menu Manager Doc
Re: Menu Manager Doc
if you goto Modules you will see the Help (word) on the right clik that and it should tell you all of the syntax meanings, i hope...
Now you can easily modify the template to your needs for this site. Put in classes, id's and other tags so that the formatting is exactly what you want. Now, you can insert it into your site with {cms_module module='menumanager' template='Test Template'}. Note that the .tpl extension must be included if a file template is used.
The parameters for the $node object used in the template are as follows:
* $node->id -- Content ID
* $node->url -- URL of the Content
* $node->accesskey -- Access Key, if defined
* $node->tabindex -- Tab Index, if defined
* $node->titleattribute -- Title Attribute (title), if defined
* $node->hierarchy -- Hierarchy position, (e.g. 1.3.3)
* $node->depth -- Depth (level) of this node in the current menu
* $node->prevdepth -- Depth (level) of the node that was right before this one
* $node->haschildren -- Returns true if this node has child nodes to be displayed
* $node->menutext -- Menu Text
* $node->target -- Target for the link. Will be empty if content doesn't set it.
* $node->index -- Count of this node in the whole menu
* $node->parent -- True if this node is a parent of the currently selected page
Now you can easily modify the template to your needs for this site. Put in classes, id's and other tags so that the formatting is exactly what you want. Now, you can insert it into your site with {cms_module module='menumanager' template='Test Template'}. Note that the .tpl extension must be included if a file template is used.
The parameters for the $node object used in the template are as follows:
* $node->id -- Content ID
* $node->url -- URL of the Content
* $node->accesskey -- Access Key, if defined
* $node->tabindex -- Tab Index, if defined
* $node->titleattribute -- Title Attribute (title), if defined
* $node->hierarchy -- Hierarchy position, (e.g. 1.3.3)
* $node->depth -- Depth (level) of this node in the current menu
* $node->prevdepth -- Depth (level) of the node that was right before this one
* $node->haschildren -- Returns true if this node has child nodes to be displayed
* $node->menutext -- Menu Text
* $node->target -- Target for the link. Will be empty if content doesn't set it.
* $node->index -- Count of this node in the whole menu
* $node->parent -- True if this node is a parent of the currently selected page