Joachim Schmitz wrote:

where can I find documentation about the different display modes of the navigation portlet. I get totally confused when editing the navigation-portlet, since it displays a different form depending on the selected display mode. For example, if I select "Vertical breadcrumb menu" I can input "relative depth" an "end depth", and "Display hidden folders", but not "show documents", when I look at the pt widget_portlet_navigation in
<tal:block condition="python: display == 'vertical_breadcrumbs_menu'">
folderitems is defined as
python: context.getFolderItems(context_obj=context, show_docs=show_docs, display_hidden_folders=display_hidden_folders);

so "show_docs" is used there.

I also don't find any reference to the tree_root in the pt.


Hi!

very few modes in the navigation portlet can display documents ( since the navigation information is obtained from CPSNavigation which does not index leaf nodes)

concerning "Vertical breadcrumb menu", it is a mix of breadcrumbs and "folder contents", so I guess the option of showing documents in that mode is by default. Otherwise it's a bug ..

/JM


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to