You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2004/03/20 03:24:54 UTC

svn commit: rev 9643 - xml/forrest/trunk/src/documentation/content/xdocs

Author: brondsem
Date: Fri Mar 19 18:24:53 2004
New Revision: 9643

Modified:
   xml/forrest/trunk/src/documentation/content/xdocs/faq.xml
Log:
added one for breadcrumbs

Modified: xml/forrest/trunk/src/documentation/content/xdocs/faq.xml
==============================================================================
--- xml/forrest/trunk/src/documentation/content/xdocs/faq.xml	(original)
+++ xml/forrest/trunk/src/documentation/content/xdocs/faq.xml	Fri Mar 19 18:24:53 2004
@@ -355,7 +355,24 @@
             href="http://wiki.cocoondev.org/Wiki.jsp?page=AddingXSPToForrest">AddingXSPToForrest</link> Wiki page.</p>
       </answer>
     </faq>
-
+    
+    <faq id="breadcrumbs">
+      <question>How do breadcrumbs work?  Why don't they work locally?</question>
+      <answer>
+      <p>Breadcrumbs begin with up to three URLs specified in <code>skinconf.xml</code>.  Here's what the Forrest site uses:</p>
+      <source><![CDATA[
+  <trail>
+    <link1 name="apache" href="http://www.apache.org/"/>
+    <link2 name="xml.apache" href="http://xml.apache.org/"/>
+    <link3 name="" href=""/>
+  </trail>
+]]></source>
+      <p>If any links are blank, they aren't used.  After these first links, JavaScript looks at the URL for the current page and
+      makes a link for each directory after the domain.  If you are looking at the site locally, there is no domain and so
+      there will only be the breadcrumbs specified in <code>skinconf.xml</code>.
+      </p>
+      </answer>
+    </faq>
   </part>
 
   <part id="old_faqs">