Page History
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Documentation Wiki Spaces Overview
...
- The left sidebar can be edited only by a Wiki Space Administrator
- Visit "Browse -> Space Admin"
- Click on "Themes" (Under "Look and Feel" section)
- Click on "Configure Theme" (for the current Documentation Theme)
In the "Navigation" field, you want to place the following Wiki Markup (which will cause the _DocLeftSidebar wiki page to appear as the sidebar):
Code Block {include:DSDOC:_DocLeftSidebar}
- Click "Save"
Now, we'll likely want to ensure this version of DSpace is listed in the Sidebar. To do that, just visit the _DocLeftSidebar page, edit it, and add a line similar to the following:
Code Block {span:class=DSDOC3x}[DSpace 3.x (Unreleased)|DSDOC3x:]{span}
Create a new "div" macro (creates a new HTML <div> tag for us)
Set Class as "DSDOC4x" (for DSDOC4x space)
Set Style as "padding-left: 10px" (to align with all others in the list
As the text (inside the "div"): "DSpace 4.x (Unreleased)" (and link it to the DSDOC4x Homepage)
- NOTE: Obviously you can copy from another "div" macro if these settings change.NOTICE THE "{span}" wiki tag listed there. That is applying a custom CSS style we named "DSDOC3x". We will tweak that style momentarily.
- Finally, let's tweak the stylesheet of the Space, so that its listing in the sidebar appears bolded.
- Go back to the "Browse -> Space Admin"
- Click on "Stylesheet" (Under "Look and Feel" section)
Click "Edit" and add a style similar to the following (notice that this "
spandiv" style matches the "
space:classdiv" macro defined above):
Code Block /** Bold sidebar link to this Space **/ spandiv.DSDOC3xDSDOC4x { font-weight:bold; }
- Click Save
...