class "container" was missing, so a bunch of CSS wasn't being applied.
The layout of the default docsviewer checkout now looks more like the
one on doc.silverstripe.org.
In testGetModulePagesShort() and testGetEntityPages() the pages in the
array are (getEntityPages() doesn't include index nor _images):
0 -> Sort
1 -> Submenu
2 -> Test
The advanced searchbox only really functions properly for multiple
entities if they all have similar versions. If not, it will let you
search on entity-version combinations that might not even exist, which
can get confusing..
In such cases optionally disabling it could be a solution, waiting for
a better solution (possibly
On the homepage there are no searchedEntities nor searchedVersions
defined, so the searchForm creates empty hiddenfields. PerformSeach
creates subqueries for thes empty values resulting in the return of an
'Empty' query object.
Solution: do not create these fields when there are no entities/versions
Automatic registration sets the version to '' (empty). This breaks the
search as Lucene Search will return an Empty query object if a subquery
has an empty key.
Fix: register the modules as 'current' instead of ''. Setting the
version title to 'current' in DocumentViewer->getVersions() is now no
longer necessary.
Error: [Warning] array_combine() [function.array-combine]: Both
parameters should have at least 1 element
HandleRequest for submitted forms returns before the automatic
registration of modules is performed, so no entities can be found.
Fixed by moving DocumentationService::load_automatic_registration();
to the top of the function
Default setting: separate submenu, no recursion.
Setting recursion fetches all children, to allow for JavaScript-powered
submenus (script not included). If recursion is enabled, separate menus
are disabled.
The table of contents is removed from the sidebar and relocated
underneath breadcrumbs and page title (if there is one). It can be
toggled open and closed.