When working toward a better solution for the top nav placement, in addition to slots, it became easier to generalize and use the term location in the API. Locations include the top plus all slots. Also, in making the top work in association with slots, it was eaiser to generalize for all locations, such that now you configure nav for a given location independently. That means also that you can have nav displays in all locations simultaneously (top plus the five available slots), and these can each be different. You can have a traditional nav-tabs up top, a tree in the left slot, and breadcrumbs in the belowcontent slot. Also, now that independent nav displays are possible, an include_content_types was added as the counterpart to the existing exclude_content_types. Using these in combination, you could exlcude images in a top and left slot tree display, but show only images in the right slot (for example, if you want to concentrate the display of images in a given slot, still keeping the main nav uncluttered with them).
Fixed location names in readme.
Added clarification about Kotti breadcrumbs and overriding.
In a successful effort to get existing tests to pass, made misc. fixes, with most significant being a move to explicit view names by location, as wrappers around the functions for items, tree, breadcrumbs, and menu type views. This involved removing the param parting in POST from __init__. Cleaned up some unneeded params as a result, and renamed a few. Added a function to aid label parsing
Added comment breaks, and reorganized code.
Added conditionals in templates calling render_view() for menu, to call a view named by location. Added todos for moving heavy function calls in recursive functions.
Replaced unneeded conditionals for location with view_name string construction.
Pep 8 formatting.
Added first all-locations test.
Fixed a typo bug, and another to correct root-handling code in lineage items, found in testing by j23d.
Fixed label split function to use proper slice method.
Remove label splitting function, to just do in code, and improved label parsing function.
Changed the location-getting methodology to find the location from the view name if available, or from request.path, or if neither of those, we can assume top location. This removes the need for having wrapper functions that only pass location. nav-recurse can always get location from request.path so is simpler. The others still have explitly named views for location, e.g. navigation-widget-tree-left, because the location is parsed from the view name in some cases.
Fixed view_name formatting for location in templates.
Added check for navigation-widget in request.path, to distinguish between any slot vs. top.
Added additional tests to get to 100% coverage. Significant changes include adding missing ver_list to the top view, removing i18n in breadcrumbs because of a testing problem (removal is consisten with other use -- i18n can be added across the board at some point), and some minor code rearrangments of conditinals to help with testing.
Updated readme for recent changes.
Added entries to TODOS.
Added several todos.
Added missed test files. Added nonav.ini to show what happens if no nav displays are configured. Works with no nav, but not sure why Kotti breadcrumbs do not appear.