Categories:
Author:
Current version:
0.11
About It:
Get it:
Rate it:
Flag it:
adi_menu
Once installed and activated, you’ll get:
- a new tab under Presentation, to set up the hierarchy
- two new tags:
<txp:adi_menu />to output the section menu markup<txp:adi_menu_breadcrumb />to output a breadcrumb trail
See the help supplied with the plugin, or have a look online. The adi_menu admin tab also has tooltips (hover over anything that has a dashed underline).
Aims:
- ability to create a section hierarchy
- a CSS class assigned to sections that had children
- the active section to always be rendered as a link
- output lean markup
- the ability to clone a parent section as a subsection
- section sorting
- no conflict with other plugins
Basic menu markup:
By assigning parents to sections in the adi_menu admin tab, a section hierarchy can be created.
For example:
- A
- B
- B1
- B2
- C
- C1
- D
will be rendered as:
<ul id="mainmenu" class="section_list">
<li>Home</li>
<li>A</li>
<li class="menuparent">B
<ul>
<li>B1</li>
<li>B2</li>
</ul>
</li>
<li class="menuparent">C
<ul>
<li>C1</li>
</ul>
</li>
<li>D</li>
</ul>
Note that:
- by default adi_menu will output a link to the ‘default’ section, which again by default is named “Home’ (this behaviour can be modified using
adi_menutag attributes) - for clarity, I’ve omitted the link markup.
Other features include:
- ability to include articles within the menu
- separate sub-menus
- speaking blocks
Keywords/tags:
Initially released:
15 jul 2008Posted here:
15 Jul 2008Article modified:
21 Jun 2009









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.