menu

The navigation menu

The menu can be either alphabetical or ordered manually. Select in Setup. Either way the home page is always first the contact page (if used) is last.

The menu text is (and must be) exactly the same as the page filenames listed under Existing pages. When the menu is displayed the text is automatically capitalised and hyphens are replaced with a space.

'Get the menu' and 'Save the menu'

The menu can be edited manually to change the order or to add/remove menu items but it will display alphabetically if the alphabetical option is selected. Otherwise it will display in the order listed by 'Get the menu' in admin.

Menu 'anchor' text

The navigation menu can be edited so the text displayed is whatever you want. In the 'Pages' section of Admin click 'Get the menu' and add the text enclosed in square brackets immediately after the page title text, as in the following example (screenshot):

Then save the menu. In the example above the menu text for the page titled 'articles' will be displayed as 'Menu Text' in the navigation menu. You can choose the menu text (known as 'anchor text') for all the pages in the navigation menu.

The page names in the menu are created automatically when a page is created or edited and must match the page title (URL) exactly for the navigation menu to work. If a page name is preceded by a # hash symbol the page will not appear in the navigation menu (and vice versa). The # hash symbol can added or removed manually with 'Get the menu' and 'Save the menu'.

If you accidentally change a page name in the menu you can restore it by manually deleting it from the menu file ('Get the menu' and 'Save the menu') then updating the page with a % percent symbol in the banner text.

For info: the menu file is /inc/inmenu.txt. The file is not in the download but is generated the first time a new page is created.

Downloads since Sept 2011: 18,224