<?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>Ben There, Done That &#187; Content Editor</title>
	<atom:link href="http://www.benstegink.com/tag/content-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benstegink.com</link>
	<description>Another SharePoint Blog about where I've been and what I've done</description>
	<lastBuildDate>Thu, 19 May 2011 02:40:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hide Web Part Headers with SharePoint 2010</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:20:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Customizations]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Content Editor]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/02/01/hide-web-part-headers-with-sharepoint-2010/</guid>
		<description><![CDATA[A while a go a write a short post on how to hide web part headers in SharePoint 2007.&#160; Recently I had some inquire how to do the same thing for SharePoint 2010.&#160; So, here is what to do in order to hide a web part header in SharePoint 2010. 1.&#160; Add a content editor [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D430"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D430&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A while a go a write a short post on how to hide web part headers in SharePoint 2007.&#160; Recently I had some inquire how to do the same thing for SharePoint 2010.&#160; So, here is what to do in order to hide a web part header in SharePoint 2010.</p>
<p>1.&#160; Add a content editor web part to your page.</p>
<p>2. Edit the Web Part</p>
<p>3. Click in the content area of the web part, click HTML and select “Edit HTML Source”</p>
<p>4. Put the following code in the web part:</p>
</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:0c9067be-b95f-4d6e-bc7f-96a7b22bedb9" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #ddd; max-height: 300px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color:#0000ff">&lt;</span><span style="color:#a31515">style</span><span style="color:#0000ff">&gt;</span></li>
<li style="background: #f3f3f3">&#160;&#160;TR.ms-viewheadertr &gt; TH.ms-vh2 {</li>
<li>&#160;&#160;DISPLAY: none</li>
<li style="background: #f3f3f3">&#160;&#160;}</li>
<li><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">style</span><span style="color:#0000ff">&gt;</span></li>
</ol></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>5. Click “OK”</p>
<p>6. Expand “Appearance” (on the right side of the page)</p>
<p>7. Set the chrome type to “None”</p>
<p>8. Click “OK” and then save and check in your page.</p>
<p>The headers of your web part should now be hidden.&#160; This can be extremely helpful when your page contains a web part using “boxed” for your style when creating a list view.&#160; The only downside to this approach is if you have multiple web parts on a single page, it will hide the headers for all the web parts on your site.</p>
<p><a href="http://www.benstegink.com/2008/12/10/hide-column-header-in-a-list-web-parts/">How to do the same thing in SharePoint 2007</a></p>
<!-- AdSense Now! Redux V1.80 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6672311120604391";
/* 234x60, created 6/24/10 */
google_ad_slot = "7863309956";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>JavaScript error editing Web Parts on a SharePoint Page</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=452</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=452#comments</comments>
		<pubDate>Thu, 21 May 2009 16:23:10 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[CEWP]]></category>
		<category><![CDATA[Content Editor]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[WSS]]></category>
		<category><![CDATA[WSSv3]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2009/05/21/javascript-error-editing-web-parts-on-a-sharepoint-page/</guid>
		<description><![CDATA[I was working with a client over the last few days on building a Project Workspace site template.&#160; We were nearly finished and had to make a couple last edits to a web part when we hit the JavaScript error.&#160; When expanding the details of the error it was similar to: line: 2135 Char: 4 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D452"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D452&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I was working with a client over the last few days on building a Project Workspace site template.&#160; We were nearly finished and had to make a couple last edits to a web part when we hit the JavaScript error.&#160; When expanding the details of the error it was similar to:</p>
<p>line: 2135   <br />Char: 4    <br />Error: &#8216;style.display&#8217; is null or not an object    <br />code: 0</p>
<p>This error was keeping us from adding web parts and modifying current web parts (we could still delete web parts, but only by using <a href="http://url/default.aspx?contents=1">http://url/default.aspx?contents=1</a> to get to our web part maintenance page).</p>
<p>I did some researching and thanks to <a href="http://www.eggheadcafe.com/conversation.aspx?messageid=30654105&amp;threadid=30654105">this thread</a>, I found this solution:</p>
<p>1)&#160; Place page in edit mode   <br />2)&#160; Edit the content of the content editor web part by selecting the    <br />&#8216;modify web part&#8217; drop down menu    <br />3)&#160; Select the Rich Text Editor and copy the text if you do not want    <br />to lose it.    <br />4)&#160; Select Source Editor button, this opens the HTML source code for    <br />the CE Web Part    <br />5)&#160; Remove the source code.&#160; Our source code had a conflicting ID.    <br />6)&#160; Update CE web part and make sure source code does not have auto    <br />generated code, or just add a new content editor web part.</p>
<p>The thread varies on what web parts people had on the page, in our case, we only had one content editor web part and then several list web parts.&#160; Once we removed our single content editor web part, everything worked beautifully.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=452/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.339 seconds -->

