Socialtext Documentation
Navigation Bar: Revision 2

Home: Socialtext Style Customization Guide
Top: Common Elements
Prev: Standard Button
Next: Socialtext Attribution


The navigation section is at the top of the page and contains both a Nav Bar and a Subnav Bar.


You can control the style and display of the right hand menu using the #st-wikinav-setting, #st-wikinav-login, #st-wikinav-register, #st-wikinav-logout and #st-wikinav-help selections. The HTML snippet below does not show the log in and register options.

HTML Snippet

<div class="st-wiki-nav">
  <div class="st-wiki-nav-right">
    <div class="st-wiki-nav-left">
      <div class="st-wiki-nav-content">
        <div class="st-wiki-nav-actions">
          <span id="st-wikinav-setting"><a href="?action=users_settings">Settings</a></span>
          <span id="st-wikinav-logout"> - <a href="/nlw/submit/logout">Log out</a></span>
          <span id="st-wikinav-help"> - <a href="/help/index.cgi?socialtext_documentation">Help</a></span>
        <div id="st-home">
          <a id="st-home-link" href="?">Home</a>
        <form id="st-search-form" method="get" action="index.cgi">
          <input id="st-search-term" type="text" name="search_term" value="New search" />
          <input type="hidden" name="action" value="search" />
          <table class="button-table">
                <div class="button-straight">
                  <div class="button-straight-right-top">
                    <div class="button-straight-left-bottom">
                      <div class="button-straight-right-bottom">
                        <div class="button-content">
                          <a id="st-search-submit" href="#" title="Click this button to perform your search">Search</a>
        <br clear="both" />

CSS Selectors

.st-wiki-nav-actions a
#st-wikinav-setting a
#st-wikinav-login a
#st-wikinav-register a
#st-wikinav-logout a
#st-wikinav-help a


HTML Snippet

<div id="st-wiki-subnav" class="st-wiki-subnav-dashboard">
  <div id="st-wiki-subnav-left">
    <span class="st-wiki-subnav-label">Quick jump:&nbsp;</span>
      <a id="st-wiki-subnav-link-whats-new" href="?action=recent_changes">What's new</a>
      <a id="st-wiki-subnav-link-weblogs" href="?action=weblog_display">Weblogs</a>
    <div id="st-wiki-subnav-right">
      <br style="clear: both; height: 1px;" />

CSS Selector

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.