<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: More SharePoint Branding &#8211; Customisation using Javascript &#8211; Part 5</title>
	<atom:link href="http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/</link>
	<description>After much frustration, it seems DEFAULT is the way to go...</description>
	<lastBuildDate>Tue, 27 Jul 2010 11:20:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: tyro</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-1452</link>
		<dc:creator>tyro</dc:creator>
		<pubDate>Thu, 31 Jul 2008 12:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-1452</guid>
		<description>Fine
I hide the fields but not and data.
View source ...
Find &quot;IP address&quot; ...




.....

Kind regards

Tyro</description>
		<content:encoded><![CDATA[<p>Fine<br />
I hide the fields but not and data.<br />
View source &#8230;<br />
Find &#8220;IP address&#8221; &#8230;</p>
<p>&#8230;..</p>
<p>Kind regards</p>
<p>Tyro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyro</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-1424</link>
		<dc:creator>tyro</dc:creator>
		<pubDate>Tue, 29 Jul 2008 12:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-1424</guid>
		<description>http://www.cleverworkarounds.com/2008/03/12/more-sharepoint-branding-customisation-using-javascript-part-6/</description>
		<content:encoded><![CDATA[<p><a href="http://www.cleverworkarounds.com/2008/03/12/more-sharepoint-branding-customisation-using-javascript-part-6/" rel="nofollow">http://www.cleverworkarounds.com/2008/03/12/more-sharepoint-branding-customisation-using-javascript-part-6/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyro</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-1423</link>
		<dc:creator>tyro</dc:creator>
		<pubDate>Tue, 29 Jul 2008 12:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-1423</guid>
		<description>&lt;a href=&quot;http://www.cleverworkarounds.com/2008/03/12/more-sharepoint-branding-customisation-using-javascript-part-6/&quot; title=&quot;part 6 may be&quot; / rel=&quot;nofollow&quot;&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://www.cleverworkarounds.com/2008/03/12/more-sharepoint-branding-customisation-using-javascript-part-6/" title="part 6 may be" / rel="nofollow"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CleverWorkarounds &#187; Free MOSS Web Part - Hide Controls via JavaScript</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-1209</link>
		<dc:creator>CleverWorkarounds &#187; Free MOSS Web Part - Hide Controls via JavaScript</dc:creator>
		<pubDate>Sat, 12 Jul 2008 00:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-1209</guid>
		<description>[...] full series can be found here: Part 1, Part 2, Part 3, Part 4, Part 5 and Part [...]</description>
		<content:encoded><![CDATA[<p>[...] full series can be found here: Part 1, Part 2, Part 3, Part 4, Part 5 and Part [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tod Nicholas Thomson</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-836</link>
		<dc:creator>Tod Nicholas Thomson</dc:creator>
		<pubDate>Tue, 24 Jun 2008 07:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-836</guid>
		<description>Update:

I have made it work via a kind of &#039;javascript injection&#039;.

i.e. I add the following to the &#039;List of HTML element IDs to hide on this page&#039; I add the following:

ctl00_m_g_99e9305b_c9cd_4704_8a99_02850749f2d0_ctl00_ctl02_ctl00_ContentTypeChoice&#039;).parentNode.parentNode.style.display=&quot;none&quot;; document.getElementById(&#039;ctl00_m_g_99e9305b_c9cd_4704_8a99_02850749f2d0_ctl00_ctl02_ctl00_ContentTypeChoice

You can see I close the first javascript statement and then start the second...

I would still encourage you to add this to codeplex - this would allow me to do this properly.

Cheers! (and thanks again),

Tod T.</description>
		<content:encoded><![CDATA[<p>Update:</p>
<p>I have made it work via a kind of &#8216;javascript injection&#8217;.</p>
<p>i.e. I add the following to the &#8216;List of HTML element IDs to hide on this page&#8217; I add the following:</p>
<p>ctl00_m_g_99e9305b_c9cd_4704_8a99_02850749f2d0_ctl00_ctl02_ctl00_ContentTypeChoice&#8217;).parentNode.parentNode.style.display=&#8221;none&#8221;; document.getElementById(&#8216;ctl00_m_g_99e9305b_c9cd_4704_8a99_02850749f2d0_ctl00_ctl02_ctl00_ContentTypeChoice</p>
<p>You can see I close the first javascript statement and then start the second&#8230;</p>
<p>I would still encourage you to add this to codeplex &#8211; this would allow me to do this properly.</p>
<p>Cheers! (and thanks again),</p>
<p>Tod T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tod Nicholas Thomson</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-835</link>
		<dc:creator>Tod Nicholas Thomson</dc:creator>
		<pubDate>Tue, 24 Jun 2008 07:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-835</guid>
		<description>Hi Paul,

I have successfully used your WSP CleverWorkAroundsHideFields.wsp to hide fields in my Edit form. Thanks :)

There is (however) one issue that I am having.

I am trying to hide the &#039;Content Type&#039; field in the Edit Form and it (clearly) doesn&#039;t work because the &#039;Content Type&#039; doesn&#039;t have a comment field like below:



I&#039;m sure that with the project source I could make the modifications I need to get this working (via the control.parentNode.parentNode.style.display=&quot;none&quot; as you have presented).

To get to the point - I&#039;m keen for you to release this to codeplex so I can do that :)

Feel free to contact me to discuss.

Cheers!

Tod T.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I have successfully used your WSP CleverWorkAroundsHideFields.wsp to hide fields in my Edit form. Thanks <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There is (however) one issue that I am having.</p>
<p>I am trying to hide the &#8216;Content Type&#8217; field in the Edit Form and it (clearly) doesn&#8217;t work because the &#8216;Content Type&#8217; doesn&#8217;t have a comment field like below:</p>
<p>I&#8217;m sure that with the project source I could make the modifications I need to get this working (via the control.parentNode.parentNode.style.display=&#8221;none&#8221; as you have presented).</p>
<p>To get to the point &#8211; I&#8217;m keen for you to release this to codeplex so I can do that <img src='http://www.cleverworkarounds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Feel free to contact me to discuss.</p>
<p>Cheers!</p>
<p>Tod T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Jackson</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-300</link>
		<dc:creator>Chris Jackson</dc:creator>
		<pubDate>Mon, 31 Mar 2008 10:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-300</guid>
		<description>Hi Paul,

Outstanding post but i do have one quick question if you would be so kind as to have a look?

I have a scenario where i would like certain fields to appear when a user makes a change to a drop down list box called Call Type.

When the user selects a choice from the list the hidefields script would run revealling the extra fields to be filled in.

I have tried to do this using an OnChange event and a Switch statement around the following piece of your code but am not getting anywhere?



_spBodyOnLoadFunctionNames.push(&quot;hideFields&quot;);

function findacontrol(FieldName) {
   var arr = document.getElementsByTagName(&quot;!&quot;);//get all comments
   for (var i=0;i  0) {
         return arr[i];
      }
   }
}

function hideFields() {
   // uncomment the next line if you are troubleshooting
   // debugger;
   var control;
   // Add the two lines below for each control to be hidden
   //control = findacontrol(&quot;&quot;);
   //control.parentNode.parentNode.style.display=&quot;none&quot;;
}


Any help would be appreciated

Kind regards

Chris</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Outstanding post but i do have one quick question if you would be so kind as to have a look?</p>
<p>I have a scenario where i would like certain fields to appear when a user makes a change to a drop down list box called Call Type.</p>
<p>When the user selects a choice from the list the hidefields script would run revealling the extra fields to be filled in.</p>
<p>I have tried to do this using an OnChange event and a Switch statement around the following piece of your code but am not getting anywhere?</p>
<p>_spBodyOnLoadFunctionNames.push(&#8220;hideFields&#8221;);</p>
<p>function findacontrol(FieldName) {<br />
   var arr = document.getElementsByTagName(&#8220;!&#8221;);//get all comments<br />
   for (var i=0;i  0) {<br />
         return arr[i];<br />
      }<br />
   }<br />
}</p>
<p>function hideFields() {<br />
   // uncomment the next line if you are troubleshooting<br />
   // debugger;<br />
   var control;<br />
   // Add the two lines below for each control to be hidden<br />
   //control = findacontrol(&#8220;&#8221;);<br />
   //control.parentNode.parentNode.style.display=&#8221;none&#8221;;<br />
}</p>
<p>Any help would be appreciated</p>
<p>Kind regards</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SharePoint 2007 : SharePoint Quick Launch, SPViewPermissionSetting, SPListDisplaySetting , Philippe Sentenac [Usual Coder]</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-251</link>
		<dc:creator>SharePoint 2007 : SharePoint Quick Launch, SPViewPermissionSetting, SPListDisplaySetting , Philippe Sentenac [Usual Coder]</dc:creator>
		<pubDate>Fri, 21 Mar 2008 10:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-251</guid>
		<description>[...] information, il existe des solutions plus ou moins élégantes comme par exemple : More SharePoint Branding - Customisation using Javascript - Part 5, Part 1, Part 2, Part 3, Part [...]</description>
		<content:encoded><![CDATA[<p>[...] information, il existe des solutions plus ou moins élégantes comme par exemple : More SharePoint Branding &#8211; Customisation using Javascript &#8211; Part 5, Part 1, Part 2, Part 3, Part [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SharePoint, SharePoint and stuff : SharePoint Kaffeetasse #48</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-232</link>
		<dc:creator>SharePoint, SharePoint and stuff : SharePoint Kaffeetasse #48</dc:creator>
		<pubDate>Thu, 13 Mar 2008 15:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-232</guid>
		<description>[...] More SharePoint Branding - Customisation using JavaScript Part 5 [...]</description>
		<content:encoded><![CDATA[<p>[...] More SharePoint Branding &#8211; Customisation using JavaScript Part 5 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CleverWorkarounds &#187; More SharePoint Branding - Customisation using JavaScript - Part 6</title>
		<link>http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/comment-page-1/#comment-226</link>
		<dc:creator>CleverWorkarounds &#187; More SharePoint Branding - Customisation using JavaScript - Part 6</dc:creator>
		<pubDate>Wed, 12 Mar 2008 13:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.cleverworkarounds.com/2008/03/09/more-sharepoint-branding-customisation-using-javascript-part-5/#comment-226</guid>
		<description>[...] Part 5 then used STSDEV to create a solution package that allowed easy debugging, deployment and updating of the web part developed in part 4. [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 5 then used STSDEV to create a solution package that allowed easy debugging, deployment and updating of the web part developed in part 4. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
