<?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>Esscotti &#187; TinyMCE</title>
	<atom:link href="http://www.esscotti.com/category/code/tinymce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esscotti.com</link>
	<description>Web development &#38; SEO</description>
	<lastBuildDate>Fri, 06 Aug 2010 07:32:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TinyMCE not working in IE6 &#8211; solved</title>
		<link>http://www.esscotti.com/2009/09/tinymce-not-working-in-ie6/</link>
		<comments>http://www.esscotti.com/2009/09/tinymce-not-working-in-ie6/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 14:24:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[TinyMCE]]></category>

		<guid isPermaLink="false">http://www.esscotti.com/?p=115</guid>
		<description><![CDATA[If you got TinyMCE working in most browsers except IE6 then first check how you reference the tinymce javascript file.
We had the following


&#60;!-- TinyMCE --&#62;
 &#60;script type=&#34;text/javascript&#34; src=&#34;../js/tiny_mce/tiny_mce.js&#34;&#62;&#60;/script&#62;
 &#60;script type=&#34;text/javascript&#34;&#62;
 tinyMCE.init({
 mode : &#34;textareas&#34;,
 theme : &#34;advanced&#34;
 });
 &#60;/script&#62;
 &#60;!-- /TinyMCE --&#62;

...which is wrong. The correct code is


&#60;!-- TinyMCE --&#62;
 &#60;script type=&#34;text/javascript&#34; src=&#34;/js/tiny_mce/tiny_mce.js&#34;&#62;&#60;/script&#62;
 &#60;script type=&#34;text/javascript&#34;&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>If you got TinyMCE working in most browsers except IE6 then first check how you reference the tinymce javascript file.</p>
<p>We had the following</p>
<pre class="brush: jscript;">

&lt;!-- TinyMCE --&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;../js/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
 tinyMCE.init({
 mode : &quot;textareas&quot;,
 theme : &quot;advanced&quot;
 });
 &lt;/script&gt;
 &lt;!-- /TinyMCE --&gt;
</pre>
<p>...which is wrong. The correct code is</p>
<pre class="brush: jscript;">

&lt;!-- TinyMCE --&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;/js/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
 tinyMCE.init({
 mode : &quot;textareas&quot;,
 theme : &quot;advanced&quot;
 });
 &lt;/script&gt;
 &lt;!-- /TinyMCE --&gt;
</pre>
<p>Note the src="/js/tiny_mce/tiny_mce.js"  The problem was reported by a client that were using IE6 and could not upgrade to anything else for internal IT-policy reasons.  We easily found the error by looking at the apache error logs on their virtual private server which showed.</p>
<pre class="brush: php;">

[Thu Nov 19 13:20:13 2009] [error] [client xx.xx.xx.xx] Invalid URI in request GET /../js/tiny_mce/themes/advanced/editor_template.js HTTP/1.1, referer: http://www.example.com/admin/
</pre>
<p>It seems the client (the web-client, i.e. IE6) had introduced an extra slash '/' before the javascript filename.  Hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.esscotti.com/2009/09/tinymce-not-working-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
