<?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"
	>
<channel>
	<title>Comments on: using FCKeditor&#8217;s file manager for your own CMS</title>
	<atom:link href="http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/</link>
	<description>php, linux, ajax, javascript, kae verens</description>
	<pubDate>Fri, 29 Aug 2008 22:11:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: zmh</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-50369</link>
		<dc:creator>zmh</dc:creator>
		<pubDate>Sat, 23 Jun 2007 04:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-50369</guid>
		<description>when editor file if deleting image then automanaul delete image's file in server</description>
		<content:encoded><![CDATA[<p>when editor file if deleting image then automanaul delete image&#8217;s file in server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-24459</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Tue, 26 Sep 2006 06:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-24459</guid>
		<description>akkad, this article assumes that you already know how to do that.

&lt;a href="http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Built_in_File_Browser" rel="nofollow"&gt;please rtfm&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>akkad, this article assumes that you already know how to do that.</p>
<p><a href="http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Built_in_File_Browser" rel="nofollow">please rtfm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akkad</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-24455</link>
		<dc:creator>akkad</dc:creator>
		<pubDate>Tue, 26 Sep 2006 05:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-24455</guid>
		<description>execuse me ! i want to know how i can  upload a pic. on my site to include it in the article using FCK editor , plz answer me and i'll be thankfull, plz send the answer on my email</description>
		<content:encoded><![CDATA[<p>execuse me ! i want to know how i can  upload a pic. on my site to include it in the article using FCK editor , plz answer me and i&#8217;ll be thankfull, plz send the answer on my email</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-14212</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 19 Jun 2006 21:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-14212</guid>
		<description>Thanks very much, I'll try integrating that code.
Being such a useful feature you'd think there would be something in the FCK documentation  about launching the file manager seperate to the editor.</description>
		<content:encoded><![CDATA[<p>Thanks very much, I&#8217;ll try integrating that code.<br />
Being such a useful feature you&#8217;d think there would be something in the FCK documentation  about launching the file manager seperate to the editor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13755</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Fri, 16 Jun 2006 08:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13755</guid>
		<description>actually, that doesn't include enough information. here is a wider view:
&lt;pre class="javascript"&gt;
	{ // image
		var value=data.image_url;
		var inp2=newInput('inp1','hidden',value);
		var img=value?newImg(value.replace(/(.*)\/([^\/]*)/,"$1/.thumbs/icon_$2")):newEl('span',0,0,'[no image]');
		img.id='inp1image';
		{ // file manager link
			input=newEl('a','np1',0,'Click to edit');
			input.onclick=function(){
				eval("window.SetUrl=function(value){$('inp1').value=value;var img=newImg(value.replace(/(.*)\\/([^\\/]*)/,'$1/.thumbs/icon_$2'));"
					+"replaceEl($('inp1image'),img);img.id='inp1image';setStyles($('image_reset'),'display:inline');};");
				window.open(
					"/j/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&#038;Type=Image",
					"fileupload",
					"modal,width=600,height=400"
				);
			};
		}
		{ // image reset link
			var ir=newEl('a','image_reset',0,'[x]');
			ir.onclick=function(){
				$('inp1').value='';
				var img=newEl('span',0,0,'[no image]');
				replaceEl($('inp1image'),img);
				img.id='inp1image';
				setStyles(this,'display:none');
			}
			if(!value)setStyles(ir,'display:none');
		}
		appendChildren(input,[inp2,img]);
		addCells(addRow(formtable,rows++),0,[[newText('Image'),'th'],[[input,ir]]]);
	}
&lt;/pre&gt;

in this case, the input will be called "inp1", and will end up either blank, or with the URL of the image.</description>
		<content:encoded><![CDATA[<p>actually, that doesn&#8217;t include enough information. here is a wider view:</p>
<pre class="javascript">
	{ // image
		var value=data.image_url;
		var inp2=newInput('inp1','hidden',value);
		var img=value?newImg(value.replace(/(.*)\/([^\/]*)/,"$1/.thumbs/icon_$2")):newEl('span',0,0,'[no image]');
		img.id='inp1image';
		{ // file manager link
			input=newEl('a','np1',0,'Click to edit');
			input.onclick=function(){
				eval("window.SetUrl=function(value){$('inp1').value=value;var img=newImg(value.replace(/(.*)\\/([^\\/]*)/,'$1/.thumbs/icon_$2'));"
					+"replaceEl($('inp1image'),img);img.id='inp1image';setStyles($('image_reset'),'display:inline');};");
				window.open(
					"/j/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&#038;Type=Image",
					"fileupload",
					"modal,width=600,height=400"
				);
			};
		}
		{ // image reset link
			var ir=newEl('a','image_reset',0,'[x]');
			ir.onclick=function(){
				$('inp1').value='';
				var img=newEl('span',0,0,'[no image]');
				replaceEl($('inp1image'),img);
				img.id='inp1image';
				setStyles(this,'display:none');
			}
			if(!value)setStyles(ir,'display:none');
		}
		appendChildren(input,[inp2,img]);
		addCells(addRow(formtable,rows++),0,[[newText('Image'),'th'],[[input,ir]]]);
	}
</pre>
<p>in this case, the input will be called &#8220;inp1&#8243;, and will end up either blank, or with the URL of the image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13754</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Fri, 16 Jun 2006 08:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13754</guid>
		<description>yes. I have an example I work with, although it's not pretty ;-)

&lt;pre class="javascript"&gt;
{ // file manager link
			input=newEl('a','np1',0,'Click to edit');
			input.onclick=function(){
				eval("window.SetUrl=function(value){$('inp1').value=value;var img=newImg(value.replace(/(.*)\\/([^\\/]*)/,'$1/.thumbs/icon_$2'));"
					+"replaceEl($('inp1image'),img);img.id='inp1image';setStyles($('image_reset'),'display:inline');};");
				window.open(
					"/j/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&#038;Type=Image",
					"fileupload",
					"modal,width=600,height=400"
				);
			};
		}
&lt;/pre&gt;

I'm afraid that example uses some custom classes defined elsewhere (&lt;a href="http://nuremore.com/j/js.js" rel="nofollow"&gt;you can see them here, for example&lt;/a&gt;), but hopefully the method used is clear enough for you to rewrite using your own toolkit.</description>
		<content:encoded><![CDATA[<p>yes. I have an example I work with, although it&#8217;s not pretty <img src='http://verens.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<pre class="javascript">
{ // file manager link
			input=newEl('a','np1',0,'Click to edit');
			input.onclick=function(){
				eval("window.SetUrl=function(value){$('inp1').value=value;var img=newImg(value.replace(/(.*)\\/([^\\/]*)/,'$1/.thumbs/icon_$2'));"
					+"replaceEl($('inp1image'),img);img.id='inp1image';setStyles($('image_reset'),'display:inline');};");
				window.open(
					"/j/fckeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&#038;Type=Image",
					"fileupload",
					"modal,width=600,height=400"
				);
			};
		}
</pre>
<p>I&#8217;m afraid that example uses some custom classes defined elsewhere (<a href="http://nuremore.com/j/js.js" rel="nofollow">you can see them here, for example</a>), but hopefully the method used is clear enough for you to rewrite using your own toolkit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13630</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 15 Jun 2006 21:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-13630</guid>
		<description>That is very nice,
I integrate FCK into the page by replacing a regular  using:
    
      window.onload = function()
      {
        var oFCKeditor = new FCKeditor( 'formBody' ) ;
        oFCKeditor.BasePath = "FCKeditor/" ;
		oFCKeditor.ToolbarSet = 'CMS';
		oFCKeditor.Height = 512;
        oFCKeditor.ReplaceTextarea() ;
      }
    

Is there any way to do the same thing with input tags so the file manager textbox is in a form?</description>
		<content:encoded><![CDATA[<p>That is very nice,<br />
I integrate FCK into the page by replacing a regular  using:</p>
<p>      window.onload = function()<br />
      {<br />
        var oFCKeditor = new FCKeditor( &#8216;formBody&#8217; ) ;<br />
        oFCKeditor.BasePath = &#8220;FCKeditor/&#8221; ;<br />
		oFCKeditor.ToolbarSet = &#8216;CMS&#8217;;<br />
		oFCKeditor.Height = 512;<br />
        oFCKeditor.ReplaceTextarea() ;<br />
      }</p>
<p>Is there any way to do the same thing with input tags so the file manager textbox is in a form?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christof Donat</title>
		<link>http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-3767</link>
		<dc:creator>Christof Donat</dc:creator>
		<pubDate>Wed, 12 Apr 2006 12:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/04/10/using-fckeditors-file-manager-for-your-own-cms/#comment-3767</guid>
		<description>Hi,

I did it the other way round. I made a FCK-plugin for handling the file-upload using our existing file-management. Actually we didn't realy like the FCK file-dialog - neither the image dialog.

Nice to hear it also would have worked to use the FCK file-dialog.

Christof</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did it the other way round. I made a FCK-plugin for handling the file-upload using our existing file-management. Actually we didn&#8217;t realy like the FCK file-dialog - neither the image dialog.</p>
<p>Nice to hear it also would have worked to use the FCK file-dialog.</p>
<p>Christof</p>
]]></content:encoded>
	</item>
</channel>
</rss>
