<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SharePoint Branding and Design - Tom Wilson</title>
	
	<link>http://styledpoint.com/blog</link>
	<description>A blog about Design, ASP.Net, Microsoft SharePoint, HTML, CSS and Javscript</description>
	<lastBuildDate>Thu, 15 Mar 2012 15:19:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/StyledPoint" /><feedburner:info uri="styledpoint" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Inject your jQuery / JavaScript into SharePoint 2010 without modifying any master page, page layout or using a web part.</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/9WM8BHhxRkU/</link>
		<comments>http://styledpoint.com/blog/inject-your-jquery-javascript-into-sharepoint-2010-without-modifying-any-master-page-page-layout-or-using-a-web-part/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 15:13:24 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=267</guid>
		<description><![CDATA[Have you ever found yourself thinking. Man, that would be really easy to achieve in SharePoint 2010 with jQuery but I don&#8217;t want to edit / modify the master page or page layout. And I don&#8217;t want to use the messy solution of adding content editor web parts to all these pages? I want a [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever found yourself thinking. Man, that would be really easy to achieve in SharePoint 2010 with jQuery but I don&#8217;t want to edit / modify the master page or page layout. And I don&#8217;t want to use the messy solution of adding content editor web parts to all these pages?</p>
<p>I want a jQuery only solution? AND I want it to span all pages on a site or across a whole site collection?</p>
<p>Well here is a very easy way to have just that.</p>
<p><span id="more-267"></span></p>
<p>In this example my code will add a button above the left navigation to toggle it off and on.</p>
<p>1) Create a new SharePoint 2010 solution in Visual Studio 2010.</p>
<p><img class="size-full wp-image-274 alignnone" style="border: 1px solid black;" title="1" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/1.png" alt="" width="289" height="137" /></p>
<p>2) Add your JavaScript files to be deployed to your preferred location. (This is usually either to the [Layouts] folder in the file system or the [Style Library] in the content db.</p>
<p><img class="alignnone size-full wp-image-275" style="border: 1px solid black;" title="2" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/2.png" alt="" width="289" height="200" /></p>
<p>3) Create a new user control. You can either use code only control (C# or VB) or  you can create a visual control (.ascx)</p>
<p><img class="alignnone size-full wp-image-276" style="border: 1px solid black;" title="3" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/3.png" alt="" width="482" height="69" /></p>
<p>I removed the code behind in this screenshot as it&#8217;s not needed.</p>
<p><img class="alignnone size-full wp-image-277" style="border: 1px solid black;" title="4" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/4.png" alt="" width="284" height="251" /></p>
<p>4) Create a new empty module and add the following.</p>
<pre class="brush: xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;Elements xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
&lt;Control Id=&quot;AdditionalPageHead&quot; ControlSrc=&quot;~/_controltemplates/StyledPoint.JavaScriptDelegate/JavaScript.ascx&quot; /&gt;
&lt;/Elements&gt;
</pre>
<p><em>This config points to a visual user control located in the _controltemplates folder.</em></p>
<pre class="brush: xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;Elements xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;
&lt;Control Id=&quot;AdditionalPageHead&quot; Sequence=&quot;1&quot; ControlAssembly=&quot;$SharePoint.Project.AssemblyFullName$&quot; ControlClass=&quot;StyledPoint.JavaScriptDelegate&quot; /&gt;
&lt;/Elements&gt;
</pre>
<p><em>This config points to the class of my user control in my assembly.</em></p>
<p>5) Create a feature and scope it to either Web or Site. The difference being that a site scoped feature will include your JavaScript solution on all pages, even sub sites whereas the Web scoped feature will only activate on a single site.</p>
<p><img class="alignnone  wp-image-278" style="border: 1px solid black;" title="5" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/5.png" alt="" width="459" height="463" /></p>
<blockquote><p>A good example of this would be something like a blog site. If you wanted to tweak or change something specifically on the site you would scope the feature to Web and then activate it in the blog only. There is another way we could about going this at the Site scoped lever but I will get into that in another post.</p></blockquote>
<p>And finally the results!</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/6.png"><img class="alignnone  wp-image-279" style="border: 1px solid black;" title="6" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/6.png" alt="" width="450" height="434" /></a><br />
<em>Notice the lack of a toggle button above the left navigation?</em></p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/7.png"><img class="alignnone  wp-image-280" style="border: 1px solid black;" title="7" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/7.png" alt="" width="450" height="58" /></a><br />
<em>Now we&#8230;</em></p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/8.png"><img class="alignnone  wp-image-281" style="border: 1px solid black;" title="8" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/8.png" alt="" width="450" height="54" /></a></p>
<p><em>Activate the feature&#8230;</em></p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/9.png"><img class="wp-image-282 alignleft" style="border: 1px solid black; margin-left: 0px; margin-right: 0px;" title="9" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/9.png" alt="" width="209" height="108" /> <img class="wp-image-283 alignleft" style="border: 1px solid black; margin-left: 10px;" title="10" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/10.png" alt="" width="210" height="120" /><br />
</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><em style="display: block;">Toggling! &#8211; Open on the left and closed on the right.</em></p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/11.png"><img class="wp-image-284 alignleft" style="border: 1px solid black;" title="11" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/11.png" alt="" width="213" height="101" /></a> <a href="http://styledpoint.com/blog/wp-content/uploads/2012/03/12.png"><img class="wp-image-285 alignleft" style="border: 1px solid black; margin-left: 10px;" title="12" src="http://styledpoint.com/blog/wp-content/uploads/2012/03/12.png" alt="" width="200" height="107" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><em style="display: block;">Toggling! &#8211; Open on the left and closed on the right.</em></p>
<h4><strong>Download the example source <a href="http://files.styledpoint.com/2012-03-15-delegate-javascript/StyledPoint.JavaScriptDeledate.zip">here</a></strong></h4>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/9WM8BHhxRkU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/inject-your-jquery-javascript-into-sharepoint-2010-without-modifying-any-master-page-page-layout-or-using-a-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/inject-your-jquery-javascript-into-sharepoint-2010-without-modifying-any-master-page-page-layout-or-using-a-web-part/</feedburner:origLink></item>
		<item>
		<title>Quickly truncate (limit size) on blog post lists in a SharePoint 2010 blog.</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/njFZXKMcOr8/</link>
		<comments>http://styledpoint.com/blog/quickly-truncate-limit-size-on-blog-post-lists-in-a-sharepoint-2010-blog/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 20:08:16 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=245</guid>
		<description><![CDATA[Today a client needed a quick fix to truncate the blog posts on the home page of their SharePoint 2010 blog site. Transforming the posts like so… [Click for larger version] Here is the quick and dirty on how I did just that.* * note: this can also be done within XSLT without JavaScript, which [...]]]></description>
			<content:encoded><![CDATA[<p>Today a client needed a quick fix to truncate the blog posts on the home page of their SharePoint 2010 blog site.</p>
<p>Transforming the posts like so…</p>
<p align="center"><a href="http://files.styledpoint.com/2012-02-14-blog-truncate/example.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="exaple2" border="0" alt="exaple2" src="http://styledpoint.com/blog/wp-content/uploads/2012/02/exaple2.jpg" width="458" height="202" /></a>    <br /><em><font color="#a5a5a5" size="1">[Click for larger version]</font></em></p>
<p>Here is the quick and dirty on how I did just that.*   <br /><font color="#a5a5a5" size="1"><em>* note: this can also be done within XSLT without JavaScript, which I can blog about too, but like I said, this is quick with less chance for error.</em></font></p>
<p><span id="more-245"></span>
<p><strong><font size="4">1.</font></strong>&#160;&#160; Copy the <strong>blog.xsl</strong> from the 14 hive.&#160; Grab a copy of the original <a href="http://files.styledpoint.com/2012-02-14-blog-truncate/blog.xsl">here</a></p>
<blockquote><p>Located at : <font color="#666666" size="1"><em>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSL</em></font></p>
</blockquote>
<p><font size="4"><strong>2.</strong></font>&#160;&#160; Edit this file and add the following lines of code.</p>
<blockquote><p><font color="#2a2a2a">Around line 15 is where the template for the blog home page is applied. We are going to add the jQuery library here. </font></p>
<p><font color="#2a2a2a">Go to the jQuery home page and click the link to download the lastest source. Copy this source code. We are going to paste it right inside the XML between CDATA tags.</font></p>
</blockquote>
<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 451px; padding-right: 5px; height: 119px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px">
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">template</span> <span style="color: #ff0000">match</span>=<span style="color: #0000ff">&quot;View[@BaseViewID='0' and List/@TemplateType='301']&quot;</span> <span style="color: #ff0000">mode</span>=<span style="color: #0000ff">&quot;full&quot;</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2:     <span style="color: #0000ff">&lt;</span><span style="color: #800000">script</span> <span style="color: #ff0000">type</span>=<span style="color: #0000ff">&quot;text/javascript&quot;</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[ !!!!JQUERY SOURCE GOES HERE!!!! ]]<span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3:     <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">apply</span>-<span style="color: #ff0000">templates</span> <span style="color: #ff0000">select</span>=<span style="color: #0000ff">&quot;.&quot;</span> <span style="color: #ff0000">mode</span>=<span style="color: #0000ff">&quot;RenderView&quot;</span> <span style="color: #0000ff">/&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4:     <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">apply</span>-<span style="color: #ff0000">templates</span> <span style="color: #ff0000">mode</span>=<span style="color: #0000ff">&quot;footer&quot;</span> <span style="color: #ff0000">select</span>=<span style="color: #0000ff">&quot;.&quot;</span> <span style="color: #0000ff">/&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5: <span style="color: #0000ff">&lt;/</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">template</span><span style="color: #0000ff">&gt;</span></pre>
</pre>
<p><font size="4"><strong>3.</strong></font>&#160;&#160; Lower down, around line 396 we are going to add more JavaScript.</p>
<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 452px; padding-right: 5px; height: 413px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px">
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">if</span> <span style="color: #ff0000">test</span>=<span style="color: #0000ff">&quot;$ShowBody=1&quot;</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2:           <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">class</span>=<span style="color: #0000ff">&quot;ms-PostBody&quot;</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3:             <span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4:               <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">apply</span>-<span style="color: #ff0000">templates</span> <span style="color: #ff0000">select</span>=<span style="color: #0000ff">&quot;$Fields[@Name='Body']&quot;</span> <span style="color: #ff0000">mode</span>=<span style="color: #0000ff">&quot;PrintField&quot;</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5:                 <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">with</span>-<span style="color: #ff0000">param</span> <span style="color: #ff0000">name</span>=<span style="color: #0000ff">&quot;thisNode&quot;</span> <span style="color: #ff0000">select</span>=<span style="color: #0000ff">&quot;$thisNode&quot;</span><span style="color: #0000ff">/&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6:                 <span style="color: #0000ff">&lt;</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">with</span>-<span style="color: #ff0000">param</span> <span style="color: #ff0000">name</span>=<span style="color: #0000ff">&quot;Position&quot;</span> <span style="color: #ff0000">select</span>=<span style="color: #0000ff">&quot;$Position&quot;</span><span style="color: #0000ff">/&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7:               <span style="color: #0000ff">&lt;/</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">apply</span>-templates<span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8:
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9:               <span style="color: #0000ff">&lt;</span><span style="color: #800000">script</span> <span style="color: #ff0000">type</span>=<span style="color: #0000ff">&quot;text/javascript&quot;</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10:                   $(&quot;.ms-PostBody[rendered!='done'] <span style="color: #0000ff">&gt;</span> div &gt; div&quot;).each(function(){
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11:
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12:                      if($(this).text().length &gt; 400) {
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13:                              text = $(this).text().substring(0, 400);
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14:                              $(this).html(text + &quot;... &quot; + &quot;<span style="color: #0000ff">&lt;</span><span style="color: #800000">a</span> <span style="color: #ff0000">href</span>=<span style="color: #0000ff">'&quot; + $(this).parent().parent().parent().find(&quot;.ms-PostTitle a&quot;).attr(&quot;href&quot;)  + &quot;'</span><span style="color: #0000ff">&gt;</span>Read More<span style="color: #0000ff">&lt;/</span><span style="color: #800000">a</span><span style="color: #0000ff">&gt;</span>&quot;);
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15:                      }
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16:
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17:                   }).attr(&quot;rendered&quot;,&quot;done&quot;);
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 18:               ]]&gt;<span style="color: #0000ff">&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 19:             <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 20:           <span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 21:         <span style="color: #0000ff">&lt;/</span><span style="color: #c71585">xsl</span>:<span style="color: #800000">if</span><span style="color: #0000ff">&gt;</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 22: </pre>
</pre>
<p>Here is a quick breakdown of the code.</p>
<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 452px; padding-right: 5px; height: 332px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px">
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  1: <span style="color: #008000">// For each post in the list that hasn't already been truncated..</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  2: <span style="color: #008000">// (We use an attribute called 'rendered' as the flag to check for already truncated posts)</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  3: $(&quot;<span style="color: #8b0000">.ms-PostBody[rendered!='done'] &gt; div &gt; div</span>&quot;).each(<span style="color: #0000ff">function</span>(){
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  4:
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  5:    <span style="color: #008000">//If the text of the post has more than 400 characters.</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  6:    <span style="color: #008000">// (the jquery .text() method is awesome because it strips all html)            </span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  7:    <span style="color: #0000ff">if</span>($(<span style="color: #0000ff">this</span>).text().length &gt; 400) {
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  8:
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">  9:       <span style="color: #008000">//Let's truncate the text.</span>
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 10:       text = $(<span style="color: #0000ff">this</span>).text().substring(0, 400);
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 11:
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 12:       <span style="color: #008000">//And finally change the post content, adding a &quot;...&quot; and a more link, which we get the url from the current posts title</span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 13:       $(<span style="color: #0000ff">this</span>).html(text + &quot;<span style="color: #8b0000">... </span>&quot; + &quot;<span style="color: #8b0000">&lt;a href='</span>&quot; + $(<span style="color: #0000ff">this</span>).parent().parent().parent().find(&quot;<span style="color: #8b0000">.ms-PostTitle a</span>&quot;).attr(&quot;<span style="color: #8b0000">href</span>&quot;)  + &quot;<span style="color: #8b0000">'&gt;Read More&lt;/a&gt;</span>&quot;);
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 14:    }
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 15:
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 16: <span style="color: #008000">//This last piece add the renedered flag. Deeming this post truncated.                           </span>
</pre>
<pre style="background-color: #eeeeee; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> 17: }).attr(&quot;<span style="color: #8b0000">rendered</span>&quot;,&quot;<span style="color: #8b0000">done</span>&quot;);</pre>
</pre>
<p><strong><font size="4">4.</font></strong>&#160;&#160; Now take this new blog.xml (You can rename it if you want) and upload it to your root site collection site library. </p>
<blockquote>
<p align="left"><font color="#2a2a2a">For example :<br />
      <br /></font><em><font color="#666666">http://styledpoint.com/Style Library/XSL Style Sheets/Blog_new.xsl</font></em></p>
</blockquote>
<p><font size="4"><strong>5.</strong></font>&#160;&#160; After you upload the file, navigate to the SharePoint 2010 blog site and put the home page into edit mode, edit the blog post lists web part.</p>
<p>Got to the “Miscellaneous” section and put in the relative url of the xsl file in the [XSL Link] input.</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/02/blog_truncate_post.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="blog_truncate_post" border="0" alt="blog_truncate_post" src="http://styledpoint.com/blog/wp-content/uploads/2012/02/blog_truncate_post_thumb.jpg" width="462" height="238" /></a></p>
<p><font size="4"><strong>6.</strong></font>&#160;&#160; Hit apply and it should work and you will something that looks like this.</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2012/02/Capture.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Capture" border="0" alt="Capture" src="http://styledpoint.com/blog/wp-content/uploads/2012/02/Capture_thumb.png" width="265" height="332" /></a></p>
<p>Leave any questions in the comments below.</p>
<p>You can download my modified xslt file here &gt; [<a href="http://files.styledpoint.com/2012-02-14-blog-truncate/blog_new.xsl">blog_new.xsl</a>]</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/njFZXKMcOr8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/quickly-truncate-limit-size-on-blog-post-lists-in-a-sharepoint-2010-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/quickly-truncate-limit-size-on-blog-post-lists-in-a-sharepoint-2010-blog/</feedburner:origLink></item>
		<item>
		<title>SharePoint 2010 Screen Shots</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/d-CQc8Pz1-E/</link>
		<comments>http://styledpoint.com/blog/sharepoint-2010-screen-shots/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 20:23:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=180</guid>
		<description><![CDATA[The information architecture and designer folk at my company were in need of being able to see what the SharePoint 2010 default out of the box lists, libraries, sites and web parts look like. So I have taken some time and compiled 46 screen shots to show almost every page in SharePoint freshly created. Sites [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://styledpoint.com/blog/sharepoint-2010-screen-shots/"><img src="http://styledpoint.com/blog/wp-content/uploads/2011/03/screens-banner.jpg" alt="" title="screens-banner" width="460" height="101" class="aligncenter size-full wp-image-214" /></a></p>
<p>The information architecture and designer folk at my company were in need of being able to see what the SharePoint 2010 default out of the box lists, libraries, sites and web parts look like.</p>
<p>So I have taken some time and compiled 46 screen shots to show almost every page in SharePoint freshly created.</p>
<p><span id="more-180"></span>
<p><font size="5">Sites</font></p>
<p><font size="3">Document Center</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0029_Sites%20-%20Document%20Center.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0029_Sites%20-%20Document%20Center.jpg" /></a></td>
<td valign="top" width="20">&#160;</td>
<td valign="top" width="286">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">Meeting Workspace</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0030_Sites%20-%20Meeting%20Workspace.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0030_Sites%20-%20Meeting%20Workspace.jpg" /></a></td>
<td valign="top" width="157">&#160;</td>
<td valign="top" width="149">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">Search Center</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">Search Center – Landing</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Search Center – Results</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0040_Sites%20-%20Search%20Center%20-%20Landing.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0040_Sites%20-%20Search%20Center%20-%20Landing.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0039_Sites%20-%20Search%20Center%20-%20Results.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0039_Sites%20-%20Search%20Center%20-%20Results.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Advanced Search</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0038_Sites%20-%20Search%20Center%20-%20Advanced%20Search.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0038_Sites%20-%20Search%20Center%20-%20Advanced%20Search.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">Team Site</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0044_Sites%20-%20Team.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0044_Sites%20-%20Team.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">Publishing Site</font></p>
<p><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0045_Sites%20-%20Publishing.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0045_Sites%20-%20Publishing.jpg" /></a>
<p><font size="3">Blog</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">Blog – Home Page</td>
<td valign="top" width="184">&#160;</td>
<td valign="top" width="122">Blog – View Article</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0043_Sites%20-%20Blog%20-%20Home%20Page.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0043_Sites%20-%20Blog%20-%20Home%20Page.jpg" /></a></td>
<td valign="top" width="184">&#160;</td>
<td valign="top" width="122"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0042_Sites%20-%20Blog%20-%20View%20Article.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0042_Sites%20-%20Blog%20-%20View%20Article.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Blog – Category Archive</td>
<td valign="top" width="184">&#160;</td>
<td valign="top" width="122">&#160;</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0041_Sites%20-%20Blog%20-%20Category%20_%20Archive%20List.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0041_Sites%20-%20Blog%20-%20Category%20_%20Archive%20List.jpg" /></a></td>
<td valign="top" width="184">&#160;</td>
<td valign="top" width="122">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">My Site Host</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="217">Profile – Memberships</td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205">Profile – Colleagues</td>
</tr>
<tr>
<td valign="top" width="217"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0031_Sites%20-%20MySite%20-%20Profile%20-%20Memberships.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0031_Sites%20-%20MySite%20-%20Profile%20-%20Memberships.jpg" /></a></td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0032_Sites-MySite%20-%20Profile%20-%20Colleagues.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0032_Sites-MySite%20-%20Profile%20-%20Colleagues.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="217">Profile – Tags and Notes</td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205">Profile &#8211; Content</td>
</tr>
<tr>
<td valign="top" width="217"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0033_Sites%20-%20MySite%20-%20Profile%20-%20Tags%20and%20Notes.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0033_Sites%20-%20MySite%20-%20Profile%20-%20Tags%20and%20Notes.jpg" /></a></td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0034_Sites%20-%20MySite%20-%20Profile%20-%20Content.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0034_Sites%20-%20MySite%20-%20Profile%20-%20Content.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="217">Profile Organization</td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205">Profile – Overview</td>
</tr>
<tr>
<td valign="top" width="217"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0035_Sites%20-%20MySite%20-%20Profile%20-%20Organization.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0035_Sites%20-%20MySite%20-%20Profile%20-%20Organization.jpg" /></a></td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0036_Sites%20-%20MySite%20-%20Profile%20-%20Overview.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0036_Sites%20-%20MySite%20-%20Profile%20-%20Overview.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="217">Profile – Landing / Newfeed</td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205">&#160;</td>
</tr>
<tr>
<td valign="top" width="217"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0037_Sites%20-%20MySite%20-%20Default.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0037_Sites%20-%20MySite%20-%20Default.jpg" /></a></td>
<td valign="top" width="37">&#160;</td>
<td valign="top" width="205">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="5">Common Layouts</font></p>
<p><font size="3">Pages</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">Publishing Basic Page</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Enterprise Wiki Page</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0021_Common%20Layouts%20_%20Pages%20-%20Publishing%20Page%20-%20Basic%20Project%20Page.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0021_Common%20Layouts%20_%20Pages%20-%20Publishing%20Page%20-%20Basic%20Project%20Page.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0022_Common%20Layouts%20_%20Pages%20-%20Publishing%20Page%20-%20Enterprise%20Wiki%20Page.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0022_Common%20Layouts%20_%20Pages%20-%20Publishing%20Page%20-%20Enterprise%20Wiki%20Page.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Web Part Page</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Page</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0023_Common%20Layouts%20_%20Pages%20-%20Content%20Page%20-%20Web%20Part%20Page.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0023_Common%20Layouts%20_%20Pages%20-%20Content%20Page%20-%20Web%20Part%20Page.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0024_Common%20Layouts%20_%20Pages%20-%20Content%20Page%20-%20Page.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0024_Common%20Layouts%20_%20Pages%20-%20Content%20Page%20-%20Page.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">OSSSearch Results</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">View All Site Content</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0025_Common%20Layouts%20_%20Pages%20-%20Page%20-%20OSSSearchResults.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0025_Common%20Layouts%20_%20Pages%20-%20Page%20-%20OSSSearchResults.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0026_Common%20Layouts%20_%20Pages%20-%20Page%20-%20View%20All%20Site%20Conent.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0026_Common%20Layouts%20_%20Pages%20-%20Page%20-%20View%20All%20Site%20Conent.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Create New Site</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Create New Library</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0027_Common%20Layouts%20_%20Pages%20-%20Page%20-%20Create%20New%20Site.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0027_Common%20Layouts%20_%20Pages%20-%20Page%20-%20Create%20New%20Site.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0028_Common%20Layouts%20_%20Pages%20-%20Page%20-%20Create%20New%20List%20_%20Library.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0028_Common%20Layouts%20_%20Pages%20-%20Page%20-%20Create%20New%20List%20_%20Library.jpg" /></a></td>
</tr>
</tbody>
</table>
<p><font size="5">Libraries</font></p>
<p><font size="3">Document Library</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">Default View</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Default – Selected Item and Drop Down Menu</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0016_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20View_%20All%20Docs.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0016_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20View_%20All%20Docs.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0017_List%20anDoc%20Lib%20-%20Default%20View_%20All%20Docs%20-%20Selected%20Item%20and%20Menu.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0017_List%20anDoc%20Lib%20-%20Default%20View_%20All%20Docs%20-%20Selected%20Item%20and%20Menu.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Edit Properties</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">View Properties</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0018_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20Edit%20Properties.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0018_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20Edit%20Properties.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0019_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20View%20Properties.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0019_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20View%20Properties.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Add New Document</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0020_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20Add%20New%20Doc.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0020_List%20and%20Libraries%20-%20Doc%20Lib%20-%20Default%20-%20Add%20New%20Doc.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="3">Picture Library</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">View All Pictures</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">View Single Picture</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0014_List%20and%20Libraries%20-%20Picture%20Lib%20-%20Default%20-%20View%20All%20Pictures.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0014_List%20and%20Libraries%20-%20Picture%20Lib%20-%20Default%20-%20View%20All%20Pictures.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0015_List%20and%20Libraries%20-%20Picture%20Lib%20-%20Default%20-%20View%20Single%20Picture.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0015_List%20and%20Libraries%20-%20Picture%20Lib%20-%20Default%20-%20View%20Single%20Picture.jpg" /></a></td>
</tr>
</tbody>
</table>
<p><font size="5">Lists</font></p>
<p><font size="3">Calendar</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">Day View</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Week View</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0012_List%20and%20Libraries%20-%20Calendar%20-%20Day.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0012_List%20and%20Libraries%20-%20Calendar%20-%20Day.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0011_List%20and%20Libraries%20-%20Calendar%20-%20Week.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0011_List%20and%20Libraries%20-%20Calendar%20-%20Week.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Month View</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Add New Event</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0010_List%20and%20Libraries%20-%20Calendar%20-%20Month.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0010_List%20and%20Libraries%20-%20Calendar%20-%20Month.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0009_List%20and%20Libraries%20-%20Calendar%20-%20Add%20Event.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0009_List%20and%20Libraries%20-%20Calendar%20-%20Add%20Event.jpg" /></a></td>
</tr>
</tbody>
</table>
<p><font size="3">Discussion</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0013_List%20and%20Libraries%20-%20Discussion%20-%20Thread%20View.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0013_List%20and%20Libraries%20-%20Discussion%20-%20Thread%20View.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
</tbody>
</table>
<p><font size="5">Web Parts</font></p>
<table border="0" cellspacing="0" cellpadding="0" width="460">
<tbody>
<tr>
<td valign="top" width="153">List of All Web Parts 1</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">List of All Web Parts 2</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0000_WebParts-Listing%20of%20Webparts%20-%20Page%201.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0000_WebParts-Listing%20of%20Webparts%20-%20Page%201.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0001_WebParts%20-%20Listing%20of%20Webparts%20-%20Page%202.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0001_WebParts%20-%20Listing%20of%20Webparts%20-%20Page%202.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Image Web Part</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Site Users Web Part</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0002_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Images.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0002_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Images.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0003_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Site%20Users.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0003_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Site%20Users.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Pages Web Part</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Summary Links Web Part</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0004_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Pages.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0004_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Pages.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0005_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Summary%20Links.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0005_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Summary%20Links.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Workflow Tasks</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">Calendar</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0006_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Workflow%20Tasks.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0006_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Workflow%20Tasks.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0007_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Calendar.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0007_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Calendar.jpg" /></a></td>
</tr>
<tr>
<td valign="top" width="153">Table of contents</td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
<tr>
<td valign="top" width="153"><a href="http://styledpoint.com/screenshots/SP2010%20-%20_0008_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Table%20Of%20Contents.jpg"><img src="http://styledpoint.com/screenshots/thumbs/SP2010%20-%20_0008_Webparts%20-%20Screen%20Shots%20-%20Parts%20-%20Table%20Of%20Contents.jpg" /></a></td>
<td valign="top" width="153">&#160;</td>
<td valign="top" width="153">&#160;</td>
</tr>
</tbody>
</table>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/d-CQc8Pz1-E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/sharepoint-2010-screen-shots/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/sharepoint-2010-screen-shots/</feedburner:origLink></item>
		<item>
		<title>Fixed Width, Centered aligned SharePoint 2010 site. Updated!</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/cUsDhrgJSqQ/</link>
		<comments>http://styledpoint.com/blog/fixed-width-centered-aligned-sharepoint-2010-site-updated/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 13:09:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=185</guid>
		<description><![CDATA[I originally posted about a solution here, but now looking back this is not the best way to achieve this. So here is a better solution! *Update: Added a selector in the JS for Day and Night Master Page Simply add the following  in any CSS file / in the header of your master page. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/blog/fixed-width-centered-aligned-sharepoint-2010-site-updated/"><img class="alignnone" title="Fixed Width" src="http://styledpoint.com/blog/wp-content/uploads/2009/12/title-image-fixed-width.png" alt="" width="460" height="101" /></a></p>
<p>I originally posted about a solution <a href="http://styledpoint.com/blog/fixed-width-centered-sharepoint-2010-site/">here</a>, but now looking back this is not the best way to achieve this.</p>
<p>So here is a better solution!<br />
<span id="more-185"></span></p>
<p>*Update: Added a selector in the JS for Day and Night Master Page</p>
<p>Simply add the following  in any CSS file / in the header of your master page.</p>
<pre class="brush: css">
#s4-bodyContainer {
width: 950px !important;
margin-left:auto;
margin-right:auto;
}
</pre>
<p>This will vertically align your site like so…</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2011/03/align.jpg"><img style="background-image: none; padding-left: 0px; width: 100%; padding-right: 0px; display: inline; height: auto; padding-top: 0px; border-width: 0px;" title="align" src="http://styledpoint.com/blog/wp-content/uploads/2011/03/align_thumb.jpg" border="0" alt="align" /></a>This example shows the width set to 950 but of course anything will work.</p>
<p><strong>Bonuses!</strong></p>
<p><span style="text-decoration: underline;">Center align your ribbon!</span></p>
<pre class="brush: css">
/* Aligns the Top Bars */
.ms-cui-ribbonTopBars {
width: 950px !important;
margin-left:auto;
margin-right:auto;
}

/* Turns off the border on the bottom of the tabs */
.ms-cui-ribbonTopBars &gt; div {
border-bottom:1px solid transparent !important;
}
</pre>
<p>This code will align the ribbon tabs keeping our 950 width in tact. like so…</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2011/03/ribbon-alined.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ribbon-alined" src="http://styledpoint.com/blog/wp-content/uploads/2011/03/ribbon-alined_thumb.jpg" border="0" alt="ribbon-alined" width="456" height="70" /></a></p>
<p><span style="text-decoration: underline;">Content with a larger width!</span></p>
<p>This little bit of code will correct pages where the content is actually larger than the width of the site. I use jQuery in this example so you will have to include it’s library!</p>
<p>An example of a page where the width is too much.<br />
<a href="http://styledpoint.com/blog/wp-content/uploads/2011/03/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://styledpoint.com/blog/wp-content/uploads/2011/03/image_thumb.png" border="0" alt="image" width="460" height="174" /></a></p>
<p>The Fix:</p>
<pre class="brush: js">
$(document).ready(function(){

//Elements with the potential to be too wide.
elements = $(&quot;.ms-bodyareacell &gt; div &gt; *, .main-container &gt; div &gt; *&quot;);
leftPanelWidth = $(&quot;#s4-leftpanel&quot;).width();

//For each Elements
$(elements).each(function(){

//if it&#039;s wider than the side width
if($(this).width() &gt; ($(&quot;#s4-bodyContainer&quot;).width() - leftPanelWidth ))
{
//Calculate the new width taking the left nav into account
newWidth = leftPanelWidth + $(this).width();
//Set the width!
$(&quot;#s4-bodyContainer&quot;).attr(&quot;style&quot;,&quot;width:&quot;+newWidth +&quot;px!important&quot;)
}
});
});
</pre>
<p>With this code it will rescale the page width to the content that is too big for it!</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2011/03/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://styledpoint.com/blog/wp-content/uploads/2011/03/image_thumb1.png" border="0" alt="image" width="460" height="119" /></a></p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/cUsDhrgJSqQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/fixed-width-centered-aligned-sharepoint-2010-site-updated/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/fixed-width-centered-aligned-sharepoint-2010-site-updated/</feedburner:origLink></item>
		<item>
		<title>Developing for SharePoint 2010 with jQuery Intellisense and more!</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/_3yq9607UNA/</link>
		<comments>http://styledpoint.com/blog/developing-for-sharepoint-2010-with-jquery-intellisense-and-more/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 20:44:56 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=155</guid>
		<description><![CDATA[Do  you ever have days when you sit back, take a breath and ponder just how rudimentary SharePoint Designer can feel when compared with a real IDE? I know I do and it&#8217;s this very thought that compelled me to search for an alternative. What I ended up with was a quick and easy setup [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://styledpoint.com/blog/developing-for-sharepoint-2010-with-jquery-intellisense-and-more/"><img class="alignnone size-full wp-image-172" title="title-jqueryr" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/title-jqueryr.png" alt="" width="460" height="101" /></a></p>
<p>Do  you ever have days when you sit back, take a breath and ponder just how rudimentary SharePoint Designer can feel when compared with a real IDE?</p>
<p>I know I do and it&#8217;s this very thought that compelled me to search for an alternative. What I ended up with was a quick and easy setup that allows me to have code collapse,  better syntax highlighting and jQuery Intellisense when I need to do some serious JavaScript editing.</p>
<p><span id="more-155"></span>Before I explain I want to make something clear. This is not for everyone. SharePoint Design is great for everything and anything SharePoint. It handles Wysiwyg editing, Web Part creation and much more, but some times I spend days upon days on just html, css and javascript. All I need is access to my layouts and branding files. If this sounds like you, keep on reading.</p>
<p>I have been using Visual Studio 2008 /2010 to edit files stored in my SharePoint Content database by simply mapping my Site Collection&#8217;s WebDAV to a drive! Follow these steps and you can too!</p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture1.png" alt="" width="134" height="57" /><em> </em></p>
<p><em>1) Map a network Drive</em></p>
<p><em><br />
</em></p>
<p><img class="size-full alignnone" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture2.png" alt="" width="520" height="360" /></p>
<p><em>Enter your SharePoint site&#8217;s address and make sure you login with the SharePoint creds</em></p>
<p><em><br />
</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture3.png" alt="" /></p>
<p><em>In Visual Studio open a website</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture5.png" alt="" /></p>
<p><em>If you need to access a hidden folder simply type it and click open</em></p>
<p><em><br />
</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture6.png" alt="" /></p>
<p><em>Tada! SharePoint files from a content database in Visual Studio!</em></p>
<p><em><br />
</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture7.png" alt="" /></p>
<p><em>To add additional folders simply click the solution and &#8220;add&#8221; an &#8220;existing web site&#8221;</em></p>
<p><em><br />
</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture8.png" alt="" /></p>
<p><em>Here you can see 3 sites added. Instead of including the root directory I just mapped the 3 I would be using.</em></p>
<p><em>Now what about jQuery Intellisense?</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture9.png" alt="" /></p>
<p><em><a href="http://docs.jquery.com/Downloading_jQuery">Download</a> the most current &#8220;Documentation: Visual Studio&#8221; on the<a href="http://docs.jquery.com/Downloading_jQuery"> jQuery website.</a></em></p>
<p><em>Include it in Javascript Directory. And add the following refrence at the top of your Javascript files.</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture10.png" alt="" /></p>
<p><em>Look! Intellisense on a JavaScript File located in the SharePoint Content Database!</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture11.png" alt="" /></p>
<p><em>You can even open Page Layouts, Edit and save.</em></p>
<p><img class="alignnone size-full" title="Capture1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/Capture12.png" alt="" /></p>
<p>Unfortunatly you can&#8217;t open Master Pages. But CSS and aspx pages are ok!</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/_3yq9607UNA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/developing-for-sharepoint-2010-with-jquery-intellisense-and-more/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/developing-for-sharepoint-2010-with-jquery-intellisense-and-more/</feedburner:origLink></item>
		<item>
		<title>Ribbon Customization: Changing Placement, Look and Behavior</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/19EvpSuK5Dw/</link>
		<comments>http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 16:48:13 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=97</guid>
		<description><![CDATA[* Note: This post was created with SharePoint 2010 Beta and might be a little off. Just keep that in mind! One of the biggest features of SharePoint 2010 is the Office Ribbon. Whether you love it or hate it, it&#8217;s here to stay and eventually you will be faced with the choice of including the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/"><img class="aligncenter size-full wp-image-139" title="title-customribbon" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/title-customribbon.png" alt="" width="460" height="230" /></a></p>
<address><span style="color: #888888;">* Note: This post was created with SharePoint 2010 Beta and might be a little off. Just keep that in mind!</span></address>
<p>One of the biggest features of SharePoint 2010 is the Office Ribbon. Whether you love it or hate it, it&#8217;s here to stay and eventually you will be faced with the choice of including the ribbon within your site branding. What can be edited and changed in the ribbon? Microsoft spent millions, if not billions of dollars to research and develop the ribbon so how much should we change?</p>
<p>Just because we can&#8230;does it mean we should?</p>
<p><span id="more-97"></span>I was recently at a meeting with one of our clients and a Microsoft rep. The client was having a hard time grasping the concept of the SharePoint Ribbon and its role in editing, administering and browsing a site.  The discussion went back forth. Eventually everything was sorted out but it got me thinking&#8230;the new ribbon is quite the mental hurdle and this discussion is bound to repeat itself as 2010 adoption grows.</p>
<p>I also realized the impact that the ribbon is going to have on branding. With SharePoint 2007, if you had the skills, you could essentially make SharePoint look any way your heart desired. As long as you included the &#8220;site actions&#8221; and other essential one click menus you could design and layout SharePoint as you wished.</p>
<p>In SharePoint 2010, the ribbon is static at the top the screen and it never scrolls. It plays a massive part in usability and administration. I am always on the quest to customize SharePoint to a point beyond recognition, but how far can I alter the ribbon?</p>
<p><strong>My Mission</strong>: To brand a 2010 site to my hearts content AND alter the look and feel of the ribbon making sure that it retains all previously established functionality and usability.</p>
<p><strong>The Rules:</strong> Just using CSS, Javascript and a custom Master Page. No Server Side Code. I&#8217;m not adding functionality. I&#8217;m just altering the look and feel.</p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2010/01/newdesign.jpg"><img class="aligncenter size-full wp-image-100" title="newdesign" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/newdesign.jpg" alt="" width="460" height="262" /></a></p>
<p><strong><br />
The Design:</strong>Whoa!  What did I do?! The ribbon isn&#8217;t at the top! What&#8217;s the reason for this? Well&#8230; I wanted to put more emphasis on the sites title and navigation; separating the two. This will allow my creativity to flourish because the ribbon is now it&#8217;s own entity. I can now focus on the design of the site as if it were a typical website; not having to worry about about my design functionality and its ability to mesh with the fixed ribbon on the top.</p>
<p><img class="aligncenter size-full wp-image-101" title="ribbon comparison-layout" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-comparison-layout.jpg" alt="" width="460" height="304" /></p>
<p><em>This image illustrates how I have removed the content from the &#8220;browse&#8221; tab and made it static, above the ribbon. If you were to click the browse button the ribbon will now just collapse. </em></p>
<p><em><img class="aligncenter size-full wp-image-106" title="ribbon comparison" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-comparison.jpg" alt="" width="460" height="287" /></em></p>
<p><em>As far as the design of the ribbon goes, I have just changed the colours, added the ruler background and rounded the corners all in an effort to align it with the look and feel I have chosen for the rest of the site.</em></p>
<p><strong>Changing the Position of the Ribbon: </strong>I know that changing the placement of the ribbon seems like a daunting task, but in reality it&#8217;s just the tabs and actions of the ribbon in two controls. There are other items in the default ribbon and they do include the nav and title but once you understand what each control does, it&#8217;s not hard to pick it apart and move the pieces around.</p>
<p>Here is a breakdown of the essential controls laid out to better understand how it all works:</p>
<div style="width: 440px; background-color: #e4e4e4; padding: 10px;"><strong>1 . </strong>&lt;SPRibbon PlaceholderElementId=&#8221;RibbonContainer&#8221;&gt;<br />
<strong>2 . </strong>&lt;SharePoint:SPRibbonPeripheralContent Location=&#8221;TabRowLeft&#8221;&gt;<br />
<strong>3 . </strong>&lt;SharePoint:SiteActions&gt;<br />
<strong>4 . </strong>&lt;asp:ContentPlaceHolder id=&#8221;PlaceHolderGlobalNavigation&#8221;&gt;<br />
&lt;SharePoint:PopoutMenu ID=&#8221;GlobalBreadCrumbNavPopout&#8221;&gt;<br />
&lt;SharePoint:PageStateActionButton&gt;<br />
<strong>5 . </strong>&lt;SharePoint:SPRibbonPeripheralContent Location=&#8221;TabRowRight&#8221;&gt;</div>
<p><img class="aligncenter size-full wp-image-110" title="guide1" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/guide1.jpg" alt="" width="460" height="159" /></p>
<p>To move the pieces, we want to the correct zone so we simply move the following areas:</p>
<p><img class="aligncenter size-full wp-image-126" title="guide2" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/guide2.jpg" alt="" width="455" height="150" /></p>
<p>The Following code can be placed anywhere in your master page to change the location of the ribbon tabs and action icons.</p>
<pre class="brush: html">
&lt;SharePoint:SPRibbon
runat=&quot;server&quot;
PlaceholderElementId=&quot;RibbonContainer&quot;
CssFile=&quot;&quot;&gt;
&lt;SharePoint:SPRibbonPeripheralContent
runat=&quot;server&quot;
Location=&quot;TabRowRight&quot;
ID=&quot;RibbonTabRowRight&quot;
CssClass=&quot;s4-trc-container s4-notdlg&quot;&gt;
&lt;/SharePoint:SPRibbonPeripheralContent&gt;
&lt;/SharePoint:SPRibbon&gt;
</pre>
<p><strong>Changing how the Ribbon looks: </strong>Just like any SharePoint branding it takes time and patience. To style the ribbon, I created a set of styles to work with the html that the SPRibbon Controls output. These styles are loaded last and override the initial default styles. In addition to these, I have used 3 background images to attain my design.</p>
<pre class="brush: css">

/* Removes the original background from the ribbon */
body #s4-ribboncont{
background-image:none;
margin-top:10px;
}

/* Globally set all the background colors to transparent and remove background images / borders */
#s4-ribbonrow,
#s4-ribbonrow *
{
background-color:transparent !important;
background-image:none;
border-width:0px;

}
.s4-ribbonrowhidetitle{
height:inherit !important;
}
/* After globally turning off borders.. turn back on the separators for the large icons*/
.ms-cui-groupSeparator {
border-right:1px solid #E7E7E8 !important;
}
.ms-cui-topBar2{
border-width:0px;
}

/* Set the background for the tabs at the top (Browse / Page) */
.ms-cui-ribbonTopBars{
background:url(&#039;../img/ribbon-top.png&#039;) no-repeat !important;
padding-top:0px;
padding-bottom:5px;
}

/* Set the background for the bottom part of the ribbon */
.ms-cui-tabContainer{
background:url(&#039;../img/ribbon-bottom.png&#039;) no-repeat !important;
padding-bottom:5px;
position:relative;
top:-6px;
}

/* Set the background for the additional dynamic tabs (Web parts / Lists ect) */
.ms-cui-cg-i{
background-image:url(&#039;../img/ribbon-tab.png&#039;) !important;
background-position:bottom left;
background-repeat:no-repeat !important;
height:20px;
margin-bottom:2px;
}
.ms-cui-cg-db .ms-cui-cg-t{
height:17px;
background-image:url(&#039;../img/ribbon-tab.png&#039;) !important;
background-position:bottom right !important;
background-repeat:no-repeat !important;
margin-left:4px;
}
.ms-cui-cg-t-i{
color:white;
font-weight:bold;
}
.ribbon-wrapper{
position:relative;
}

/* For use with the next step! read on! */

.fixed-ribbon{
position:fixed;
top:0;
width:950px;
z-index:21;
}
</pre>
<p><em>Have a look at the background images to give you an idea how I did it.</em></p>
<p><em>ribbon-top.png<br />
<a href="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-top.png"><img class="aligncenter size-thumbnail wp-image-133" title="ribbon-top" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-top-150x52.png" alt="" width="459" height="21" /></a></em> <em>ribbon-bottom.png<a href="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-bottom.png"> </a></em></p>
<p><a href="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-bottom.png"><img class="aligncenter size-thumbnail wp-image-132" title="ribbon-bottom" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/ribbon-bottom-150x96.png" alt="" width="460" height="29" /></a></p>
<p><strong>Changing how the Ribbon behaves: </strong>Now that I have the ribbon in the correct location and it&#8217;s styled to my liking, I have one last step. The ribbon was designed to always be visible. That&#8217;s why it&#8217;s fixed at the top of the screen. An example of this would be a content editor web part at the bottom of a page. You scroll down to the bottom but the controls to edit, change fonts and add links are in the header and would not be visible. I have now taken the ribbon from the fixed position at the top of the screen and have included it in the master page as a relative HTML box that scrolls.</p>
<p>With some jQuery we can overcome this inherent problem by toggling the ribbon to become fixed when the page scrolls to a position where the ribbon would be out of the viewable area.<br />
<em>*Note: This assumes that the ribbon has been placed in a custom div with the class of &#8220;ribbon-wrapper&#8221;</em></p>
<pre class="brush: javascript">
// This is written in jQuery.
// This piece of code will toggle the ribbon from a fixed position to a relative position based on the viewable area in the browser

// When the Window Scrolls
$(window).scroll(function () {

// The Current Window in an object
var jWindow = $(window);

// If the Ribbon is turned on...
if(hideRibbon != true)
{

//If the top of the page is over 145 pixels scrolled then...
if(jWindow.scrollTop() &gt; 145)
{

// Set the height of the ribbon box and toggle it to fixed.
$(&quot;.ribbon-wrapper&quot;).css(&quot;height&quot;, $(&quot;#s4-ribbonrow&quot;).height() + &quot;px&quot;);
$(&quot;#s4-ribbonrow&quot;).addClass(&quot;fixed-ribbon&quot;);

}

//If the top of the page is less than 145 pixels scrolled then...
else if(jWindow.scrollTop() &lt; 146)
{

// Remove the set height and toggle it back to relative
$(&quot;#s4-ribbonrow&quot;).removeClass(&quot;fixed-ribbon&quot;);
$(&quot;.ribbon-wrapper&quot;).removeAttr(&quot;style&quot;);

}
}

});
</pre>
<p>Last but not least, since I have now removed the title from being displayed in the ribbon when &#8220;browse&#8221; is selected, let&#8217;s collapse the ribbon to only show the tabs.</p>
<pre class="brush: javascript">

// If there aren&#039;t any buttons in the ribbon don&#039;t display the box.
hideRibbon = true;

// The the Ribbon is loaded in the DOM
$(&quot;#RibbonContainer&quot;).ready(function(){

// Loop through the children of the ribbon icons. And if you find a child, set the flag to false.
$(&quot;#s4-ribboncont .ms-cui-tts li&quot;).each(function(){
hideRibbon = false
});

//If the flag was never triggered (no icons were found) then hide the ribbon box.
if(hideRibbon)
{
$(&quot;#s4-ribbonrow&quot;).hide();
}
});
</pre>
<p><strong>Conclusion: </strong>Branding the ribbon is not for the faint of heart. As you can see it takes a lot of time and effort. I know that the ribbon was never meant to be branded or moved but I really do think that we can&#8217;t fully establish a custom look and feel until everything has been branded.</p>
<p>Being able to change the location and design of the ribbon to a safe level of customization will satisfy those of us on the eternal quest to make SharePoint our own&#8230;for ourselves and for our customers.</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/19EvpSuK5Dw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/</feedburner:origLink></item>
		<item>
		<title>SharePoint Branding Whitepaper</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/2GS51CTs2cE/</link>
		<comments>http://styledpoint.com/blog/new-sharepoint-branding-whitepaper/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 15:44:30 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=88</guid>
		<description><![CDATA[Download HERE The new whitepaper I just wrote on branding SharePoint has just been release by the company I call home, Non~Linear Creations. In my paper I dive into the Five steps for transforming the visual design of SharePoint. Check it out and let me know what you think.]]></description>
			<content:encoded><![CDATA[<p><a href="/blog/new-sharepoint-branding-whitepaper/"><img class="aligncenter size-full wp-image-89" title="title-image-whitepaper" src="http://styledpoint.com/blog/wp-content/uploads/2010/01/title-image-whitepaper.png" alt="" width="460" height="101" /></a></p>
<p><strong style="font-size:1.3em;"><a href="http://www.nonlinearcreations.com/Whitepapers/SharePoint-Branding-Best-Practices.aspx">Download HERE</a></strong></p>
<p>The new whitepaper I just wrote on branding SharePoint has just been release by the company I call home, Non~Linear Creations.</p>
<p>In my paper I dive into the Five steps for transforming the visual design of SharePoint.</p>
<p>Check it out and let me know what you think.</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/2GS51CTs2cE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/new-sharepoint-branding-whitepaper/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/new-sharepoint-branding-whitepaper/</feedburner:origLink></item>
		<item>
		<title>Fixed width, centered SharePoint 2010 Site</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/EHG3SxJ8tlc/</link>
		<comments>http://styledpoint.com/blog/fixed-width-centered-sharepoint-2010-site/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 19:56:10 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=72</guid>
		<description><![CDATA[I retackled this fix and now have a much better way of doing this that I have been using for many projects. Please see my new solution here &#8212; Old Solution for archive purposes &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; I was faced with the challenge of creating my first fixed width SharePoint site and the content had to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/blog/fixed-width-centered-sharepoint-2010-site/"><img class="aligncenter size-full wp-image-76" title="title-image-fixed width" src="http://styledpoint.com/blog/wp-content/uploads/2009/12/title-image-fixed-width.png" alt="" width="460" height="101" /></a></p>
<p>I retackled this fix and now have a much better way of doing this that I have been using for many projects.<br />
<a href="http://styledpoint.com/blog/fixed-width-centered-aligned-sharepoint-2010-site-updated/"><strong>Please see my new solution here</strong></a></p>
<p>&#8212; Old Solution for archive purposes &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I was faced with the challenge of creating my first fixed width SharePoint site and the content had to be centered!</p>
<p>SharePoint 2010 implements a complicated system of divs, css and JavaScript to attain their static ribbon at the top of the screen but unfortunately this can get messy with different layout types.</p>
<p><span id="more-72"></span>In the master page remove the s4-workspace ID from the the div. This is the ID the java script looks for to resize the content.</p>
<p>Second, add the following to your branding css file or a style tag in the header after the core.css</p>
<pre class="brush: css">/* Page Wrapper */
body{
overflow:auto;

}
form
{
width:950px;
margin-left:auto;
margin-right:auto
}
</pre>
<p>That&#8217;s it!</p>
<p>The fixed width gets centered by the auto margins and the page properly shows the scroll bars because of the overflow:auto!</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/EHG3SxJ8tlc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/fixed-width-centered-sharepoint-2010-site/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/fixed-width-centered-sharepoint-2010-site/</feedburner:origLink></item>
		<item>
		<title>SP Designer 2007: An annoying error: Solved!</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/YuFRfRJlT68/</link>
		<comments>http://styledpoint.com/blog/an-annoying-error-solved/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 17:43:13 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[SharePoint Designer 2007]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=68</guid>
		<description><![CDATA[I recieved this weird error in SharePoint Designer. Cannot perform this operation. The file is no longer checked out or has been deleted. After googling it I found some solutions. but all were in mention to the web cache. Locate the WebsiteCache directory below and delete it: Vista: %UserProfile%\AppData\Local\Microsoft\WebsiteCache Windows 2003/XP: %UserProfile%\Local Settings\Application Data\Microsoft\WebsiteCache This [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/blog/an-annoying-error-solved/"><img class="aligncenter size-full wp-image-81" title="title-image-error" src="http://styledpoint.com/blog/wp-content/uploads/2008/11/title-image-error.png" alt="" width="460" height="101" /></a></p>
<p>I recieved this weird error in SharePoint Designer.</p>
<blockquote><p>Cannot perform this operation. The file is no longer checked out or has been deleted.</p></blockquote>
<p>After googling it I found some solutions.</p>
<p><span id="more-68"></span>but all were in mention to the web cache.</p>
<blockquote><p>Locate the WebsiteCache directory below and delete it:</p>
<p>Vista: <strong>%UserProfile%\AppData\Local\Microsoft\WebsiteCache</strong></p>
<p>Windows 2003/XP: <strong>%UserProfile%\Local Settings\Application Data\Microsoft\WebsiteCache</strong></p></blockquote>
<p>This didn&#8217;t work for me. After trying a million things I found out that you can&#8217;t access your site from anything but the host name. For me I use an external version of SharePoint designer accessing my SharePoint VM.</p>
<p>So instead of using an IP I ended up making an entry in my host file</p>
<blockquote><p><code>%SystemRoot%\system32\drivers\etc\host</code></p>
<p>123.123.123.123      sharepointvm1</p></blockquote>
<p>Simple solution? Yes. but took me a while and wanted to share my findings.</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/YuFRfRJlT68" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/an-annoying-error-solved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/an-annoying-error-solved/</feedburner:origLink></item>
		<item>
		<title>Where have I been?!</title>
		<link>http://feedproxy.google.com/~r/StyledPoint/~3/peDy4UzlQ8o/</link>
		<comments>http://styledpoint.com/blog/where-have-i-been/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:03:55 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://styledpoint.com/blog/?p=64</guid>
		<description><![CDATA[You as my ever so loyal reader must be wondering where I have been for the last 2 weeks. Well I went to Italy! I&#8217;m back and It&#8217;s time to get back to work! Expect some more interesting posts in the future!]]></description>
			<content:encoded><![CDATA[<p><a href="/blog/where-have-i-been/"><img class="aligncenter size-full wp-image-84" title="title-image-italy" src="http://styledpoint.com/blog/wp-content/uploads/2008/10/title-image-italy.png" alt="" width="460" height="101" /></a><br />
You as my ever so loyal reader must be wondering where I have been for the last 2 weeks. Well I went to Italy!</p>
<p>I&#8217;m back and It&#8217;s time to get back to work! Expect some more interesting posts in the future!</p>
<img src="http://feeds.feedburner.com/~r/StyledPoint/~4/peDy4UzlQ8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://styledpoint.com/blog/where-have-i-been/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://styledpoint.com/blog/where-have-i-been/</feedburner:origLink></item>
	</channel>
</rss>

