Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Editing WebFldr.aspx file

  Asked By: Gabriella    Date: May 24    Category: Sharepoint    Views: 3699

I have an issue where I need to allow users to use the Explorer view, but I want
to remove the common tasks area that appears when they do select the view. I'm
not sure what I need to edit and my SPD fails to load the page properly for me
to see what needs to change. I would just like to know what bits of code I need
to add or remove to simply show the files and not the additional explorer
features.

I also need this feature to be available to users who use FBA and when they
login they do not see this feature, but they do see the "Forms" folder and I
would like this to be hidden from them to prevent any confusion.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Indrajeet Patil     Answered On: May 24

I don't think what you are trying to do is possible using the OOTB Explorer
view.

 
Answer #2    Answered By: Xavier Hopkins     Answered On: May 24

Well, I do know there are two "Explorer Views". One is under the "Actions"
button in a document library and I know for that one there isn't anything that
can be done. (Which is why I usually remove  it or security trim it for site
owners only.) The explorer  view though is rendered inline in the frame where a
document library's content is usually displayed. I was hoping there was a way
to limit what was actually shown so that the blue bar on the left inside that
pane that shows "File and Folder Tasks - Make a New Folder, Publish This Folder
to the Web, etc." could be hidden. Hopefully a little clarification might shed
some light on a solution.

 
Answer #3    Answered By: Viviana Rollins     Answered On: May 24

I've never heard the "Open In Windows Explorer" result referred to as
"Explorer View"... though it does look and act similarly.

Hopefully mine isn't the only (or best) idea, but you can hide that bar with
Javascript. Go into the WebFldr file  (note that this will change  the aspx
file apart from its prototype in the site definition) and find the
ListViewXml tag that contains an HTML-encoded block of Javascript. Add the
following line at the end of the navtoframe2 function:

document.getElementById("expFrame").style.marginLeft="-210px";

It's far from foolproof and not so elegant, but if you want to restrict this
in one place, it'll work in a pinch. Changing the file in the 12 hive would
obviously be more universal. Also, I haven't tested this on different
resolutions, but I believe it's a hard width for that left column.

 
Answer #4    Answered By: Erika Price     Answered On: May 24

Found something interesting. I am trying to edit  the webfldr.aspx file  in
located at C:\Program Files\Common Files\Microsoft Shared\web server
extensions\12\TEMPLATE\Pages and in it there is no navtoframe2 function. I
entered the code  you recommended immediately after the "navtoframe" function and
it works. Thought I would add  that little tidbit of info.

Now I need to make sure that the "Forms" folder  is hidden  from our users  and I
don't know if there's a way to do that.

 
Didn't find what you were looking for? Find more on Editing WebFldr.aspx file Or get search suggestion and latest updates.




Tagged: