Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Left Navigation

  Asked By: Frederick    Date: Dec 05    Category: Sharepoint    Views: 14763

Is there any way to modify the order or the libraries and lists
viewed on the left navigation of the home page. They appear in
create date order in the left navigation. When you go to documents
and lists they appear in alphabetical order, which I would prefer. I
would like to find a solution that does not involve FrontPage.



9 Answers Found

Answer #1    Answered By: Jake Harvey     Answered On: Dec 05

Yes you can use FrontPage 2003, open the page  and double click the list
and a dialog should pop up that allows you to fine tune that display.

Answer #2    Answered By: Ricky Kennedy     Answered On: Dec 05

Thanks, but I was hoping for a non-FrontPage solution. Do you know if this action will 'unghost' the page?

Answer #3    Answered By: Robin Sparks     Answered On: Dec 05

The groupings are hard coded into the page  via a FrontPage bot (look
at the HTML source).
The entries below the groupings come from the database real-time
(look at the default.aspx file on the server).

Modifying the database (or finding a tool that mods it for you)
could result in some of the changes you want. I don't have any tools
or any more details for you (FrontPage might be easier).

Answer #4    Answered By: Dusty Houston     Answered On: Dec 05

Microsoft Windows SharePoint Services Quick Launch navigation  is managed
using five FrontPage link bars defined in the default.aspx direct mode
page in the STS site definition at:
C:\Program Files\Common Files\Microsoft Shared\web server

Search for the string "Quick Launch". It is defined as an alterable
vector graphic. The full <table> that follows defines the links and link
bars that make up the Quick Launch.

Link bar modifications in FrontPage are instantaneous and do not unghost
the page  as long as the page is not saved. FWIW, the link bar data is
stored in the content database's NavNodes table. You could potentially
alter the table directly. I think that you can alter them using the
Object Model too but I'd have to do some research to explain how.

I'm not aware of any other tool for modifying FrontPage link bars.

Answer #5    Answered By: Felix Hardy     Answered On: Dec 05

The only other way I know of to rearrange the Quick Launch Bar through the browser is to remove all document libraries, lists  etc. from the Quick Launch Bar, and then go to each item you want placed in the bar and add them to it in the order  that you want them to appear. The problem is that if you want to rearrange them again, you need to go through the whole process of removing and adding again.

Answer #6    Answered By: Jaime Sims     Answered On: Dec 05

There is a solution  to modify  the lefthand navigation  - you need to edit
the site definition default.aspx (as Todd explains below), as well as
viewlsts.aspx, which is located under C:\Program Files\Common
Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\<lcid>
(normally 1033). Viewlsts.aspx is called to render the actual contents
for both "Documents and Lists"-link and lefthand content (default.aspx
displays titles, viewlsts.aspx displays content under each title).

Create a copy of viewlsts.aspx - you do not want to modify the default
file. Edit this copy, and go to line 594 - this while-loop renders the
"Documents and Lists"-content. Line 617 renders each document library.
You can easily take this logic and modify the loop at the beginning of
the file to replace the logic for the lefthand navi.

Answer #7    Answered By: Ashley Robbins     Answered On: Dec 05

Are you saying that viewlsts.aspx IS used to display the content in the
Quick Launch and modifying it will alter how the Quick Launch is
displayed? Or that the logic that we find  in viewlsts.aspx could be used
to display content in a left  navigation that we would build?

Answer #8    Answered By: Kelly Fowler     Answered On: Dec 05

Yes, viewlsts.aspx is used to display content in the lefthand navi (right next
to the awful Quick Launch-watermark image). The navi itself, including the
static entries ("Document libraries", "Lists" etc), is in default.aspx. Content
for these is fetched via viewlsts.aspx, that is called by default.aspx.

All logic exists, no need to invent anything that isn't already there

Answer #9    Answered By: Fabian Gross     Answered On: Dec 05

As I understand it, the link at the top of each section in the Quick
Launch references the viewlsts.aspx page  in an anchor tag like this:
<A HREF="_layouts/1033/viewlsts.aspx?BaseType=1">Documents</A>

That way, the user can click on the _Documents_ link and get a list of
all Document Libraries (base type of 1) in the current site, even if
they are not listed on the Quick Launch. Pictures, Lists, Discussions,
and Surveys work the same way. I typically add another link called Sites
with an anchor tag like this:
<A HREF="_layouts/1033/mngsubwebs.aspx">Sites</A>

The "1033" LCID in both examples actually comes from a server variable:
<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%> but I
left it out in the examples above for clarity.

The actual links are retrieved from the NavNodes table and show on the
link bar by the following server control:
<SharePoint:Navigation LinkBarId="1004" runat="server"/>

I think that the associated webbot for each link bar is necessary only
for formatting. I've tried changing the property values to no effect. I
can't even guess what the S-Btn-Nml property does:
<!--webbot bot="Navigation"
S-Bar-Pfx="<table border=0 cellpadding=4 cellspacing=0>"
S-Btn-Nml="<tr><td><table border=0 cellpadding=0
cellspacing=0><tr><td><img src='_layouts/images/blank.gif' ID='100'
alt='Icon' border=0>&nbsp;</td><td valign=top><a
S-Target TAG="BODY" startspan -->
<SharePoint:Navigation LinkBarId="1004" runat="server"/>
<!--webbot bot="Navigation" endspan -->

Am I missing something?

Didn't find what you were looking for? Find more on Left Navigation Or get search suggestion and latest updates.