Contextual menus :
This block use data from the HTML module to display HTML data relative to the page that the user is viewing. When an instance of that block is visible it will get the current path in the HTML module and will searcg
from that path to the root an entry with the special name _menu
In the case of the user is not using the HTML module it will use the special entry /_menu.
In all case if no content is found, it will display the content in the JMX attribute DefaultContent which is "No menu".
For example, if the user points on a file like /a/b/c/index, it will first look at /a/b/c/_menu, otherwise it will use /_menu (for instance if the user is using the forum bb module).
The JMX attributes available are :
MenuName : by default this value is _menu. This value is appended to the current path of the user.
DefaultContent : this value contains HTML that is used whenever no menu is found in the HTML module.
Comments