dave^2=-1

Now at davesquared.blogspot.com

Sponsors

News

Please visit davesquared.blogspot.com for new content and the most up-to-date versions of all posts.

All code and advice is provided without warranty -- use at your own risk! Opinions expressed here are my own and not that of my employer or any one else. This is just a blog! Don't take it too seriously! Despite not being too serious, this blog has a Privacy Policy, because it uses Google Analytics to see if anyone drops by.

Removing chrome from SharePoint page

MS Dynamics CRM has some info on removing chrome from Web Part pages and document libraries. This is useful when combined with the Page Viewer Web Part so you can embed a list into another page. These methods involved mucking around with HTML, embedding styles, or embedding javascript to muck with styles and HTML.

An example of an embedded style is given in a comment posted to the first link first link. This involves adding the following to a content editor web part:

<style>
.ms-navframe {
  display:none;
}
.ms-bannerframe {
  display: none;
}
.ms-titleareaframe {
  display:none;
}
</style>

Another way is using WSS RPC methods with the dialogview parameter as described here. This method involves using owssvr.dll to view the information via a URL in this format:

http://[Server]/[Site Path]/_vti_bin/owssvr.dll?dialogview=FileOpen&location=Shared%20Documents

I'm a bit surprised there isn't a simple querystring parameter or similar to do this.

This was originally posted to my previous blog. You can view the original post and any comments here.

Posted: Mar 16 2007, 02:47 PM by dtchepak | with no comments
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)