Discussion and considerations
The biggest issue associated with menus is the matter of deciding what counts as a page. With a CMS there is enormous variability in what may eventually be seen in the browser. In that sense, we have to assume that one site contains arbitrarily many pages. But often, we want to see those pages as simply variants on a particular page, with different data yet the same structure. In terms of the mechanics of a CMS one of the key factors that decide the layout of a page is what modules are displayed on it. Another is the template used to create the page.
A further significant issue is active menu highlighting. Although it could be regarded as cosmetic, many sites use visual cues to show which menu item provided the route to the current page. Many variants are possible, including showing the active menu item in bolder text or against a different colored background. But in this chapter we are concentrating on the relatively universal mechanisms that lie behind the...