One of the interesting things about the upcoming Plone 3.3 release is
it's
consistent implementation of INavigationRoot
In short, this means it's easy to create a design where the portal tabs
(the "global sections") do not need to be toplevel folders in your site.
I need this for a design I'm currently implementing, where the horizontal
"main" navigation is actually the second-level navigation.
Now, instead of rewriting the complete global_sections viewlet
PLUS the webcouturier.dropdownmenu integration... all I need to
do is mark an intended "toplevel section" as such by applying
the INavigationRoot marker interface.
There's a content type
NavigationRootFolder
that does just that. But it's not properly eggified.
It's easy to write your own custom contenttype that subclasses
ATContentTypes.content.folder.ATFolder and apply the INavigationRoot
marker interface to it. But still, you need to do all the plumbing.
Luckily, we've got p4a.subtyper. That's a nifty little component that's
been designed precisely to apply marker interfaces on content objects,
run-time. This allows us to be lazy, which is A Good Thing®.
What we're going to do, is set up a marker interface that allows us to turn
vanilla "Folders" into "Sections" that behave as-if they're subsites.