pathmenu

Categories

Component ID

124665

Component name

pathmenu

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

807

Component created

Component changed

Component body

The pathmenu module allows you to define rules thus defining more precisely the way Drupal should organize the menu and breadcrumb.

Here are some rules samples which may give you a better view of the module.

// If the node is associated with term whose tid is 30, attach it to the menu whose mid is 23
term(30)->parentmenu(23)

// Show a message if an admin user is seeing a story type node
userrole(admin user)+nodetype(story)->message(You are seeing a story node type)

// If URI starts with news/ and the node type is story, show a message and attach the node to the menu whose mid is 24
urlstart(news/)+nodetype(story)->message(You are seeing a news)+parentmenu(24)