Andreas Jung wrote:
--On 17. Dezember 2007 17:37:45 +0100 Wichert Akkerman <[EMAIL PROTECTED]>
wrote:
Previously Andreas Jung wrote:
during a workshop with a potential customer we came across the question
if it would be possible to make a custom folder the root for the
navigation. This means: the horizontal tabs and the navigation should be
displayed as the current folder would be the Plone root. What would be
the Plone 3 way to approach this problem?
Set the INavigationRoot marker interface on said folder.
Excellent.
I've recently done this, and it works pretty well. You may need to tweak
the sitemap action to use
${plone_portal_state/navigation_root_url}/sitemap (or whatever that
variable's called) as a root. Search is also not necessarily restricted
unless you inject a path parameter or similar. All in all, though, it
works pretty well.
In our setup, we have the standard site root as the real root of the
site, and then a subfolder that is the root of a subsite.
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers