User Tools

Site Tools


wiki:sidebars

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sidebars [2007/08/24 08:27] jaswiki:sidebars [2007/08/24 08:31] (current) jas
Line 47: Line 47:
 The attributes to the item tag can be specified in any order. The attributes to the item tag can be specified in any order.
  
-<file>+<box red>
 If you use an & in your sidebar, you MUST use the valid XML syntax of ''&amp;'' otherwise your entire sidebar will not display. If you use an & in your sidebar, you MUST use the valid XML syntax of ''&amp;'' otherwise your entire sidebar will not display.
-</file>+</box>
  
 Now let's see a few examples! Now let's see a few examples!
  
-simple :sidebar with 2 level 1 entries:+Here is a simple sidebar with 2 level 1 entries - Contact, and Assignments:
  
   <sidebar>   <sidebar>
Line 60: Line 60:
   </sidebar>   </sidebar>
  
-Now, let's say that when the user clicks on "Assignments", you wish to open up a second level in the sidebar showing "Assignment 1", and "Assignment 2".  Note how the sidebar will display the level 2 entries when in the "assignmentnamespace:+Now, let's say that when the user clicks on "Assignments", you wish to open up a second level in the sidebar showing "Assignment 1", and "Assignment 2" indented underneath "Assignments":
  
   <sidebar>   <sidebar>
Line 68: Line 68:
     <item ns="assignments" level="2" link=":assignments:a2:">Assignment 2</item>     <item ns="assignments" level="2" link=":assignments:a2:">Assignment 2</item>
   </sidebar>   </sidebar>
- 
-Please note that if you view a sidebar file through the wiki engine, it will display the entire file on one line because this is how the Wiki "renders" the sidebar.  The sidebar will display correctly at the side of the screen or through the edit interface. 
  
 ===== Search ===== ===== Search =====
  
-The search area on the sidebar allows you to search through your wiki site.  The search is local to your Wiki site only.+The search area on the sidebar allows you to search through your Wiki site.  The search is local to your Wiki site only.
  
 ===== York Logo ===== ===== York Logo =====
wiki/sidebars.1187958462.txt.gz · Last modified: 2007/08/24 08:27 by jas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki