<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Eric Webb &#187; sharepoint</title>
	<atom:link href="http://ericcwebb.com/category/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericcwebb.com</link>
	<description>Work, life, and everything else...</description>
	<lastBuildDate>Thu, 12 May 2011 00:13:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>SharePoint 2010 &#8211; Page Layouts getting deployed as &#8220;customized&#8221;</title>
		<link>http://ericcwebb.com/2011/04/25/sharepoint-2010-page-layouts-getting-deployed-as-customized/</link>
		<comments>http://ericcwebb.com/2011/04/25/sharepoint-2010-page-layouts-getting-deployed-as-customized/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 17:23:35 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=154</guid>
		<description><![CDATA[This is getting filed under the truly bizarre category. I&#8217;m working on deploying a masterpage and a page layout as part of a solution package for my current client.  I finished designing both files and have added them to my solution.  I verified that neither had any of the &#8220;extra&#8221; markup that SharePoint Designer adds [...]]]></description>
			<content:encoded><![CDATA[<p>This is getting filed under the truly bizarre category.</p>
<p>I&#8217;m working on deploying a masterpage and a page layout as part of a solution package for my current client.  I finished designing both files and have added them to my solution.  I verified that neither had any of the &#8220;extra&#8221; markup that SharePoint Designer adds when you create files.  I deployed the solution to my environment and everything worked as expected.</p>
<p>I then needed to make a change to the page layout.  So, I made the change in the solution and re-deployed the .wsp only to find that my page layout didn&#8217;t get updated.  I opened up SPD to find that my page layout was marked as &#8220;customized&#8221;!  I checked all of the usual gotchas with regards to this issue (search Google) and even tried to &#8220;Revert to Site Definition&#8221;.  Nothing worked.</p>
<p>I then noticed that Visual Studio had made all of my &#8220;&lt;asp:Content&gt;&#8221; tags lowercase (&lt;asp:content&gt;).  Surely that couldn&#8217;t be the issue, right?  Wrong.  I changed them back to &#8220;&lt;asp:Content&gt;&#8221; and everything worked as expected.</p>
<p>I guess I should have known better since I&#8217;ve had this issue in the past with SharePoint 2007 (<a href="http://ericcwebb.com/2011/01/18/sharepoint-page-layouts-extra-markup-added/">http://ericcwebb.com/2011/01/18/sharepoint-page-layouts-extra-markup-added/</a>).  However, I at least got an error message with that issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2011/04/25/sharepoint-2010-page-layouts-getting-deployed-as-customized/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Unmanaged Accounts</title>
		<link>http://ericcwebb.com/2010/07/08/sp-2010-unmanaged-accounts/</link>
		<comments>http://ericcwebb.com/2010/07/08/sp-2010-unmanaged-accounts/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 14:01:00 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=115</guid>
		<description><![CDATA[Take a look at this article: http://www.windowsitpro.com/article/sharepoint/Watch-Out-for-Unmanaged-Accounts.aspx Apparently, MS didn&#8217;t make every account managed. I just ran into an issue today where the default content access account automatically reset it&#8217;s password and it didn&#8217;t get updated in the search service. As a result, all crawls started to fail.]]></description>
			<content:encoded><![CDATA[<p>Take a look at this article: <a href="http://www.windowsitpro.com/article/sharepoint/Watch-Out-for-Unmanaged-Accounts.aspx" target="_blank">http://www.windowsitpro.com/article/sharepoint/Watch-Out-for-Unmanaged-Accounts.aspx</a></p>
<p>Apparently, MS didn&#8217;t make every account managed.  I just ran into an issue today where the default content access account automatically reset it&#8217;s password and it didn&#8217;t get updated in the search service.  As a result, all crawls started to fail.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2010/07/08/sp-2010-unmanaged-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 CSS &#8211; Dialog Boxes</title>
		<link>http://ericcwebb.com/2010/04/30/sharepoint-2010-css-dialog-boxes/</link>
		<comments>http://ericcwebb.com/2010/04/30/sharepoint-2010-css-dialog-boxes/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:48:10 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=105</guid>
		<description><![CDATA[Came across a good post here about dealing with dialog boxes when branding a SharePoint 2010 site: http://www.heatherwaterman.com/blog/Lists/Posts/Post.aspx?ID=21. Adding .ms-dialog in front of some additional styles allowed me to remove my page background image and remove the fixed width in my container div.  Good deal.]]></description>
			<content:encoded><![CDATA[<p>Came across a good post here about dealing with dialog boxes when branding a SharePoint 2010 site: <a href="http://www.heatherwaterman.com/blog/Lists/Posts/Post.aspx?ID=21">http://www.heatherwaterman.com/blog/Lists/Posts/Post.aspx?ID=21</a>.</p>
<p>Adding .ms-dialog in front of some additional styles allowed me to remove my page background image and remove the fixed width in my container div.  Good deal.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2010/04/30/sharepoint-2010-css-dialog-boxes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Page Layouts, Solutions and SharePoint Designer (Updated)</title>
		<link>http://ericcwebb.com/2010/01/22/page-layouts-solutions-and-sharepoint-designer/</link>
		<comments>http://ericcwebb.com/2010/01/22/page-layouts-solutions-and-sharepoint-designer/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 18:45:12 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=98</guid>
		<description><![CDATA[If you are deploying custom page layouts using a feature, DO NOT OPEN THEM IN SHAREPOINT DESIGNER! Not even once. Not just to &#8220;take a look&#8221;. Not for giggles. Why? Because once you open that page layout in SharePoint Designer, it gets un-ghosted. This does two things. First, it means that you have to make [...]]]></description>
			<content:encoded><![CDATA[<p>If you are deploying custom page layouts using a feature, DO NOT OPEN THEM IN SHAREPOINT DESIGNER!  Not even once.  Not just to &#8220;take a look&#8221;.  Not for giggles.</p>
<p>Why?  Because once you open that page layout in SharePoint Designer, it gets un-ghosted.  This does two things.  First, it means that you have to make changes in SharePoint Designer.  The .aspx file in the feature directory is no longer used when rendering pages based on that page layout.  Second, if you&#8217;ve attached a code-behind to the page, you&#8217;ll get a error indicating that type is not registered as safe.  This occurs because SharePoint uses a type-safe parser on all un-ghosted content.</p>
<p>If you&#8217;ve come accross this post because you already did open the page layout in SPD, have no fear.  To remedy your error, simply go to Site Actions&#8230;Site Settings&#8230;Reset to Site Definition.  Once you do that, re-deploy your feature containing the page layout.  Now, your page layout is ghosted.</p>
<p>Update:  Well, I ran into an issue where &#8220;Reset to Site Definition&#8221; just didn&#8217;t work.  So, I tried the stsadm command here (with -force): http://stsadm.blogspot.com/2007/09/re-ghosting-pages.html and now we&#8217;re back to un-ghosted.  Very frustrating.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2010/01/22/page-layouts-solutions-and-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint Top Nav Dividers</title>
		<link>http://ericcwebb.com/2009/09/01/sharepoint-top-nav-dividers/</link>
		<comments>http://ericcwebb.com/2009/09/01/sharepoint-top-nav-dividers/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 20:49:10 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=80</guid>
		<description><![CDATA[In a client project I&#8217;m working on, the design calls for dividers in between each navigation link. No problem. Here&#8217;s the CSS: .ms-topnav a { border-left-style:solid !important; border-left-color:#fff !important; border-left-width:1px !important; padding: 0 10px 0 10px; } However, this leaves the border on the first element of the navigation, which we don&#8217;t want. There&#8217;s no [...]]]></description>
			<content:encoded><![CDATA[<p> In a client project I&#8217;m working on, the design calls for dividers in between each navigation link.  No problem.  Here&#8217;s the CSS:</p>
<pre><code class="css">.ms-topnav a
{
	border-left-style:solid !important;
	border-left-color:#fff !important;
	border-left-width:1px !important;
	padding: 0 10px 0 10px;

}</code>
</pre>
<p>However, this leaves the border on the first element of the navigation, which we don&#8217;t want.  There&#8217;s no way to select that element using just CSS, so JQuery to the rescue:</p>
<pre><code class="js">$(document).ready(function(){

	$(".ms-topNavContainer").each(function() {

        var links = $(this).find("a");

        if (links.length &gt; 0) {
            var link = links[0];
            $(link).addClass("navLast");
        }

    });

});</code>
</pre>
<p>The CSS for &#8220;navLast&#8221;:</p>
<pre><code class="css">a.navLast
{
	border-left-style:none !important;
}</code>
</pre>
<p>The interesting thing here is that it has to be &#8220;a.navLast&#8221;.  For some reason, &#8220;.navLast&#8221; doesn&#8217;t work.  Also, you can&#8217;t use &#8220;border-left&#8221; to add the dividers.  You have to use the individual styles (most likely because of the inline styles on the element).</p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2009/09/01/sharepoint-top-nav-dividers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SharePoint base css</title>
		<link>http://ericcwebb.com/2009/08/25/sharepoint-base-css/</link>
		<comments>http://ericcwebb.com/2009/08/25/sharepoint-base-css/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 20:35:34 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=72</guid>
		<description><![CDATA[Here&#8217;s a simple stylesheet that I&#8217;m going to start using as a basis for customizing all of my Sharepoint team sites. /* Top Bar */ .ms-globalbreadcrumb { background-color:#7caf72; } /* Header */ .ms-globalTitleArea { background:none !important; } /* Navigation */ .ms-bannerContainer, .ms-pagemargin, .ms-navframe, .ms-leftareacell { background:none !important; } .ms-nav { background-image:none !important; } .ms-topnavContainer, .ms-topnavselected, [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple stylesheet that I&#8217;m going to start using as a basis for customizing all of my Sharepoint team sites.</p>
<p><img class="aligncenter size-medium wp-image-73" title="CleanCSS" src="http://ericcwebb.com/wp-content/uploads/2009/08/CleanCSS-300x150.PNG" alt="CleanCSS" width="300" height="150" /></p>
<pre><code class="css">/* Top Bar */
.ms-globalbreadcrumb
{
	background-color:#7caf72;
}

/* Header */
.ms-globalTitleArea
{
	background:none !important;
}

/* Navigation */
.ms-bannerContainer, .ms-pagemargin, .ms-navframe, .ms-leftareacell
{
	background:none !important;
}
.ms-nav
{
	background-image:none !important;
}
.ms-topnavContainer, .ms-topnavselected, .ms-topnav {
	border: none;
	background: none;

}

table.ms-topnavselected, table.ms-topnav {
	height: 30px;
	margin-left: 1px;
	margin-right: 1px;
}
.ms-topnavContainer div
{
	background-color:transparent !important;	
}
.ms-topNavFlyOuts, .ms-topNavFlyOuts a:link
{
	background-color:transparent !important;
}
/* Body */
body {
	text-align: center; 
	margin: 0px auto;
}
body.ms-BuilderBackground {
    text-align: left !important;}
.ms-main
{	
    background: #fff;  
    width: 1020px !important;
    height: 100%; 
    margin: 0px auto !important;	
    border-bottom:10px #7caf72 solid;
}
table.ms-main 
{
	text-align: left;
}
/* Gets rid of default light blue background everywhere */
.ms-pagemargin, .ms-nav, .ms-pagebottommargin, .ms-pagebottommarginleft, 
.ms-pagebottommarginright, td.ms-rightareacell div.ms-pagemargin, .ms-titlearealeft,
.ms-titlearearight, .ms-titleareaframe, .ms-pagetitleareaframe, 
.ms-pagetitleareaframe TABLE, .ms-bodyareapagemargin, .ms-bodyareaframe, 
.ms-areaseparatorright, .ms-areaseparatorleft
{
	background: transparent !important;
	border: none;
}

.ms-pagebreadcrumb a {
	background-color: transparent;
	color:#fff;
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2009/08/25/sharepoint-base-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring and Deploying Anonymous Publishing Sites for SharePoint Server 2007</title>
		<link>http://ericcwebb.com/2009/04/09/configuring-and-deploying-anonymous-publishing-sites-for-sharepoint-server-2007/</link>
		<comments>http://ericcwebb.com/2009/04/09/configuring-and-deploying-anonymous-publishing-sites-for-sharepoint-server-2007/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 13:42:00 +0000</pubDate>
		<dc:creator>Eric Webb</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://ericcwebb.com/?p=23</guid>
		<description><![CDATA[Helpful article just posted: http://msdn.microsoft.com/en-us/library/dd638968.aspx]]></description>
			<content:encoded><![CDATA[<p>Helpful article just posted:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd638968.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/dd638968.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ericcwebb.com/2009/04/09/configuring-and-deploying-anonymous-publishing-sites-for-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

