[Product-Developers] Re: Using a folder default-page without hiding it in the nav tree?

Martin Aspeli optilude at gmx.net
Tue May 20 20:04:41 UTC 2008


Andreas Jung wrote:
> Hi,
> 
> I brought this issue up some time ago but the usability of default pages 
> for folders is still broken in Plone 3.1. Is there any way to protect the 
> disappearance of the default page from the navigation? Neither by using a 
> redirection python script nor by adding something like a link object 
> pointing to the default page?

You could customise the navtree query builder or strategy (I forget 
whether it's done in the catalog query or in the filter applied after) 
in such a way that it didn't omit things where is_default_page are True.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book





More information about the Product-Developers mailing list