<?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: Integrate tinyMCE into your wordpress plugins</title>
	<atom:link href="http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/</link>
	<description>Blog&#039;s Archives</description>
	<lastBuildDate>Sun, 12 Dec 2010 12:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matt</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1457</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 21 Nov 2010 21:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1457</guid>
		<description>Looks like you might have to figure this out again in 3.1. THe folks at WP have broken things again in the current trunk code :-(</description>
		<content:encoded><![CDATA[<p>Looks like you might have to figure this out again in 3.1. THe folks at WP have broken things again in the current trunk code <img src='http://blog.zen-dreams.com/blog-en/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1378</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 06 Apr 2010 12:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1378</guid>
		<description>If my form posts back to it&#039;s self the editor doesn&#039;t display unless I refresh the page.  Any idea what I&#039;m missing?</description>
		<content:encoded><![CDATA[<p>If my form posts back to it&#8217;s self the editor doesn&#8217;t display unless I refresh the page.  Any idea what I&#8217;m missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1377</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sat, 09 Jan 2010 21:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1377</guid>
		<description>Hi Anthony,

I followed your post and tinyMCE shows up well in my plugin for wordpress 2.8. I was earlier using the following statement to save content of my textarea to my DB but now I have no clue how to save tinyMCE’s content to DB…

$settings[&quot;template&quot;] = stripslashes($_POST[&quot;textareaContent&quot;]);
ajaxNewsletter::saveSettings($settings);

I’ll really appreciate if you may kindly guide me on this…

Thanks a lot,
ak</description>
		<content:encoded><![CDATA[<p>Hi Anthony,</p>
<p>I followed your post and tinyMCE shows up well in my plugin for wordpress 2.8. I was earlier using the following statement to save content of my textarea to my DB but now I have no clue how to save tinyMCE’s content to DB…</p>
<p>$settings["template"] = stripslashes($_POST["textareaContent"]);<br />
ajaxNewsletter::saveSettings($settings);</p>
<p>I’ll really appreciate if you may kindly guide me on this…</p>
<p>Thanks a lot,<br />
ak</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1376</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 07 Dec 2009 16:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1376</guid>
		<description>Derek,

You can have a look at my ZdMultilang plugin, this is where I extracted the code.</description>
		<content:encoded><![CDATA[<p>Derek,</p>
<p>You can have a look at my ZdMultilang plugin, this is where I extracted the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1375</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Sat, 05 Dec 2009 17:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1375</guid>
		<description>Is there a simple plugin that uses this code that anyone can point to so I can see it in action?</description>
		<content:encoded><![CDATA[<p>Is there a simple plugin that uses this code that anyone can point to so I can see it in action?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1374</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 02 Dec 2009 20:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1374</guid>
		<description>You&#039;ll have to do the following :
$content = apply_filters(&#039;the_content&#039;, $content);
$content = str_replace(&#039;]]&gt;&#039;, &#039;]]&gt;&#039;, $content);
then you can echo your $content</description>
		<content:encoded><![CDATA[<p>You&#8217;ll have to do the following :<br />
$content = apply_filters(&#8216;the_content&#8217;, $content);<br />
$content = str_replace(&#8216;]]&gt;&#8217;, &#8216;]]&gt;&#8217;, $content);<br />
then you can echo your $content</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1373</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 29 Nov 2009 08:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1373</guid>
		<description>Thanks! the info was really helpful. So my question is what pre-processing needs to be done to insert the data retrieved from the the_editor panel when saving the data (to a database), or displaying it.

In regards to saving the data, I found that I needed to preprocess the data using stripslashes(). To display the data, so far, I have seen that I need to preprocess the data and translate out the shortcodes (saw it, haven&#039;t figured out what the &quot;correct&quot; way to translate it is yet)

Thanks,
James</description>
		<content:encoded><![CDATA[<p>Thanks! the info was really helpful. So my question is what pre-processing needs to be done to insert the data retrieved from the the_editor panel when saving the data (to a database), or displaying it.</p>
<p>In regards to saving the data, I found that I needed to preprocess the data using stripslashes(). To display the data, so far, I have seen that I need to preprocess the data and translate out the shortcodes (saw it, haven&#8217;t figured out what the &#8220;correct&#8221; way to translate it is yet)</p>
<p>Thanks,<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boby Ertanto</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1372</link>
		<dc:creator>Boby Ertanto</dc:creator>
		<pubDate>Wed, 25 Nov 2009 01:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1372</guid>
		<description>Your code works, however in the firebug it&#039;s showing error like jQuery is not defined, so I put the printing of the editor after calling enqueue_scripts(&quot;utils&quot;), and it works perfectly now...


Below is my code :

function ShowTinyMCE() {
	// conditions here
	wp_enqueue_script( &#039;common&#039; );
	wp_enqueue_script( &#039;jquery-color&#039; );
	if (function_exists(&#039;add_thickbox&#039;)) add_thickbox();
	wp_print_scripts(&#039;media-upload&#039;);
	if (function_exists(&#039;wp_tiny_mce&#039;)) wp_tiny_mce();
	wp_admin_css();
	wp_enqueue_script(&#039;utils&#039;);
	wp_print_scripts(&#039;editor&#039;);
	do_action(&quot;admin_print_styles-post-php&quot;);
	do_action(&#039;admin_print_styles&#039;);
}</description>
		<content:encoded><![CDATA[<p>Your code works, however in the firebug it&#8217;s showing error like jQuery is not defined, so I put the printing of the editor after calling enqueue_scripts(&#8220;utils&#8221;), and it works perfectly now&#8230;</p>
<p>Below is my code :</p>
<p>function ShowTinyMCE() {<br />
	// conditions here<br />
	wp_enqueue_script( &#8216;common&#8217; );<br />
	wp_enqueue_script( &#8216;jquery-color&#8217; );<br />
	if (function_exists(&#8216;add_thickbox&#8217;)) add_thickbox();<br />
	wp_print_scripts(&#8216;media-upload&#8217;);<br />
	if (function_exists(&#8216;wp_tiny_mce&#8217;)) wp_tiny_mce();<br />
	wp_admin_css();<br />
	wp_enqueue_script(&#8216;utils&#8217;);<br />
	wp_print_scripts(&#8216;editor&#8217;);<br />
	do_action(&#8220;admin_print_styles-post-php&#8221;);<br />
	do_action(&#8216;admin_print_styles&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romeo</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1371</link>
		<dc:creator>Romeo</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1371</guid>
		<description>HI,

thanks for the code but i&#039;m not getting ride of it.

What&#039;s the admin_head hook? Can u please tell me what file shoulw i modify and to wich file add the last line to be shown?

Sorry but im a newbie in coding.. so pls help
.-= Romeo´s last blog ..&lt;a href=&quot;http://feedproxy.google.com/~r/RomeoLab/~3/VAfuY6ViqPc/perdor-avatarin-tend&quot; rel=&quot;nofollow&quot;&gt;Perdor Avatarin Tend [WP Hack]&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>HI,</p>
<p>thanks for the code but i&#8217;m not getting ride of it.</p>
<p>What&#8217;s the admin_head hook? Can u please tell me what file shoulw i modify and to wich file add the last line to be shown?</p>
<p>Sorry but im a newbie in coding.. so pls help<br />
.-= Romeo´s last blog ..<a href="http://feedproxy.google.com/~r/RomeoLab/~3/VAfuY6ViqPc/perdor-avatarin-tend" rel="nofollow">Perdor Avatarin Tend [WP Hack]</a> =-.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mat_</title>
		<link>http://blog.zen-dreams.com/blog-en/2009/06/30/integrate-tinymce-into-your-wordpress-plugins/#comment-1370</link>
		<dc:creator>Mat_</dc:creator>
		<pubDate>Thu, 12 Nov 2009 18:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zen-dreams.com/en/?p=609#comment-1370</guid>
		<description>Hi !!!
My tiny_mce is working but i can&#039;t get the media uploader to work correctly. any idea ?

thanks !
.-= Mat_´s last blog ..&lt;a href=&quot;http://www.kune-studio.com/2009/08/arnaques-aux-sites-gratuits-faites-attention/&quot; rel=&quot;nofollow&quot;&gt;Arnaques aux sites gratuits, faites attention…&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>Hi !!!<br />
My tiny_mce is working but i can&#8217;t get the media uploader to work correctly. any idea ?</p>
<p>thanks !<br />
.-= Mat_´s last blog ..<a href="http://www.kune-studio.com/2009/08/arnaques-aux-sites-gratuits-faites-attention/" rel="nofollow">Arnaques aux sites gratuits, faites attention…</a> =-.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

