<?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 for aSecondSystem.com</title>
	<atom:link href="http://www.asecondsystem.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asecondsystem.com</link>
	<description>Web Development evolved</description>
	<lastBuildDate>Thu, 04 Mar 2010 04:35:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Integrating CK Editor with CakePHP by admin</title>
		<link>http://www.asecondsystem.com/2009/09/14/integrating-ck-editor-with-cakephp/comment-page-1/#comment-859</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 04 Mar 2010 04:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=207#comment-859</guid>
		<description>Hi John,

Yes, you save the data just like any other field. 

So the text from the editor is in the $this-&gt;data array?  in the format $this-&gt;data[&#039;Admin&#039;][&#039;editorfieldname&#039;] = &quot;lots of html&quot; ?


if so, you then want to do a $this-&gt;Content-&gt;save($this-&gt;data) to save it. or to use one of the other methods, check out:
 http://book.cakephp.org/view/75/Saving-Your-Data

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Yes, you save the data just like any other field. </p>
<p>So the text from the editor is in the $this->data array?  in the format $this->data['Admin']['editorfieldname'] = &#8220;lots of html&#8221; ?</p>
<p>if so, you then want to do a $this->Content->save($this->data) to save it. or to use one of the other methods, check out:<br />
 <a href="http://book.cakephp.org/view/75/Saving-Your-Data" rel="nofollow">http://book.cakephp.org/view/75/Saving-Your-Data</a></p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating CK Editor with CakePHP by John M</title>
		<link>http://www.asecondsystem.com/2009/09/14/integrating-ck-editor-with-cakephp/comment-page-1/#comment-858</link>
		<dc:creator>John M</dc:creator>
		<pubDate>Thu, 04 Mar 2010 03:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=207#comment-858</guid>
		<description>I have inserted Ckeditor 3.x in my page and i submit my form data (along with the text area) to the controller. I am trying to save data to Mysql database 
but not able to save. I wonder if this is a correct way of doing it.

Form name = Admin
Field name = content
Controller name = Admins
Modelname = Admin

Mycontroller code:
$grn3 = $this-&gt;data[&#039;Admin&#039;][&#039;content&#039;] ;
$this-&gt;Session-&gt;setFlash($grn3);
$this-&gt;Admin-&gt;set($this-&gt;data ); //setting data to model
$this-&gt;Admin-&gt;saveField(&#039;content&#039;, $grn3);  //saving single field

Setflash method flashes the data content, but save is not working. I am not sure if this is the way of saving text editor data to database. Please show me how to save editor data to datatbase.

Thankx
John M.</description>
		<content:encoded><![CDATA[<p>I have inserted Ckeditor 3.x in my page and i submit my form data (along with the text area) to the controller. I am trying to save data to Mysql database<br />
but not able to save. I wonder if this is a correct way of doing it.</p>
<p>Form name = Admin<br />
Field name = content<br />
Controller name = Admins<br />
Modelname = Admin</p>
<p>Mycontroller code:<br />
$grn3 = $this-&gt;data['Admin']['content'] ;<br />
$this-&gt;Session-&gt;setFlash($grn3);<br />
$this-&gt;Admin-&gt;set($this-&gt;data ); //setting data to model<br />
$this-&gt;Admin-&gt;saveField(&#8216;content&#8217;, $grn3);  //saving single field</p>
<p>Setflash method flashes the data content, but save is not working. I am not sure if this is the way of saving text editor data to database. Please show me how to save editor data to datatbase.</p>
<p>Thankx<br />
John M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by ratti</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-820</link>
		<dc:creator>ratti</dc:creator>
		<pubDate>Thu, 25 Feb 2010 12:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-820</guid>
		<description>Do not use $_SERVER{‘DOCUMENT_ROOT’};

It will not work, when you use virtual domains per “VirtualDocumentRoot“. Instead construct the root from the file path itself, which is available in php as __file___

I use something like that in scripts that use DOCUMENT_ROOT:

$_SERVER[&#039;DOCUMENT_ROOT&#039;]	= realpath(dirname(__file__) . &quot;/../../../..&quot;);</description>
		<content:encoded><![CDATA[<p>Do not use $_SERVER{‘DOCUMENT_ROOT’};</p>
<p>It will not work, when you use virtual domains per “VirtualDocumentRoot“. Instead construct the root from the file path itself, which is available in php as __file___</p>
<p>I use something like that in scripts that use DOCUMENT_ROOT:</p>
<p>$_SERVER['DOCUMENT_ROOT']	= realpath(dirname(__file__) . &#8220;/../../../..&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating CK Editor with CakePHP by yoesoff</title>
		<link>http://www.asecondsystem.com/2009/09/14/integrating-ck-editor-with-cakephp/comment-page-1/#comment-817</link>
		<dc:creator>yoesoff</dc:creator>
		<pubDate>Thu, 25 Feb 2010 05:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=207#comment-817</guid>
		<description>Warning (2): link() [function.link]: No such file or directory [APP\views\posts\add.ctp, line 6]
:(</description>
		<content:encoded><![CDATA[<p>Warning (2): link() [function.link]: No such file or directory [APP\views\posts\add.ctp, line 6]<br />
 <img src='http://www.asecondsystem.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by Mau</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-810</link>
		<dc:creator>Mau</dc:creator>
		<pubDate>Wed, 24 Feb 2010 03:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-810</guid>
		<description>Hi, i got the FileBrowserworking fine but, when I add the QuickUpload buttons on CKeditor I never upload the file on server.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, i got the FileBrowserworking fine but, when I add the QuickUpload buttons on CKeditor I never upload the file on server.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by admin</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-798</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 21 Feb 2010 22:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-798</guid>
		<description>Korbi,  you should look to crack into that information blackout there and debug it a bit.  firebug? incease php&#039;s reporting settings?  go through the code and get it to echo something out at the diffrerent stages of adding a folder.    anything.  try and isolate the problem a bit.   

Also, have a think about what could be causeing a problem specific to your set up.  ie, your permissions probably don&#039;t allow folder creation.  change that.  

Good luck!</description>
		<content:encoded><![CDATA[<p>Korbi,  you should look to crack into that information blackout there and debug it a bit.  firebug? incease php&#8217;s reporting settings?  go through the code and get it to echo something out at the diffrerent stages of adding a folder.    anything.  try and isolate the problem a bit.   </p>
<p>Also, have a think about what could be causeing a problem specific to your set up.  ie, your permissions probably don&#8217;t allow folder creation.  change that.  </p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by Korbi</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-778</link>
		<dc:creator>Korbi</dc:creator>
		<pubDate>Fri, 19 Feb 2010 11:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-778</guid>
		<description>Wenn I add a folder, nothing happens. And I get no Errors.</description>
		<content:encoded><![CDATA[<p>Wenn I add a folder, nothing happens. And I get no Errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by admin</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-774</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 19 Feb 2010 02:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-774</guid>
		<description>hmm. im not able to reproduce that.  what happens when you add a folder? error messages? are you running firebug? look for a js error there.  or any php errors in the log?

similarly with the buttons.  any error messages in JS or PHP?</description>
		<content:encoded><![CDATA[<p>hmm. im not able to reproduce that.  what happens when you add a folder? error messages? are you running firebug? look for a js error there.  or any php errors in the log?</p>
<p>similarly with the buttons.  any error messages in JS or PHP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by Korbi</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-773</link>
		<dc:creator>Korbi</dc:creator>
		<pubDate>Fri, 19 Feb 2010 01:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-773</guid>
		<description>Hello,
I have another Problem. After added $root = $_SERVER{‘DOCUMENT_ROOT’}; I&#039;m now able to see the Filetree on the left. But I cannot add Folders an wenn i click on an image in the tree, I online see the buttons SELECT DOWNLOAD RENAME DELETE. Pressing on them, nothing happens.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have another Problem. After added $root = $_SERVER{‘DOCUMENT_ROOT’}; I&#8217;m now able to see the Filetree on the left. But I cannot add Folders an wenn i click on an image in the tree, I online see the buttons SELECT DOWNLOAD RENAME DELETE. Pressing on them, nothing happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Integrating a file browser into ckeditor &amp; CakePHP by admin</title>
		<link>http://www.asecondsystem.com/2010/01/19/integrating-a-file-browser-into-ckeditor-cakephp/comment-page-1/#comment-757</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 18 Feb 2010 06:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.asecondsystem.com/?p=327#comment-757</guid>
		<description>No problem :-) .  Bare in mind it might not work if you are deploying to a subfolder; you might have to factor the subfolder into the path.</description>
		<content:encoded><![CDATA[<p>No problem <img src='http://www.asecondsystem.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .  Bare in mind it might not work if you are deploying to a subfolder; you might have to factor the subfolder into the path.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
