?>
<?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: Adding TinyMCE to your ProjectPier or ActiveCollab Installation</title>
	<atom:link href="http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/</link>
	<description>I'm one of those people radio shows call for obscure shit.</description>
	<lastBuildDate>Wed, 28 Dec 2011 17:14:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Atif</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-44131</link>
		<dc:creator>Atif</dc:creator>
		<pubDate>Tue, 05 Jul 2011 08:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-44131</guid>
		<description>i would like to draw ur attention to a very little mistake:

In this below code




tinyMCE.init({
force_p_newlines: “false”,
forced_root_block : ”,
theme : “advanced”,
mode : “textareas”
});



Replace this :

forced_root_block : ”,

With :

forced_root_block : &quot;&quot;,</description>
		<content:encoded><![CDATA[<p>i would like to draw ur attention to a very little mistake:</p>
<p>In this below code</p>
<p>tinyMCE.init({<br />
force_p_newlines: “false”,<br />
forced_root_block : ”,<br />
theme : “advanced”,<br />
mode : “textareas”<br />
});</p>
<p>Replace this :</p>
<p>forced_root_block : ”,</p>
<p>With :</p>
<p>forced_root_block : &#8220;&#8221;,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shoo</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-14680</link>
		<dc:creator>shoo</dc:creator>
		<pubDate>Sun, 04 Apr 2010 19:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-14680</guid>
		<description>Hi Thanks for this its superb, also thanks to RL and Marty for figuring out the fallout of this modification.</description>
		<content:encoded><![CDATA[<p>Hi Thanks for this its superb, also thanks to RL and Marty for figuring out the fallout of this modification.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt G</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-9006</link>
		<dc:creator>Matt G</dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-9006</guid>
		<description>Hey Bram, 

Try it out now, should be fixed. Sorry about that.</description>
		<content:encoded><![CDATA[<p>Hey Bram, </p>
<p>Try it out now, should be fixed. Sorry about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram Moreinis</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-8962</link>
		<dc:creator>Bram Moreinis</dc:creator>
		<pubDate>Sat, 01 Aug 2009 21:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-8962</guid>
		<description>Hey, just for ease of use - any reason you can&#039;t put ASCII quotes (&quot;) in place of the smart quotes you&#039;ve got in that code there? 

They show up as periods when one pastes them into a text editor, which then need chasing down.  Thanks!</description>
		<content:encoded><![CDATA[<p>Hey, just for ease of use &#8211; any reason you can&#8217;t put ASCII quotes (&#8220;) in place of the smart quotes you&#8217;ve got in that code there? </p>
<p>They show up as periods when one pastes them into a text editor, which then need chasing down.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty Thornley</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-4550</link>
		<dc:creator>Marty Thornley</dc:creator>
		<pubDate>Fri, 03 Apr 2009 14:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-4550</guid>
		<description>Back again.

I noticed a couple glitches but think I figured out the solution. You can read about it in
&lt;a href=&quot;http://martythornley.com/2009/04/adding-tinymce-text-editor-to-project-pier/&quot; rel=&quot;nofollow&quot;&gt;the post I wrote&lt;/a&gt;, rather than trying to get code to fit in here.

I noticed that commenting out those lines made the html show up on the message pages but it broke the layout on the overview page. A couple of quick tweaks fixed it.</description>
		<content:encoded><![CDATA[<p>Back again.</p>
<p>I noticed a couple glitches but think I figured out the solution. You can read about it in<br />
<a href="http://martythornley.com/2009/04/adding-tinymce-text-editor-to-project-pier/" rel="nofollow">the post I wrote</a>, rather than trying to get code to fit in here.</p>
<p>I noticed that commenting out those lines made the html show up on the message pages but it broke the layout on the overview page. A couple of quick tweaks fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty Thornley</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-4548</link>
		<dc:creator>Marty Thornley</dc:creator>
		<pubDate>Fri, 03 Apr 2009 11:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-4548</guid>
		<description>Hi Matt,

Thanks for the instructions on adding tinymce. I had used it in the past but was a little reluctant to go figuring out how to add it to ProjectPier.

@RL - great work on the commenting out those lines. All links work now!

-Marty</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Thanks for the instructions on adding tinymce. I had used it in the past but was a little reluctant to go figuring out how to add it to ProjectPier.</p>
<p>@RL &#8211; great work on the commenting out those lines. All links work now!</p>
<p>-Marty</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erbag</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-3756</link>
		<dc:creator>erbag</dc:creator>
		<pubDate>Thu, 19 Feb 2009 02:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-3756</guid>
		<description>I found that using a WYSIWYG Editor with ProjectPier doesn&#039;t work bcoz it uses textile markup and I found a textile editor here:
http://pxjunkie.blogspot.com/2009/02/projectpier-wysiwyg-editor.html</description>
		<content:encoded><![CDATA[<p>I found that using a WYSIWYG Editor with ProjectPier doesn&#8217;t work bcoz it uses textile markup and I found a textile editor here:<br />
<a href="http://pxjunkie.blogspot.com/2009/02/projectpier-wysiwyg-editor.html" rel="nofollow">http://pxjunkie.blogspot.com/2009/02/projectpier-wysiwyg-editor.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gierad</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-2240</link>
		<dc:creator>Gierad</dc:creator>
		<pubDate>Fri, 03 Oct 2008 13:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-2240</guid>
		<description>For those of you planning to use the code from this tutorial, do not copy&amp;paste the tinyMCE initialization code from above because you will get javascript errors pertaining to newline characters. Write them manually instead.</description>
		<content:encoded><![CDATA[<p>For those of you planning to use the code from this tutorial, do not copy&amp;paste the tinyMCE initialization code from above because you will get javascript errors pertaining to newline characters. Write them manually instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RL</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-2170</link>
		<dc:creator>RL</dc:creator>
		<pubDate>Sat, 27 Sep 2008 00:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-2170</guid>
		<description>Hi Meshach,

I have the same issue. I commented out line 333 in /library/textile/Textile.class.php and that stopped the site from escaping any raw html in some areas....

$text = $this-&gt;encode_html($text, 0);

to

//$text = $this-&gt;encode_html($text, 0);

Next, you will also need to comment out line 73 and 74 in:
/environment/functions/general.php

function clean($str) {
$str = preg_replace(&#039;/&amp;(?!#[0-9]+;)/s&#039;, &#039;&amp;&#039;, $str);
$str = str_replace(array(&#039;&#039;, &#039;&quot;&#039;), array(&#039;&lt;&#039;, &#039;&gt;&#039;, &#039;&quot;&#039;), $str);
  
return $str;
  } 

to:

function clean($str) {
//$str = preg_replace(&#039;/&amp;(?!#[0-9]+;)/s&#039;, &#039;&amp;&#039;, $str);
//$str = str_replace(array(&#039;&#039;, &#039;&quot;&#039;), array(&#039;&lt;&#039;, &#039;&gt;&#039;, &#039;&quot;&#039;), $str);
  
return $str;
  } 

So far so good. I did some very brief testing but it&#039;s pretty simple to comment back in if that update messes the site up.

RL</description>
		<content:encoded><![CDATA[<p>Hi Meshach,</p>
<p>I have the same issue. I commented out line 333 in /library/textile/Textile.class.php and that stopped the site from escaping any raw html in some areas&#8230;.</p>
<p>$text = $this-&gt;encode_html($text, 0);</p>
<p>to</p>
<p>//$text = $this-&gt;encode_html($text, 0);</p>
<p>Next, you will also need to comment out line 73 and 74 in:<br />
/environment/functions/general.php</p>
<p>function clean($str) {<br />
$str = preg_replace(&#8216;/&amp;(?!#[0-9]+;)/s&#8217;, &#8216;&amp;&#8217;, $str);<br />
$str = str_replace(array(&#8221;, &#8216;&#8221;&#8216;), array(&#8216;&lt;&#8217;, &#8216;&gt;&#8217;, &#8216;&quot;&#8217;), $str);</p>
<p>return $str;<br />
  } </p>
<p>to:</p>
<p>function clean($str) {<br />
//$str = preg_replace(&#8216;/&amp;(?!#[0-9]+;)/s&#8217;, &#8216;&amp;&#8217;, $str);<br />
//$str = str_replace(array(&#8221;, &#8216;&#8221;&#8216;), array(&#8216;&lt;&#8217;, &#8216;&gt;&#8217;, &#8216;&quot;&#8217;), $str);</p>
<p>return $str;<br />
  } </p>
<p>So far so good. I did some very brief testing but it&#8217;s pretty simple to comment back in if that update messes the site up.</p>
<p>RL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt G</title>
		<link>http://www.mattgibson.ca/2008/04/19/adding-tinymce-to-your-projectpier-or-activecollab-installation/comment-page-1/#comment-1603</link>
		<dc:creator>Matt G</dc:creator>
		<pubDate>Mon, 28 Jul 2008 20:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattgibson.ca/archives/105#comment-1603</guid>
		<description>Hi Meshach, 

We&#039;re also seeing this issue. Basically the way in which projectpier/activecollab was designed, nothing is being stripped. 

You have to use a combination of html_entities and strip_slashes to remove this from being seen. 

We are working on some patches for this, but it&#039;s slow going unfortunately. 

Thanks,
Matt</description>
		<content:encoded><![CDATA[<p>Hi Meshach, </p>
<p>We&#8217;re also seeing this issue. Basically the way in which projectpier/activecollab was designed, nothing is being stripped. </p>
<p>You have to use a combination of html_entities and strip_slashes to remove this from being seen. </p>
<p>We are working on some patches for this, but it&#8217;s slow going unfortunately. </p>
<p>Thanks,<br />
Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>

