How do I modify menu links depending on context? I'm trying to create a menu for a department &amp; group-based company such as:


Presentation (/&lt;department&gt;/&lt;group&gt;/presentation)
Projects (/&lt;department&gt;/&lt;group&gt;/projects)
Personnel (/&lt;department&gt;/&lt;group&gt;/personnel)


Instead of having one static menu per &lt;department&gt;/&lt;group&gt;, what should be a proper approach to create just one dynamic menu which automagically updates its links to &lt;department&gt;/&lt;group&gt;?
So finally Menu Token is the way to go. Once installed, created my menu entries and set them up using tokens this way:



Please notice the relative link token together with the one-level-up part before last part of path:  /[current-page:url:relative]/../presentation. This preserves the relative static path before the last dynamic part as in this case I wanted to make the dynamic menu relative to each &lt;department&gt;/&lt;group&gt; path. Also remember to check Use tokens and select Method for Node: Context for Node.

Hope it helps.