Voting starts in March for the Drupal Association Board election.
This modules adds the opportunity to define a text or computed field as a list of menu links per node. This menu then can be displayed as a block or with one of two additional formatters within the nodetype.
To get the menu links, nodemenu uses some separator to discern menu item, item depth, item link and item label.
view|View the Node edit|Edit Node |Lists *../list_1/%nid|List1 *../list_2/%nid|List2 **../list_2/%nid/full|List 2 - Full View
The separators can be configured in the block configure. That settings also affect the field's formatters (within the first field's nodemenu block setting).
Compatible fields are text (textfield(rows=1), textarea(rows>1), single or multiple values) and computed fields (single and multiple values).
computed field & formatter in node view
to be able to show computed fields with CCK Node Menu formatters (or other additional/custom formatters) in node view you have to modify computed_field.module like in the patch of http://drupal.org/node/207443
this is not relevant for block view
The block's and formatter output can be themed via
theme_nodemenu($items,$delta = 0,$nid=0,$nodetype='')(Block & Formatter: Custom Node Menu) and
theme_nodemenu_singleitem($items,$delta = 0,$nid=0,$nodetype='')(Formatter: Custom Node Menu - Single Item)
Views display is also supported for multiple and single values.
fetch node id
The Node ID is automatically fetched from URL-Arguments. Restrictions or explicit nid-fetch can be set in block visibility settings, for example:
to fetch the second argument as node id:
$nid = 2
to fetch the third argument as node id:
$nid = 5
- Maintenance status: Minimally maintained
- Development status: Maintenance fixes only
- Module categories: Content Construction Kit (CCK), Content Display
- Downloads: 2,327
- Last modified: November 27, 2014
- This project is not covered by the security advisory policy.
It may have publicly disclosed vulnerabilities. Use at your own risk!