You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by de...@lenya.apache.org on 2005/03/02 16:32:55 UTC
[Lenya Wiki] Updated: AdvancedSiteNavigationHowto
Date: 2005-03-02T07:32:55
Editor: TorstenSchlabach
Wiki: Lenya Wiki
Page: AdvancedSiteNavigationHowto
URL: http://wiki.apache.org/lenya/AdvancedSiteNavigationHowto
no comment
Change Log:
------------------------------------------------------------------------------
@@ -10,6 +10,57 @@
== Technical Background: How Lenya builds the site navigation ==
+The source of all navigation elements is the sitetree, which you can find in {{{PUB_HOME/authoring/sitetree.xml}}}, {{{PUB_HOME/live/sitetree.xml}}}, {{{PUB_HOME/trash/sitetree.xml}}} or {{{PUB_HOME/archive/sitetree.xml}}} depending on the relevant area.
+
+The tree you can see in the left half of the screen when you access the {{{Site}}} tab in authoring mode is pretty much a 1:1 representation of the site tree.
+
+The sitetree.xml document of the default publication which we will use as an example here looks like this:
+
+{{{
+<?xml version="1.0" encoding="UTF-8"?>
+<site i18n:attr="label" label="Authoring"
+ xmlns="http://apache.org/cocoon/lenya/sitetree/1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://apache.org/cocoon/lenya/sitetree/1.0
+ ../../../../resources/entities/sitetree.xsd"
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+>
+
+ <node id="index">
+ <label xml:lang="en">Home</label>
+ <label xml:lang="de">Home</label>
+ </node>
+
+ <node id="tutorial">
+ <label xml:lang="en">Tutorial</label>
+ <label xml:lang="de">Tutorial</label>
+
+ <node id="new_doctype">
+ <label xml:lang="en">Create new doctype</label>
+ </node>
+ </node>
+
+ <node id="concepts">
+ <label xml:lang="en">Concepts (english only)</label>
+ </node>
+
+ <node id="features">
+ <label xml:lang="en">Features</label>
+ <label xml:lang="de">Funktionen</label>
+ </node>
+
+ <node id="doctypes">
+ <label xml:lang="en">Document Type Examples</label>
+ <label xml:lang="de">Dokumenttyp Beispiele</label>
+ <node id="xhtml-document">
+ <label xml:lang="en">XHTML Doctype</label>
+ <label xml:lang="de">XHTML Dokumenttyp</label>
+ </node>
+ </node>
+
+</site>
+}}}
== The menu: Options ==
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org