documentation:config_submenu:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:config_submenu:start [2014/03/26 15:30] milicicdocumentation:config_submenu:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Configuring the submenu ====== 
-The submenu is the gray container underneath the topbar. It can contain the title and subtitle of the page as well as some additional links.   
- 
-==== Create a submenu ==== 
-To create a submenu for a namespace, one has to create a page called ''submenu'' in the namespace.  
- 
-An unorderd list (with links as items) will be converted into a navigation bar at the bottom of the submenu. The subitems of a nested list such as 
-<code> 
-  * [[item 1]]  
-  * [[item 2]]  
-      * [[subitem 1]]  
-      * [[subitem 2]]  
-</code> 
-will be shown when hoverd over the parent item. 
- 
-For example, the submenu of this page was created by first adding a new page with ''%%[[submenu]]%%'' and then filling it with content: 
-<code> 
-====== Submenu ====== 
-===== Subtitle of Submenu ===== 
-  * [[just]] 
-  * [[some]] 
-  * [[items]] 
-      * [[some]] 
-      * [[with]] 
-      * [[subitems]] 
-</code> 
- 
----- 
-==== Delete a submenu ==== 
-Deleting a submenu is done by the same way as [[documentation:pages#delete_a_page|deleting a page]], which is saving it with no content. 
----- 
-==== Different submenus for different namespaces ==== 
-As mentioned before, it is possible to create for each namespace a different submenu. If there is no submenu defined in the current namespace, the submenu of the next higher level is used. 
-For example: 
- 
-<file> 
-   root namespace (always present) 
-     │ 
-     └── 'a' namespace 
-          └──'start', pagename,                 %start page of namespace 'a:' 
-          └──'submenu_a' pagename,              %submenu of namespace 'a:' 
-          └── 'b' namespace 
-               └──'submenu_b', pagename,        %submenu of namespace 'a:b:' 
-               └── 'c' pagename 
-           └──'d' namespace 
-               └──'e' pagename 
- 
-</file>