January 10th, 2013AWM: The menu “Visible When” feature (Build #902)
Through the Visible When feature you can specify the menu to show or not, based on rules that you set.
This is useful when you want your menu to appear (or not appear) in special cases.
You have 2 separate menu projects, one in English language (menu-en.js) and one in German language (menu-de.js), and your website is based on a CMS through which you link both menus to all pages.
You want the English menu to show on the English pages of the website (eg: http://www.mysite/en/page1.html) while the German one on the respective German pages (eg: http://www.mysite/de/page1.html).
This is how you can do this:
On the English menu project (menu-en.js) you set the following condition:
On the German menu project (menu-de.js) you set the following condition:
In that way only one of the two linked menus appear on the web page, depending on the page's language implied by the URL.
Note that you can also use regular expressions in the matching string.
Likno Software - www.likno.com