? override_portal_tabs.patch
? simpler_mgmt_navtree.patch
Index: skins/rfa/portlet_navigation.pt
===================================================================
RCS file: skins/rfa/portlet_navigation.pt
diff -N skins/rfa/portlet_navigation.pt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ skins/rfa/portlet_navigation.pt	5 Mar 2008 15:24:10 -0000
@@ -0,0 +1,92 @@
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"
+      xmlns:metal="http://xml.zope.org/namespaces/metal"
+      i18n:domain="plone">
+<body>
+<div metal:define-macro="portlet"
+       i18n:domain="plone"
+       tal:omit-tag=""
+       tal:define="view context/@@navigation_view;
+                   root view/navigationRoot;">
+
+<!-- 
+
+  RFA Overrides from CMFPlone stock skin for speed: don't call
+  "display" as a condition to show the navtree, show it
+  unconditionally.  Always show "Navigation" as the title (ignore the
+  "name" property in the navtree_properties (don't call view/title)).
+  (CM 3/5/2008), override the actual body of the navtree with a simpler
+  query specific to RFA.
+
+-->
+
+<dl class="portlet" id="portlet-navigation-tree">
+    <dt class="portletHeader">
+        <span class="portletTopLeft"></span>
+        <a href="#" 
+           class="tile"
+           tal:attributes="href string:${root/absolute_url}/sitemap" 
+           i18n:translate="box_navigation">Navigation</a>
+        <span class="portletTopRight"></span>
+    </dt>
+
+    <dd class="portletItem lastItem">
+        <ul class="portletNavigationTree navTreeLevel0">
+
+            <li class="navTreeItem"
+                tal:define="root_title root/Title|nothing;
+                            can_see_root python:view.includeTop() and (root == portal or root_title is not None)"
+                tal:condition="can_see_root">
+                <tal:block define="typeClass string:visualIcon contenttype-${view/rootTypeName};
+                                   selectedClass python:test(path('view/isPortalOrDefaultChild'), 'navTreeCurrentItem', '');
+                                  ">
+                   <div class="visualIcon contenttype-plone-site" tal:attributes="class typeClass">
+                       <a class="visualIconPadding"
+                          tal:attributes="href root/absolute_url;
+                                          title portal/Description;
+                                          class string:$selectedClass visualIconPadding;">
+                       <span tal:omit-tag=""
+                             tal:condition="python:root == portal"
+                             i18n:translate="tabs_home">Home</span>
+                       <span tal:condition="python:root != portal"
+                             tal:replace="root_title">Home</span>
+                       </a>
+                   </div>
+                </tal:block>
+            </li>
+            <tal:navitems define="
+                 level python:0;
+                 results context/rfa_navtree_results;
+                 normalizeString nocall:context/plone_utils/normalizeString;
+                 ">
+                
+              <tal:navitem repeat="item results">
+                  
+                <li class="navTreeItem visualNoMarker">
+                  
+                  <tal:level define="
+                         item_type_class python: 'visualIcon contenttype-' + normalizeString(item.portal_type);
+                         item_wf_state_class python: 'state-' + normalizeString(item.review_state);">
+                    
+                    <div tal:attributes="class item_type_class"
+                         tal:define="itemClass string:$item_wf_state_class visualIconPadding">
+                      
+                      <a tal:attributes="href item/getURL;
+                                         title item/Description;
+                                         class string:$itemClass"
+                         tal:content="item/Title">
+                        Selected Item Title 
+                      </a>
+                    </div>
+                  </tal:level>
+                </li>
+              </tal:navitem>
+            </tal:navitems>
+        </ul>
+        <span class="portletBottomLeft"></span>
+        <span class="portletBottomRight"></span>
+    </dd>
+</dl>
+
+</div>
+</body>
+</html>
Index: skins/rfa/rfa_navtree_results.py
===================================================================
RCS file: skins/rfa/rfa_navtree_results.py
diff -N skins/rfa/rfa_navtree_results.py
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ skins/rfa/rfa_navtree_results.py	5 Mar 2008 15:24:10 -0000
@@ -0,0 +1,12 @@
+context = context # to appease flymake/pyflakes
+from Products.CMFPlone import utils
+query = {}
+query['path'] = {}
+query['path']['depth'] = 1 # in place of navtree
+query['path']['query'] = '/'.join(context.getPhysicalPath())
+query['portal_type'] = utils.typesToList(context)
+query['sort_on'] = 'getObjPositionInParent'
+query['sort_order'] = 'asc'
+query['is_default_page'] = False
+results = context.portal_catalog.searchResults(query)
+return results
