<?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: FCKeditor Demo</title>
	<atom:link href="http://www.sarutherford.com/2006/12/28/fckeditor-demo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/</link>
	<description>Dr Scott A. Rutherford</description>
	<lastBuildDate>Fri, 25 Nov 2011 13:08:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: TP</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-422</link>
		<dc:creator>TP</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-422</guid>
		<description>Just installed and tried the plugin - works brilliantly - thanks very much!</description>
		<content:encoded><![CDATA[<p>Just installed and tried the plugin &#8211; works brilliantly &#8211; thanks very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Rutherford</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-423</link>
		<dc:creator>Scott Rutherford</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-423</guid>
		<description>Hi TP, glad you find it useful. Cheers
Scott.</description>
		<content:encoded><![CDATA[<p>Hi TP, glad you find it useful. Cheers<br />
Scott.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-424</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-424</guid>
		<description>I&#039;m getting a 403 error when I try to upload an image. I narrowed it down into the check_file method, when it checks whether the file is a Tempfile it comes back as StringIO instead. Any ideas as to why or how to fix it?

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting a 403 error when I try to upload an image. I narrowed it down into the check_file method, when it checks whether the file is a Tempfile it comes back as StringIO instead. Any ideas as to why or how to fix it?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-425</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-425</guid>
		<description>In case anyone else is running into this 403 error problem, I did a quick workaround and it seems fine, don&#039;t know if it will break anything though. If you go into the plugin and edit the file app/controllers/fckeditor_controller.rb you can change the following line:

unless &quot;#{file.class}&quot; == &quot;Tempfile&quot;

to:

    unless &quot;#{file.class}&quot; == &quot;Tempfile&quot; &#124;&#124; &quot;#{file.class}&quot; == &quot;StringIO&quot;

That fixed things for me anyway.

-Chris</description>
		<content:encoded><![CDATA[<p>In case anyone else is running into this 403 error problem, I did a quick workaround and it seems fine, don&#8217;t know if it will break anything though. If you go into the plugin and edit the file app/controllers/fckeditor_controller.rb you can change the following line:</p>
<p>unless &quot;#{file.class}&quot; == &quot;Tempfile&quot;</p>
<p>to:</p>
<p>    unless &quot;#{file.class}&quot; == &quot;Tempfile&quot; || &quot;#{file.class}&quot; == &quot;StringIO&quot;</p>
<p>That fixed things for me anyway.</p>
<p>-Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Rutherford</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-426</link>
		<dc:creator>Scott Rutherford</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-426</guid>
		<description>Cheers for that Chris. I will make some time soon to have a look at this again and copy your fix in if there are no other issues.

Scott.</description>
		<content:encoded><![CDATA[<p>Cheers for that Chris. I will make some time soon to have a look at this again and copy your fix in if there are no other issues.</p>
<p>Scott.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karel Minarik</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-427</link>
		<dc:creator>Karel Minarik</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-427</guid>
		<description>Hi Scott,

first of all *many* thanks for the plugin.

I have one question: in the *fckeditor_element_id* method you specify the ID of the textarea as:

&lt;pre&gt;
&quot;#{object}_#{id}_#{field}_editor&quot;
&lt;/pre&gt;

which gets to controller as: *modelname_1_columnname_editor =&gt; &quot;Content&quot;* parameter.

The &quot;regular&quot; (scaffolded) textarea comes as *modelname =&gt; {columnnme =&gt; &quot;Content&quot;}*, on the other side.

I have changed the fckeditor_element_id and fckeditor_div_id methods to return *&quot;#{object}[#{field}]&quot;*, so there is no need to change controller logic when dealing with form data.

May I ask you why you have constructed the said methods in such manner, so I understand your thinking behind the code?

Once again thanks!

Karel</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>first of all *many* thanks for the plugin.</p>
<p>I have one question: in the *fckeditor_element_id* method you specify the ID of the textarea as:</p>
<p>&lt;pre&gt;<br />
&quot;#{object}_#{id}_#{field}_editor&quot;<br />
&lt;/pre&gt;</p>
<p>which gets to controller as: *modelname_1_columnname_editor =&gt; &quot;Content&quot;* parameter.</p>
<p>The &quot;regular&quot; (scaffolded) textarea comes as *modelname =&gt; {columnnme =&gt; &quot;Content&quot;}*, on the other side.</p>
<p>I have changed the fckeditor_element_id and fckeditor_div_id methods to return *&quot;#{object}[#{field}]&quot;*, so there is no need to change controller logic when dealing with form data.</p>
<p>May I ask you why you have constructed the said methods in such manner, so I understand your thinking behind the code?</p>
<p>Once again thanks!</p>
<p>Karel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Rutherford</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-428</link>
		<dc:creator>Scott Rutherford</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-428</guid>
		<description>HI Karel, I can think of / remember no good reason why I did it that way....... Now you bring it up it seems a little foolish. Anyway the project is undergoing a bit of a facelift soon, with all the feedback I have recieved being fed back in, so I will look at this too.

Cheers
Scott.</description>
		<content:encoded><![CDATA[<p>HI Karel, I can think of / remember no good reason why I did it that way&#8230;&#8230;. Now you bring it up it seems a little foolish. Anyway the project is undergoing a bit of a facelift soon, with all the feedback I have recieved being fed back in, so I will look at this too.</p>
<p>Cheers<br />
Scott.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karel Minarik</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-429</link>
		<dc:creator>Karel Minarik</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-429</guid>
		<description>Hi Scott,

this way it would probably make more sense in traditional progress of the application, building from the scaffolded code up and cleaning it -- as far as I, being a noobie, can see. =)

Thanks and cheers,

Karel</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>this way it would probably make more sense in traditional progress of the application, building from the scaffolded code up and cleaning it &#8212; as far as I, being a noobie, can see. =)</p>
<p>Thanks and cheers,</p>
<p>Karel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toni</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-430</link>
		<dc:creator>toni</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-430</guid>
		<description>Hi,

I&#039;ve downloaded your demo and I&#039;m trying it, and when I click on the &quot;create new&quot; link (note or multinote), I get:

&quot;RJS error:
TypeError: element has no properties&quot;

in an alert window. And when I press ok, I get another alert window with a couple of code lines:

&quot;new Insertion.Top(note-tbody,  .... &quot;

but it goes right on!

What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve downloaded your demo and I&#8217;m trying it, and when I click on the &quot;create new&quot; link (note or multinote), I get:</p>
<p>&quot;RJS error:<br />
TypeError: element has no properties&quot;</p>
<p>in an alert window. And when I press ok, I get another alert window with a couple of code lines:</p>
<p>&quot;new Insertion.Top(note-tbody,  &#8230;. &quot;</p>
<p>but it goes right on!</p>
<p>What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cnk</title>
		<link>http://www.sarutherford.com/2006/12/28/fckeditor-demo/comment-page-1/#comment-431</link>
		<dc:creator>cnk</dc:creator>
		<pubDate>Thu, 28 Dec 2006 06:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.caronsoftware.com/2007/11/25/fckeditor-demo#comment-431</guid>
		<description>When I installed your FCKeditor plugin, I seem to have 3 distinct (and apparently complete) copies of the fckeditor libraries: one in public/javascripts/fckeditor/, one in public/plugin_assets/fckeditor/javascripts/fckeditor, and one in vendor/plugins/fckeditor/public/javascripts/fckeditor

The downloadable demo shows 2 copies of all the libraries (it doesn’t have the copy in public/plugin_assets, presumably because it doesn’t use engines).

Can you please give me some idea of what’s up? Also, I see MVC stuff in vendor/plugins/fckeditor/app/* How does that work? especially the stuff in app/views/fckeditor? I thought one had to use engines or appable_plugins to get view code to be visible from a plugin.

(All my questions started when I tried to move some code I had that uses your fckeditor plugin into a plugin of my own. I didn’t do some step correctly and was getting errors about not finding my custom ToolSet. This all works great on my original application, but I am a bit surprised at what I am finding when I try to use it in the new context.)</description>
		<content:encoded><![CDATA[<p>When I installed your FCKeditor plugin, I seem to have 3 distinct (and apparently complete) copies of the fckeditor libraries: one in public/javascripts/fckeditor/, one in public/plugin_assets/fckeditor/javascripts/fckeditor, and one in vendor/plugins/fckeditor/public/javascripts/fckeditor</p>
<p>The downloadable demo shows 2 copies of all the libraries (it doesn’t have the copy in public/plugin_assets, presumably because it doesn’t use engines).</p>
<p>Can you please give me some idea of what’s up? Also, I see MVC stuff in vendor/plugins/fckeditor/app/* How does that work? especially the stuff in app/views/fckeditor? I thought one had to use engines or appable_plugins to get view code to be visible from a plugin.</p>
<p>(All my questions started when I tried to move some code I had that uses your fckeditor plugin into a plugin of my own. I didn’t do some step correctly and was getting errors about not finding my custom ToolSet. This all works great on my original application, but I am a bit surprised at what I am finding when I try to use it in the new context.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

