Closed philgooch closed 11 years ago
Is this just because assets/menu/main.xml has a default item for index.html, and you haven't added an entry for test01-01.html? The menu system doesn't perform any magic (or at least it oughtn't), and won't automatically link to items.
Is this still a problem? If not, I'll close the issue.
Happy to have this closed if this was my misunderstanding that <item> inside <menu> would create a sub-entry menu item.
After proper investigation, the issue is that the base template (assets/templates/base.xml) specifies that the normalised menu XML should be transformed in the "main-navigation" mode. This mode ensures that subitems are not rendered.
You can change that template, or override the block in a sub-template, to not use that mode and get whatever result you wish.
The menu system needs to be overhauled as per #11, which will make this all less opaque.
For example
<menu href="index.html" label="Edition" root="edition"> <item href="test01-01.html" label="Test"/> </menu>
with index.xml and test01-01.xml in xm/tei/edition, index.html is displayed but there is no local navigation to test01-01.hml