Showing posts with label sharepoint foundation. Show all posts
Showing posts with label sharepoint foundation. Show all posts

Thursday, January 6, 2011

Setting a Fixed Width in SharePoint 2010

This needs to blogged about once again, since it seems to be an ongoing issue with SharePoint skinning.

This post will show how to easily go from the default liquid layout, to a 960px width with auto scrolling.
Step 1. Alter the Body Tag – replace scroll="no” with style="overflow:auto;”
(This will allow the Body to have a scroll bar when needed.) 
Step 2. Add the below <div> tag directly after the <body> <form> tags
 <div style="width:960px; margin:auto;”>

 

Step3. Don’t forget to add the closing </div> tag directly after  
<SharePoint:DeveloperDashboard runat="server"/> around line 625




Thats it, Save your master page and refresh your SharePoint... you now should have a fixed width
Published with Blogger-droid v1.6.5

Tuesday, December 7, 2010

Upgrading to SharePoint 2010

I was going to start typing up an upgrade blog then I stumbled onto this really nice set of articles by Anshul.  So instead of re-blogging I will just link to his blog and give him the credit for his work.  Enjoy.

Here are the 4 Approaches Anshul took when upgrading from MOSS 2007 to SharePoint 2010.

In-Place Upgrade
The InPlace upgrade is the easiest way to upgrade from MOSS 2007 to SharePoint 2010. In this approach you will install SharePoint 2010 on the same machine where MOSS 2007 was installed and the Upgrade wizard will upgrade MOSS 2007 to SharePoint 2010.

Database Attach Upgrade
In database attach approach you install the SharePoint Server 2010 on a fresh Machine and you upgrade all the sites from your MOSS 2007 server by detaching the Content databases from MOSS Server and attaching them to the SharePoint 2010 server.

Hybrid Approach 1
In this approach you can make the databases of your MOSS 2007 farm read only and then Install SharePoint 2010 on a different machine. Upgrade your MOSS 2007 farm using the Database Attach approach. (On the new SharePoint 2010 farm) and the redirect your users to the new upgraded farm. This will allow you to give read only access to the users while the farm is being upgraded so it will help you in downtime mitigation.

Hybrid Approach 2
In this approach you can detach your content databases and then do an In-Place upgrade once that is done you can attach the databases using the Database Attach approach. The benefit of this approach is that you can have the speed of the DB Attach upgrade and you can also keep your farm wide settings as you are upgrading the farm by using the In-Place upgrade.


Upgrade Methods in SharePoint 2010: Part 1

Upgrade Methods in SharePoint 2010: Part 2

How To Upgrade to SharePoint 2010 using Database Attach method: Part 1 

How To Upgrade to SharePoint 2010 using Database Attach method: Part 2

[courtesty of Anshul Sehgal - http://sharepoint2010blog.blogspot.com/]

Friday, November 26, 2010

SharePoint 2010 Master Page Ribbon Hide

Tried a few techniques this one suits me best...

Set the in-line style for both the id="s4-statusbarcontainer" and id="s4-ribbonrow" div's to style="display:none". Then somewhere appropriate below both elements in the master page insert the following:

<Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl" runat="server" PermissionsString="AddAndCustomizePages">
<script type="text/javascript">
document.getElementById("s4-statusbarcontainer").style.display = "block";
document.getElementById("s4-ribbonrow").style.display = "block";
</script>
</Sharepoint:SPSecurityTrimmedControl>


This will cause the ribbon and status notification to be rendered by the browser yet be hidden so the page will still operate normally. If the user is authenticated and allow to modify pages it will render the JavaScript to override the hidden style.

[courtesty of Rich Krott]

Thursday, November 18, 2010

My Personal Sharepoint Archives

I am turning this blog into my own personal tricks section, I am constantly searching the web for tricks on sharepoint, when I find them I usually bookmark the site, well I have been noticing I got alot of bookmarks! So I have been thinking about a way to utilize my blog but give myself a reason to keep blogging, what I came up with is each time I find a tip or trick that worked for me, I will blog it and give the website credit. I figured if you come across my blog in a search engine and are able to use these tips or tricks, then maybe this blog is worth writing and keeping alive.

Lets see how this works out.