<?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>Jontas &#187; FCKeditor</title>
	<atom:link href="http://www.f15ijp.com/tag/fckeditor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.f15ijp.com</link>
	<description>My digital notepad (notes etc)</description>
	<lastBuildDate>Wed, 28 Dec 2011 18:24:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Magento: Problem with the Fontis WYSIWYG editor (FCKeditor) and {{store url=&#8221;&quot;}}</title>
		<link>http://www.f15ijp.com/2010/01/04/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-store-url/</link>
		<comments>http://www.f15ijp.com/2010/01/04/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-store-url/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 08:08:32 +0000</pubDate>
		<dc:creator>jontas</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[FCKeditor]]></category>
		<category><![CDATA[Fontis]]></category>
		<category><![CDATA[WYSIWYG]]></category>

		<guid isPermaLink="false">http://f15ijp.com/?p=115</guid>
		<description><![CDATA[The problem is that a link like &#60;a href=&#34;{{store url=&#34;&#34;}}&#34;&#62; gets converted to &#60;a href=&#34;{{store url=&#34;&#62; and that is a problem (it makes the link much longer and the page seams to be lacking a lot of text. One solution is to replace the &#34;&#34; (2 &#34;) where the second disappears with &#8221; (2 &#8216;). [...]]]></description>
			<content:encoded><![CDATA[<p>The problem is that a link like &lt;a href=&quot;{{store url=&quot;&quot;}}&quot;&gt; gets converted to &lt;a href=&quot;{{store url=&quot;&gt; and that is a problem (it makes the link much longer and the page seams to be lacking a lot of text.</p>
<p>One solution is to replace the &quot;&quot; (2 &quot;) where the second disappears with &#8221; (2 &#8216;).</p>
<p>It is probably a very good idea to make this change on all &quot; inside {{ }} to &#8216;s.</p>
<p>However it is still a good idea to do this change in the code mode of the editor or it will do some of its magic on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.f15ijp.com/2010/01/04/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-store-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento: Problem with the Fontis WYSIWYG editor (FCKeditor) and custom database predix</title>
		<link>http://www.f15ijp.com/2009/12/29/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-custom-database-predix/</link>
		<comments>http://www.f15ijp.com/2009/12/29/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-custom-database-predix/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 08:00:32 +0000</pubDate>
		<dc:creator>jontas</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[database prefix]]></category>
		<category><![CDATA[FCKeditor]]></category>
		<category><![CDATA[Fontis]]></category>
		<category><![CDATA[WYSIWYG]]></category>

		<guid isPermaLink="false">http://f15ijp.com/?p=123</guid>
		<description><![CDATA[We were having lots of trouble getting the Configuration JavaScript working. The problem turned out to be that we are having a prefix in our database of magento, and the code was not handling this case. While setting up views in the db would have been one workaround&#8230; To find out if you are suffering [...]]]></description>
			<content:encoded><![CDATA[<p>We were having lots of trouble getting the Configuration JavaScript working.<br />
The problem turned out to be that we are having a prefix in our database of magento, and the code was not handling this case.<br />
While setting up views in the db would have been one workaround&#8230;</p>
<p>To find out if you are suffering from this issue as well, open the fontis_custom_config.php file in an browser &#8211; and if you see mysql errors then there is a problem &#8211; and below is a solution that worked for us.</p>
<p>We did some edits to the js/fontis/fckeditor/fontis_custom_config.php file to make it handle database prefixes.<br />
added:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>28
29
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000088;">$prefix</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">table_prefix</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$tablename</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$prefix</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;core_config_data&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>And then simply replace all the following instances of &#8216;core_config_data&#8217; (without &#8216;s) with &#8216;&#8221; . $tablename .&#8221;&#8216; (again without &#8216;s) (as for insance)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>35
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">            <span style="color: #0000ff;">&quot;SELECT * FROM &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tablename</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot; WHERE path = 'fontis_wysiwyg/fckeditor/usecustomtoolbarjs'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.f15ijp.com/2009/12/29/magento-problem-with-the-fontis-wysiwyg-editor-fckeditor-and-custom-database-predix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

