<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Promet CakePHP Source &#187; tinymce</title>
	<atom:link href="http://cakephp.prometsupport.com/tag/tinymce/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakephp.prometsupport.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Feb 2009 08:03:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using TinyMCE with CakePHP</title>
		<link>http://cakephp.prometsupport.com/2008/using-tinyce-with-cakephp/</link>
		<comments>http://cakephp.prometsupport.com/2008/using-tinyce-with-cakephp/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 15:51:40 +0000</pubDate>
		<dc:creator>cyrose</dc:creator>
				<category><![CDATA[CakePHP 1.1]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://cakephp.prometsupport.com/2008/01/31/17/</guid>
		<description><![CDATA[It’s finally my deadline. Oh well, I am not really a blogger so I just hope you’ll stick with my article. Please bear with my “work of art”. Duh?!? Ok, let’s get this started. As the title says, my article is all about TinyMCE + Cakephp. This may not be too challenging or may appear [...]]]></description>
			<content:encoded><![CDATA[<p>It’s finally my deadline. Oh well, I am not really a blogger so I just hope you’ll stick with my article. Please bear with my “work of art”. Duh?!?</p>
<p>Ok, let’s get this started. As the title says, my article is all about TinyMCE + Cakephp. This may not be too challenging or may appear newly baked for others but for me, it’s something worth writing for. There’s just a few blocks of information that I need to discuss and everything we’ll be done in a short while.</p>
<p>TinyMCE is a WYSIWYG editor by Moxiecode which is <a href="http://tinymce.moxiecode.com">downloadable for free</a>. It has been integrated with some of the fast-rising CMS in the OS community nowadays. Such would be joomla and drupal. Here, integrating is so easy, so just follow these steps and good luck:</p>
<ol>
<li><a href="http://tinymce.moxiecode.com/download.php">Download tinyMCE</a>.</li>
<li>Once downloaded, unpack TinyMCE, and copy just the <i>tinymce/jscripts/tiny_mce</i> folder in <i>/webroot/js</i>.</li>
<li>Then follows the configuration. To make this thing work on cakephp, simple do these:
<ol type="a">
<li>First, add the code below to the layout(s) that will be used on the page(s) that will have the editor.<br />
<code lang="javascript"><br />
<script type="text/javascript"> 
  tinyMCE.init({ 
    theme : "simple",
    mode : "textareas",
    convert_urls : false
  }); 
</script><br />
</code>
  </li>
<li>Add the javascript helper to your $helpers array in your controller(s)</li>
<li>Then, for each page that you would want the TinyMCE editor to show, just add to the top of the view file this code below:<br />
<code lang="javascript"><br />
<script type="text/javascript"> 
  tinyMCE.init({ 
    theme : "simple",
    mode : "textareas",
    convert_urls : false
  }); 
</script><br />
</code>
  </li>
</ol>
</li>
</ol>
<p>Source: <a href="http://bakery.cakephp.org/articles/view/using-tinymce-with-cakephp">Bakery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cakephp.prometsupport.com/2008/using-tinyce-with-cakephp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
