<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>tinymce &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/tinymce/</link>
	<description>Feed of posts on WordPress.com tagged "tinymce"</description>
	<pubDate>Fri, 27 Nov 2009 13:25:58 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Rich Irony at wordpress.com]]></title>
<link>http://opposablethumbz.wordpress.com/2009/11/16/rich-irony-at-wordpress-com/</link>
<pubDate>Mon, 16 Nov 2009 21:34:57 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid>http://opposablethumbz.wordpress.com/2009/11/16/rich-irony-at-wordpress-com/</guid>
<description><![CDATA[I love irony, and this one is soooo rich. On the wordpress.COM support page for the visual editor, t]]></description>
<content:encoded><![CDATA[I love irony, and this one is soooo rich. On the wordpress.COM support page for the visual editor, t]]></content:encoded>
</item>
<item>
<title><![CDATA[Das neue CMS+ Content Management System der Magento Enterprise Edition 1.6]]></title>
<link>http://ringsdorff.net/2009/10/26/das-neue-cms-content-management-system-der-magento-enterprise-edition-1-6/</link>
<pubDate>Sun, 25 Oct 2009 22:55:59 +0000</pubDate>
<dc:creator>Alexander Ringsdorff</dc:creator>
<guid>http://ringsdorff.net/2009/10/26/das-neue-cms-content-management-system-der-magento-enterprise-edition-1-6/</guid>
<description><![CDATA[Als dritte und vorerst letzte große Neuerung der Magento Enterprise Edition 1.6 stelle ich in diesem]]></description>
<content:encoded><![CDATA[Als dritte und vorerst letzte große Neuerung der Magento Enterprise Edition 1.6 stelle ich in diesem]]></content:encoded>
</item>
<item>
<title><![CDATA[How to use TinyMCE]]></title>
<link>http://kassabov.wordpress.com/2009/10/23/how-to-use-tinymce/</link>
<pubDate>Fri, 23 Oct 2009 15:08:20 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid>http://kassabov.wordpress.com/2009/10/23/how-to-use-tinymce/</guid>
<description><![CDATA[One of the more frustrating thing about a web application is that you can never truly duplicate rich]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>One of the more frustrating thing about a web application is that you can never truly duplicate rich text formatting capabilities of a desktop client.  And when you&#8217;re web enabling a Lotus Notes application, the difference becomes even more obvious.  Luckily, there are various very light JavaScript text editors, which offer more functionality than the standard out-of-the-box Domino text editor.  One of those editors is a very popular <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE</a>.</p>
<p>TinyMCE is used by many different web content managers, including Django, Drupal, Joomla and this very site &#8212; WordPress.  And you can use it inside of your Domino applications.  (I know that some folks been doing this for years, but since I&#8217;ve never used a 3-rd party editor in my applications before, so this is new to me.)</p>
<p>The nice thing about TinyMCE is that it is a lightweight WISYWIG editor, which is platform independent.  It is easy to integrate into any application with only few lines of  code.  And it runs under pretty much any browser.</p>
<ol>
<li>So, first of all, go <a href="http://tinymce.moxiecode.com/download.php" target="_blank">here</a> and download the latest version of TinyMCE.  You can even download various language packs, if you need a different language version of the editor.</li>
<li>Extract the downloaded zip file and copy its contents to the html directory of your Domino server.  It might be something like d:\lotus\domino\data\domino\html.  The default directory name will be tinymce.  You can rename it, if you like, just remember what it is as you will need to reference it in the initialization code of your form.</li>
<li>Next, build your form.  The easiest way to deploy a TinyMCE editor is to have hook into any text area on your form.  So create at least 1 RichText field.  If you want to control its appearance, you can use the style field on the HTML property tab.<br />
<img class="aligncenter size-full wp-image-501" title="Body Field" src="http://kassabov.wordpress.com/files/2009/10/body-field.jpg" alt="Body Field" width="240" height="187" /></li>
<li>Now, you&#8217;re ready to add TinyMCE to your form.  In the HTML Head section of the form, add this 1 line of code:<br />
<em><span style="font-size:small;">&#8220;&#60;script type=\&#8221;text/javascript\&#8221; src=\&#8221;/tinymce/jscripts/tiny_mce/tiny_mce.js\&#8221;&#62;&#60;/script&#62;&#8221;</span></em><br />
Make sure that the path to you editor matches your directory structure, in case you renamed it for whatever reason.</li>
<li>Add the function to initialize the editor to the JS Header section of the form.  The function below loads the TinyMCE editor with all available options and buttons.  The beauty of this editor is that you can truly control what options and abilities you will give to your users.  Things like a spell checker, for example, are a must.  But you may not want to allow your users to create tables.</li>
<p><em></p>
<div style="font-size:x-small;">
<p style="padding-left:30px;"><em>tinyMCE.init({</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>mode : &#8220;textareas&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme : &#8220;advanced&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>plugins : &#8220;safari, pagebreak, style, layer, table, save, advhr, advimage, advlink, emotions, iespell, inlinepopups, insertdatetime, preview, media, searchreplace, print, contextmenu, paste, directionality, fullscreen, noneditable, visualchars, nonbreaking, template, wordcount&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>// Theme options</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_buttons1 : &#8220;save, newdocument, &#124;, bold, italic, underline, strikethrough, &#124;, justifyleft, justifycenter, justifyright, justifyfull, styleselect,formatselect,fontselect,fontsizeselect&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_buttons2 : &#8220;cut, copy, paste, pastetext, pasteword, &#124;, search, replace, &#124;, bullist, numlist, &#124;, outdent, indent, blockquote, &#124;, undo, redo, &#124;, link, unlink, anchor, image, cleanup, help, code, &#124;, insertdate, inserttime, preview, &#124;, forecolor, backcolor&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_buttons3 : &#8220;tablecontrols, &#124;, hr, removeformat, visualaid, &#124;, sub,sup, &#124;, charmap, emotions, iespell,media,advhr,&#124;,print,&#124;,ltr,rtl,&#124;,fullscreen&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_buttons4 : &#8220;insertlayer, moveforward, movebackward, absolute, &#124;, styleprops, &#124;, cite, abbr, acronym, del, ins,attribs,&#124;,visualchars,nonbreaking,template,pagebreak&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_toolbar_location : &#8220;top&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_toolbar_align : &#8220;left&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_statusbar_location : &#8220;bottom&#8221;,</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>theme_advanced_resizing : true</em></p>
<p style="padding-left:30px;"><span style="white-space:pre;"><em> </em></span><em>//</em><span style="white-space:pre;"><em> </em></span><em>content_css : &#8220;styles/editor.css&#8221;</em></p>
<p style="padding-left:30px;"><em>})</em></p>
</div>
<p></em></p>
<li>Lastly, include the TinyMCE save function in your Submit code.<br />
<em><span style="font-size:x-small;"> tinyMCE.triggerSave(false, false);</span></em></li>
<li>You&#8217;re pretty much done.</li>
</ol>
<p>Now, keep in mind, that the text coming out of TinyMCE will be all HTML formatted.  This is not something that will look good opened in the Notes client, so, primarily, this works well for web only applications.  For applications used both in the browser and in the client, you may want to do some MIME to RichText conversion.</p>
<ol></ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Menambah Emotion pada TinyMce]]></title>
<link>http://laylaysugoi.wordpress.com/2009/10/06/menambah-emotion-pada-tinymce/</link>
<pubDate>Tue, 06 Oct 2009 07:47:44 +0000</pubDate>
<dc:creator>laylay</dc:creator>
<guid>http://laylaysugoi.wordpress.com/2009/10/06/menambah-emotion-pada-tinymce/</guid>
<description><![CDATA[emotion_at_tiny_image Para web developer sekarang, tentu sudah tidak asing lagi sama TinyMce. TinyMc]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_4" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-4" title="emotion_tiny" src="http://laylaysugoi.wordpress.com/files/2009/10/emotion_tiny.png?w=300" alt="emotion_at_tiny_image" width="300" height="109" /><p class="wp-caption-text">emotion_at_tiny_image</p></div>
<p style="font-family:Calibri;font-size:11pt;margin:0;">Para web developer sekarang, tentu sudah tidak asing lagi sama TinyMce. TinyMce merupakan  salah satu open source WYSISYG (What You See Is What You Get) editor.  Dengan editor ini pada web, pengunjung web bisa mengetik tulisan dan mengeditnya seperti pada Ms. Word. TinyMce diterapkan pada tag textarea (&#60;textarea &#62;) pada HTML. Dengan sedikit konfigurasi khusus dengan settingan web kamu, maka textarea otomatis bisa berubah jadi text editor sederhana.</p>
<p>Yang penulis mau share kali ini yaitu gimana caranya nambah emotion di toolbar TinyMce versi 3.2.1.1 (advance theme). Secara default, di  theme ini cuman ada16 emotion. </p>
<p style="font-family:Calibri;font-size:11pt;margin:0;">Nah, dengan cara berikut ini, kamu bisa nambah bahkan kasih style emotion kamu sendiri ke dalam TinyMce yang diterapin di web kamu.</p>
<ol style="margin-left:.375in;direction:ltr;unicode-bidi:embed;margin-top:0;margin-bottom:0;font-family:Calibri;font-size:11pt;" type="1">
<li style="margin-top:0;margin-bottom:0;vertical-align:middle;"><span style="font-family:Calibri;font-size:11pt;">Masuk ke folder \tiny_mce\plugins\emotions\img. Di      sinilah folder gambar disimpan. Paste gambar&#8221; yang akan ditambah ke      sini. Misal ini gambar yang maw ditambahkan.
<div id="attachment_6" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-6 " title="emo1" src="http://laylaysugoi.wordpress.com/files/2009/10/emo1.png?w=300" alt="example emotion files" width="300" height="74" /><p class="wp-caption-text">example emotion files</p></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p></span></li>
<li>Buka file \tiny_mce\plugins\emotions\langs\en_dlg.js.      Tambahkan baris berikut di antara kurung kurawal &#8216;{}&#8217; : <code><br />
happy:"Happy",<br />
bearing:"Bearing",<br />
coldsweats:"Coldsweats",<br />
confident:"Confident" </p>
<p></code> </li>
<li>Lalu buka file \tiny_mce\plugins\emotions\emotions.htm.      Di dalam tag table, tambah 1 baris 4 kolom yang akan diisi dengan gambar      yang baru. Copy 1 set &#60;tr&#62;(dari &#60;tr&#62; sampe &#60;/tr&#62;), lalu      paste dan edit sesuai dengan konfigurasi yang sudah kita lakukan di atas : <code><br />
&#60;tr&#62;     &#60;td&#62;&#60;a href="javascript:EmotionsDialog.insert('bearing.gif','emotions_dlg.bearing');"&#62;&#60;img src="img/bearing.gif" width="18" height="18" border="0" alt="{#emotions_dlg.bearing}" title="{#emotions_dlg.bearing}" /&#62;&#60;/a&#62;&#60;/td&#62;    </p>
<p>&#60;td&#62;&#60;a href="javascript:EmotionsDialog.insert('coldsweats.gif','emotions_dlg.coldsweats');"&#62;&#60;img src="img/coldsweats.gif" width="18" height="18" border="0" alt="{#emotions_dlg.coldsweats}" title="{#emotions_dlg.coldsweats}" /&#62;&#60;/a&#62;&#60;/td&#62;</p>
<p>&#60;td&#62;&#60;a href="javascript:EmotionsDialog.insert('confident.gif','emotions_dlg.confident');"&#62;&#60;img src="img/confident.gif" width="18" height="18" border="0" alt="{#emotions_dlg.confident}" title="{#emotions_dlg.confident}" /&#62;&#60;/a&#62;&#60;/td&#62;</p>
<p>&#60;td&#62;&#60;a href="javascript:EmotionsDialog.insert('happy.gif','emotions_dlg.happy');"&#62;&#60;img src="img/happy.gif" width="18" height="18" border="0" alt="{#emotions_dlg.happy}" title="{#emotions_dlg.happy}" /&#62;&#60;/a&#62;&#60;/td&#62;</p>
<p></code><code>  &#60;/tr&#62;</code></li>
<li>Tadaaa…. Emotions pun nambah, jadi seperti ini deh : 
<p><div id="attachment_7" class="wp-caption aligncenter" style="width: 266px"><img class="size-full wp-image-7 " title="emo2" src="http://laylaysugoi.wordpress.com/files/2009/10/emo2.png" alt="emo2" width="256" height="188" /><p class="wp-caption-text">Hasil tambahan emotion</p></div></li>
<li>Sekarang, kita sudah bisa menyertakan smiley itu di      tulisan yang akan diposting :</li>
</ol>
<p style="font-family:Calibri;font-size:11pt;margin:0;"> </p>
<p style="font-family:Calibri;font-size:11pt;margin:0;">Gampang kan??? ^^  Selamat mencoba!!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[briciole di drupal #2]]></title>
<link>http://kintaroisland.wordpress.com/2009/09/18/briciole-di-drupal-2/</link>
<pubDate>Fri, 18 Sep 2009 07:32:53 +0000</pubDate>
<dc:creator>Giulio</dc:creator>
<guid>http://kintaroisland.wordpress.com/2009/09/18/briciole-di-drupal-2/</guid>
<description><![CDATA[Drupal ver. 5.x Dopo aver speso diverso tempo a smanettare con IMCE, decido che l&#8217;interfaccia ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Drupal ver. 5.x</p>
<p><a href="http://kintaroisland.wordpress.com/2009/07/25/briciole-di-drupal-1/" target="_blank">Dopo aver</a> speso diverso tempo a smanettare con IMCE, decido che l&#8217;interfaccia non mi piace, ma soprattutto non permette la facile interazione con le immagini. In questo senso molto meglio il modulo <a href="http://drupal.org/project/image">Image</a> che permette di creare nodi come immagini, risolvendo l&#8217;imbarazzante problema dell&#8217;inserimento inline di immagini caricate.<br />
Insieme al modulo Image ho installato il modulo <a href="drupal.org/project/img_assist" target="_blank">Image assist</a> <a href="http://drupal.org/node/520586">(5.x-2.0-alpha4</a>) e speso giorni alla ricerca dell&#8217;integrazione con FCKEditor (<a href="http://drupal.org/node/577276">5.x-2.3</a>), sia tramite il modulo <a href="drupal.org/project/wysiwyg" target="_blank">wysiwyg API</a>, sia senza. Il problema era l&#8217;inserimento inline dell&#8217;immagine nell&#8217;editor.</p>
<p>L&#8217;integrazione tra i due moduli dovrebbe avvenire copiando il file img_assist_fckeditor.js dalla cartella dei plugin di fckeditor alla cartella del modulo img_assist. Purtroppo, anche se posso accedere a img_assist tramite l&#8217;editor, non si riesce a inserire l&#8217;immagine inline. Succede una cosa strana: viene attivato il pulsante img_assist sulla barra di fckeditor, e disabilitato quello di defualt, sotto il textbox. Invece, disabilitando l&#8217;editor rich-text, posso accedere a img_assist tramite il pulsante sotto il textbox, che ricompare per magia, e mi permette di inserire l&#8217;immagine attraverso il tag inline. Tornando alla versione rich-text però non vedo l&#8217;immagine, che però una volta pubblicata è visibile. <a href="http://drupal.org/project/issues/img_assist?text=fckeditor&#38;status=All&#38;priorities=All&#38;categories=All&#38;version=5.x&#38;component=All" target="_blank">Scopro </a>che non è un problema comune e provo diverse soluzioni, smanetto con i formati di input, installo il modulo Inline, dello stesso mantainer di Img_assist, installo la versione 1.x di img_assist, provo a debuggare il codice da me, ma le mie competenze informatiche di php e java sono ancora troppo &#8220;misto mare&#8221;. L&#8217;errore java che mi compare (usando IE) è &#8220;Line 84. Char 5. Error: Can&#8217;t move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. Code:0&#8243; , cercare su google non serve molto.</p>
<p>Il problema da risolvere è: come inserire facilmente immagini nel testo? Il modulo inline non è male e assomiglia all&#8217;inserimento di wordpress, tuttavia o si caricano le immagini tramite l&#8217;upload di drupal (creando il fastidioso effetto attach, che non mi piace), oppure si mischia l&#8217;upload di img_assist e inline, ma mi sa troppo di soluzione di ripiego.</p>
<p>Alla fine, bando alle ciance, installo <a href="http://drupal.org/project/tinymce" target="_blank">TinyMCE</a> tramite wysiwyg API. Questo permette l&#8217;integrazione nativa con img_assist, risolvendomi ogni problema. Tengo installato il modulo inline che potrà tornare comunque utile in futuro. Inoltre grazie all&#8217;API ho attualmente installato: TinyMCE, FCKEditor, OpenWYSIWYG, cercando di tenermi aperte diverse possibilità quando capirò le necessità degli utenti.</p>
<p>Prossimo problema: gallerie di immagini (in prova la funzione del modulo Image) e personalizzazione del titolo dei blog (diamine, pare un banale problema mai risolto).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Joomla Plugins]]></title>
<link>http://meghsoft.wordpress.com/2009/08/29/joomla-plugins/</link>
<pubDate>Sat, 29 Aug 2009 18:26:20 +0000</pubDate>
<dc:creator>meghsoft</dc:creator>
<guid>http://meghsoft.wordpress.com/2009/08/29/joomla-plugins/</guid>
<description><![CDATA[Authentication (Joomla!, LDAP, OpenID, GMail) The “Authentication” plugins add different form of use]]></description>
<content:encoded><![CDATA[Authentication (Joomla!, LDAP, OpenID, GMail) The “Authentication” plugins add different form of use]]></content:encoded>
</item>
<item>
<title><![CDATA[TinyMCE spellchecker java implementation]]></title>
<link>http://achorniy.wordpress.com/2009/08/11/tinymce-spellchecker-in-java/</link>
<pubDate>Tue, 11 Aug 2009 18:13:30 +0000</pubDate>
<dc:creator>Andrey Chorniy</dc:creator>
<guid>http://achorniy.wordpress.com/2009/08/11/tinymce-spellchecker-in-java/</guid>
<description><![CDATA[TinyMCE rich-editor have a plugin to provide Ajax-spell-checking functionality. See the link to Tiny]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>TinyMCE rich-editor have a plugin to provide Ajax-spell-checking functionality. See the <a href="http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker">link to TinyMCE plugin documentation</a><br />
So, if you have a PHP and PSPell/ASpell on your server &#8211; then you are fine and you can use them, but this post is about the situation then you don&#8217;t have them or want to use your own implementation. In that case we can configure &#8220;spellcheck&#8221; plugin to use our own service.<br />
What we have to do is to create a webservice compatible with the &#8220;TinyMCE spellchecker plugin&#8221; and configure spellcheck with the URL to that service. Because of browser security reasons this service should be hosted on the same domain as the application which use it (ajax calls can be blocked if requested URL is on another domain then your page). And since we are using java then we can use open-source <a href="http://jazzy.sourceforge.net/">Jazzy spellchecker library</a> to implement spell-checking functions required by the TinyMCE spellchecker plugin</p>
<pre class="brush: jscript;">
tinyMCE.init({
	theme : &#34;advanced&#34;,
	mode : &#34;textareas&#34;,
	plugins : &#34;spellchecker&#34;,
	theme_advanced_buttons3_add : &#34;spellchecker&#34;,
	spellchecker_languages : &#34;+English=en,Swedish=sv&#34;
        spellchecker_rpc_url    : &#34;/spellchecker/jazzy-spell-check&#34;, //spellcheck url
});
</pre>
<p>In the configuration example above we set the link to our splechecker-service-url with the &#8220;spellchecker_rpc_url    : &#8220;/spellchecker/jazzy-spell-check&#8221;;&#8221;<br />
&#8220;/spellchecker/jazzy-spell-check&#8221; will be served by the servlet which use Jazzy project.<br />
TinyMCE spellchecker plugin send JSON request to spellchecker_rpc_url with two possible methods:</p>
<ol>
<li><strong>checkWords</strong> &#8211; send the array of words as <code>params</code> attribute and expect the JSONArray of misspelled words in the <code>result</code> JSON-response attribute.</li>
<li><strong>getSuggestions</strong> &#8211; send the checked word as the first and only element of <code>params</code> attribute and expects the JSONArray of suggested words the <code>result</code> JSON-response attribute.</li>
</ol>
<p>So, when user click on &#8220;check spellcheck&#8221; button, plugin get the list of words and send them as the JSON request, with two parameters &#8220;method&#8221;=&#8221;checkWords&#8221; and &#8220;params&#8221;=&#8221;JSONArray(words)&#8221;. Servlet return the list of misspelled words in the JSON-response <code>"{'id':null,'result': JSONArray(misspelled-words),'error':null}" </code>, misspelled words are highlighted and once user click on one of them &#8211; request to get the list of suggested words is send to the server. &#8220;method&#8221;=&#8221;getSuggestions&#8221; and &#8220;params&#8221;=&#8221;JSONArray(checked-word)&#8221; . Server return the <code>"{'id':null,'result': JSONArray(word-suggestions),'error':null}" </code> JSON-response and list of suggestions is displayed to the user.</p>
<p><strong>Update</strong>: You can see the backend java source code at the <a href="https://sourceforge.net/projects/jspellchecker">jspellchecker</a> sourceforge project. SVN is accessible via &#8220;svn co https://jspellchecker.svn.sourceforge.net/svnroot/jspellchecker jspellchecker&#8221; or you can <a href="http://jspellchecker.svn.sourceforge.net/viewvc/jspellchecker/">browse source-code </a>. Please take a notice that source-code doesn&#8217;t include dictionaries. The dictionaries are located in the /WEB-INF/dictionary/${lang}-${country-code}.<br />
Special thanks to the Rich Irwin who initially provide me the code.<br />
The quality of spell-checking with jazzy depends on the quality of your dictionary. I think it possible to get thelist of words from <a href="https://addons.mozilla.org/en-US/firefox/browse/type:3">Mozilla Dictionaries</a> by saving XPI and opening it as ZIP file, saving dictionary file and remove &#8220;/xyz&#8221; from the end of the words, but please check the licensing notice before. You can also extract dictionaries form aspell (have no details how to do it)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[بررسی بهترین ویرایشگرهای متن آنلاین برای توسعه دهندگان وب]]></title>
<link>http://farasun.wordpress.com/2009/08/06/best-rich-text-editors-for-web-developers-reviewed/</link>
<pubDate>Thu, 06 Aug 2009 14:18:38 +0000</pubDate>
<dc:creator>ایمان</dc:creator>
<guid>http://farasun.wordpress.com/2009/08/06/best-rich-text-editors-for-web-developers-reviewed/</guid>
<description><![CDATA[یکی از تصمیمات مهمی که هر توسعه دهنده وب هنگام ایجاد یک وب سایت خواهد گرفت، همانا انتخاب یک ویرایشگر]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">یکی از تصمیمات مهمی که هر توسعه دهنده وب هنگام ایجاد یک وب سایت خواهد گرفت، همانا انتخاب یک ویرایشگر متن مناسب است. بسیاری از سیستم های مدیریت محتوای تحت وب، برای تولید محتوای متنی، ویرایشگرهایی با امکانات قالب بندی متون غنی (Rich Text) به کاربرانشان ارائه می دهند. نمونه های این ویرایشگرها را در هنگام نوشتن مطلب جدید در وبلاگ هایتان دیده اید. به طور مثال وردپرس، برای ایجاد مطلب یا صفحه، یک ویرایشگر با امکانات قالب بندی متن، درج تصویر و لینک در متن به شما می دهد.</p>
<p style="text-align:justify;"><img class="size-full wp-image-1020 alignright" title="rte" src="http://farasun.wordpress.com/files/2009/08/rte.jpg" alt="rte" width="200" height="160" /></p>
<p style="text-align:justify;">توسعه دهندگان وب برای دادن این امکانات ویرایشی به کاربران خود دو راه در پیش رو دارند، خودشان یک ویرایشگر بسازند یا از ویرایشگرهای موجود استفاده کنند. یک توسعه دهنده باهوش حتماً راه دوم را انتخاب خواهد کرد زیرا ویرایشگرهای زیادی روی وب وجود دارند که چند سال روی آن ها وقت گذاشته شده، عیب یابی شده اند و به صورت استاندارد درآمده اند و بسیاری از آن ها نیز به صورت اوپن سورس و رایگان در اختیار ما قرار دارند. در این مطلب به معرفی چند ویرایشگر مناسب برای توسعه دهندگان وب خواهم پرداخت.</p>
<h2><a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE</a></h2>
<p>ویرایشگر اوپن سورس و قدرتمندی است که در تمامی مرورگرهای استاندارد فایرفاکس، اپرا، اینترنت اکسپلورر، سافاری و کروم به خوبی کار می کند. <strong>TinyMCE</strong> به راحتی و با نوشتن دو سه خط کد در صفحه مورد نظر شما جای می گیرد و به کاربران شما اجازه استفاده از یک ویرایشگر غنی و قدرتمند را می دهد. از مزایای این ویرایشگر می توان به سرعت لود مناسب، سازگاری با AJAX، قابلیت چند زبانگی و رایگان بودن اشاره کرد. TinyMCE دارای اجتماع کاربری، راهنما و مستندات بسیار خوبی است. بسیاری از سیستم های مدیریت محتوا مثل ورپرس از این ویرایشگر قدرتمند استفاده می کنند.</p>
<h2><a href="http://www.fckeditor.net/" target="_blank">FCKeditor</a></h2>
<p>ویرایشگریست که سعی می کند بیشتر امکانات ویرایشگرهای تحت دسکتاپ مانند MS Word را در وب پیاده سازی کند. سبک است و برای استفاده از آن احتیاجی به نصب در کامپیوتر کلاینت ندارد. این ها جملاتی است که در وب سایت رسمی <strong>FCKeditor</strong> در وصف آن نوشته شده اند. این ویرایشگر قدرتمند با تمامی مرورگرهای استاندارد سازگار است و با بیشنر زبان های برنامه نویسی تحت وب مجتمع می شود. امکانات مناسب برای قالب بندی متن، پشتیبانی از CSS، آپلود تصاویر، مرور فایل های روی سرور، ایجاد جدول، درج فرم فیلد، منوی راست کلیک (Context Menu) اختصاصی، پوسته اختصاصی، تشخیص خودکار مرورگر کاربر و خروجی HTML مطلوب از قابلیت های این ویرایشگر هستند.</p>
<h2><a href="http://developer.yahoo.com/yui/editor/" target="_blank">Yahoo! UI Editor</a></h2>
<p>یاهو یکی از پیشرو ترین شرکت های وب در زمینه تولید ابزارهای مربوط به توسعه دهندگان وب است. کنترل Rich Text Editor یاهو یکی از بهترین و قدرتمند ترین راه حل ها در این زمینه است. از امکانات این ویرایشگر میتوان به مجوز اوپن سورس، قابلیت های خوب قالب بندی متون، پشتیبانی از مرورگرهای مختلف، تنظیمات قابل انعطاف، پشتیبانی از قابلیت کشیدن و رها کردن و روش شیء گرا در برنامه نویسی آن اشاره کرد. این کنترل جزئی از پروژه کتابخانه <a href="http://developer.yahoo.com/yui/" target="_blank"><strong>YUI</strong></a> شرکت <a href="http://yahoo.com" target="_blank"><strong>یاهو!</strong></a> است.</p>
<h2><a href="http://www.freerichtexteditor.com" target="_blank">FreeRichTextEditor</a></h2>
<p>یک ویرایشگر قدرتمند و مبتنی بر جاوا اسکریپت که با اضافه کردن فقط سه خط کد به صفحات خودتان می توانید به کاربران خودتان لذت استفاده از یک ویرایشگر زیبا و قوی را بدهید. ظاهر این ویرایشگر شبیه به MS Word ساخته شده که کاربران با آن احساس نا آشنایی نکنند. تقریباً تمام امکاناتی که از یک ویرایشگر تحت وب انتظار دارید، <strong>FreeRichTextEditor</strong> دارای آن می باشد.</p>
<h2><a href="http://nicedit.com/" target="_blank">NiceEdit</a></h2>
<p>یک ویرایشگر بسیار سبک، کم حجم و با نصب آسان است که روی تمام مرورگرها و سیستم عامل های موجود به خوبی کار می کند. هر چند مانند TinyMCE و FCKeditor قوی نیست و امکانات کمتری دارد اما برای کسانی که یک ویرایشگر ساده و بدون دردسر نیاز دارند بسیار مناسب است. این ویرایشگر سبک فقط 35کیلوبایت حجم دارد و فقط از دو فایل (js و icon) تشکیل شده است. این را با تعداد فایل های دیگر ویرایشگر ها مقایسه کنید. پشتیبانی از متد HTTP Post و AJAX برای ذخیره متن خروجی، کم حجم بودن، اسفاده آسان هم برای برنامه نویسان و هم برای کاربران نهایی، تنظیمات قابل انعطاف و پشتیبانی از تمامی مرورگرهای استاندارد از مزایای استفاده از <strong>NiceEdit</strong> هستند.</p>
<h2><a href="http://freetextbox.com/" target="_blank">FreeTextBox</a></h2>
<p>پر استفاده ترین ویرایشگر متن در دنیای ASP.NET است. بسیاری از وب سایت های مبتنی بر تکنولوژی <a href="http://farasun.wordpress.com/category/aspnet/" target="_blank"><strong>ASP.NET</strong></a> از <strong>FreeTextBox</strong> به عنوان ویرایشگر HTML استفاده می کنند. کاملاً با IE و فایرفاکس سازگار است و امکانات خوبی به کاربر نهایی جهت قالب بندی متن می دهد. نسخه های اخیر این ویرایشگر روی پلت فرم مونو هم اجرا می شود.</p>
<h2><a href="http://www.codeplex.com/rte" target="_blank">RTE ASP.NET Control</a></h2>
<p>اگر شما هم مثل من یک برنامه نویس ASP.NET هستید، حتماً با User Controlها آشنایی دارید. هدف <a href="http://www.codeplex.com/rte" target="_blank">این پروژه</a> در کدپلکس جمع آوری تمامی امکانات یک ویرایشگر متن غنی در یک کنترل ASP.NET است. فایل dll این ویرایشگر را به شاخه bin پروژه خود اضافه کنید و به راحتی در هر صفحه ای که خواستید از آن استفاده کنید. متاسفانه کیفیت خروجی این کنترل هنوز به سطح مطلوبی نرسیده و به جز IE و فایرفاکس، از مرورگر دیگری پشتیبانی نمی کند.</p>
<h2><a href="http://www.codeplex.com/richtextedit" target="_blank">Silverlight RichTextEditor</a></h2>
<p>همانطور که از عنوان این ویرایشگر پیداست، یک ویرایشگر غنی برای <a href="http://farasun.wordpress.com/category/%D8%B3%DB%8C%D9%84%D9%88%D8%B1%D9%84%D8%A7%DB%8C%D8%AA/" target="_blank"><strong>سیلورلایت</strong></a> است. اوپن سورس است و با سیلورلایت نسخه 2 سازگاری دارد. متاسفانه در حال حاضر توسعه این پروژه تا اطلاع بعدی متوقف شده است.</p>
<p><span style="color:#ffffff;">farasun.wordpress.com</span></p>
<p><strong><a title="Subcribe to Farasun feed" href="http://feeds2.feedburner.com/Farasun" target="_blank">مشترک فید فراسان شوید!</a></strong> <a href="../about/rssfeed" target="_blank"><span style="color:#c0c0c0;"><em>نمی دانید فید چیست!؟</em></span></a></p>
<p>مطالب مرتبط :</p>
<ul>
<li><a href="http://farasun.wordpress.com/2009/02/10/20-useful-firefox-extensions-for-web-developers-and-web-designer/" target="_blank"><strong>20+ افزونه فایرفاکس برای توسعه دهندگان و طراحان وب</strong></a></li>
<li><strong><a href="http://farasun.wordpress.com/2008/02/09/beginning-web-application-programming/" target="_blank">چطور یک برنامه نویس وب شویم!؟</a></strong></li>
<li><a href="http://farasun.wordpress.com/2009/05/20/web-service-in-simple-language/" target="_blank"><strong>وب سرویس به زبان ساده</strong></a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Content Management Systems]]></title>
<link>http://tmcd35.wordpress.com/2009/08/06/content-management-systems/</link>
<pubDate>Thu, 06 Aug 2009 13:33:31 +0000</pubDate>
<dc:creator>tmcd35</dc:creator>
<guid>http://tmcd35.wordpress.com/2009/08/06/content-management-systems/</guid>
<description><![CDATA[I&#8217;ve never been a big fan of CMS&#8217;s.  I&#8217;ve always preferred to write my own barstar]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve never been a big fan of CMS&#8217;s.  I&#8217;ve always preferred to write my own barstardised code.   When it&#8217;s only me editing the content that is just fine, I have a lot more control that way.  I am competent (thats competent not good) at HTML, PHP, SQL and even a smidgin of CSS.  However when you need to put together a fresh new website in a matter of hours that even the new admin assistant hired last week can competently edit then the right CMS can be invaluable.</p>
<p><!--more-->This is the situation I find myself in this week, having spent 3 or 4 months actively putting of any web development and finally admitting that Fronter&#8217;s (our Virtual Learning Environment) built-in CMS is basically pants.   Our web host is our LEA who do not provide SQL support.  The lack of SQL being the reason for experimenting with Fronter&#8217;s CMS in the first place.</p>
<p>Well the search was on for a suitable &#8220;flat-file CMS&#8221; and I&#8217;m happy to report that Pluck (<a href="http://www.pluck-cms.org/?file=kop1.php" target="_blank">http://www.pluck-cms.org/?file=kop1.php</a>) has stepped upto the plate and hit the ball out the park.</p>
<p>The worst I can say about Pluck is that I&#8217;ve had to edit the TinyMCE config file to stop it validating the HTML code and thus stripping out my needed iFrame tags.  I am also in need of a File Manager so the admin staff can quickly upload a PDF to the website and link it on a given page.    TinyMCE is a third party plugin that Pluck (and most CMS&#8217;s) uses to provide a WYSIWYG web page editor.  If you can use a word processor you can update content on this site &#8211; excellent!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Oxymoron des tages...]]></title>
<link>http://schwerdtfegr.wordpress.com/2009/08/01/oxymoron-des-tages/</link>
<pubDate>Sat, 01 Aug 2009 14:44:07 +0000</pubDate>
<dc:creator>Nachtwaechter</dc:creator>
<guid>http://schwerdtfegr.wordpress.com/2009/08/01/oxymoron-des-tages/</guid>
<description><![CDATA[&#8230;ist die bezeichnung &#8220;TinyMCE&#8221; für diesen in javascript gehäckten WYSIWYG-editor, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#8230;ist die bezeichnung &#8220;TinyMCE&#8221; für diesen in javascript gehäckten WYSIWYG-editor, der gar nicht &#8220;tiny&#8221; ist, sondern mit 500 kilobytes javascript in knapp 350 verschiedenen dateien daher kommt. Darunter ächzt jeder ältere rechner. Auch wördpress benutzt den im bäckend zum verfassen eines blogeintrages &#8212; aber damit kann man noch leben, weil man das eben nicht alle paar sekunden tut. Aber was reitet eigentlich so einen depperten forenbetreiber, der sich dieses aufgeblähte monstrum in sein forum holt, damit die nutzer damit ihre beiträge verfassen, und der &#8212; als ob das nicht reichte &#8212; dieses monstrum unter jede diskussjon drunterklatscht und damit die benutzung seines forums etwa so interessant wie die beobachtung von zähflüssig durchs geäst hangelnden faultieren macht. Hat so ein forumbetreiber etwa keine probleme mit seinem websörver und dem träffik, den so etwas verursacht? Oder hasst er einfach nur seine forennutzer?</p>
<p>Einmal ganz davon abgesehen, dass ganz viele nutzer dieses forums den komfort vor allem dazu nutzen, jede noch so sinnentleerte textauszeichnung in ihre beiträge reinzuklickern, so dass das tolle desein des forums so richtig in die absurdität gezogen wird, weil der eigentlich inhalt aussieht, als säßen da drei dutzend affen an einer setzmaschine.</p>
<p>Mich hat er jedenfalls vertrieben. Nach weniger als zwei minuten. Die temen, die eigentlich ein forum beleben sollen, treten hinter derartigen zumutungen so zurück, dass man keine lust darauf hat.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[tinyMCE Multiple Instances with AJAX (Ruby on Rails)]]></title>
<link>http://ianma.wordpress.com/2009/07/23/tinymce-multiple-instances-with-ajax-ruby-on-rails/</link>
<pubDate>Thu, 23 Jul 2009 17:02:02 +0000</pubDate>
<dc:creator>vyolian</dc:creator>
<guid>http://ianma.wordpress.com/2009/07/23/tinymce-multiple-instances-with-ajax-ruby-on-rails/</guid>
<description><![CDATA[I had a problem where I had multiple textboxes on a page but only certain ones needed to be tinyMCE ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I had a problem where I had multiple textboxes on a page but only certain ones needed to be tinyMCE WYSIWYGs. I also needed it to work with Ajax and allow for multiple submissions. Here are the gotchas for making it work (I was using Ruby on Rails).</p>
<p>1) <strong>Make sure your init mode is set to &#8216;none&#8217;</strong>: I also made a mistake of initializing tinyMCE multiple times, once in each partial.</p>
<pre class="brush: ruby;">
tinyMCE.init({
	mode : &quot;none&quot;,
	theme : &quot;advanced&quot;,
    inline_styles : &quot;true&quot;,
	plugins : &quot;&quot;,
</pre>
<p>2) <strong>Add control for each interested textarea</strong>: something like&#8230;</p>
<pre class="brush: ruby;">
&lt;%= javascript_tag(&quot;tinyMCE.execCommand(
          'mceAddControl', true, 'my_textarea_id');&quot;) %&gt;
</pre>
<p>3) <strong>TriggerSave before; Clean Up Afterwards</strong></p>
<pre class="brush: ruby;">
&lt;% remote_form_for :my_object, :url=&gt;my_url,
        :before=&gt;&quot;tinyMCE.triggerSave(true, true);&quot;,
        :update=&gt;{:success=&gt;'succes_id', :failure=&gt;'failure_id'},
        :success=&gt;&quot;tinyMCE.execCommand('mceRemoveControl', false, 'my_textarea_id');&quot; do &amp;#124;f&amp;#124; %&gt;
</pre>
<h3>Resources</h3>
<p>http://stackoverflow.com/questions/699615/cant-post-twice-from-the-same-ajax-tinymce-textarea<br />
http://www.elevatedrails.com/articles/2007/08/08/using-rails-tinymce-and-ajax/<br />
http://hamisageek.blogspot.com/2007/11/multiple-tinymce-3-instances-on-one.html</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Add YouTube Plug-in to Umbraco/TinyMCE]]></title>
<link>http://blog.leekelleher.com/2009/07/16/add-youtube-plugin-to-umbraco-tinymce/</link>
<pubDate>Thu, 16 Jul 2009 15:07:25 +0000</pubDate>
<dc:creator>Lee Kelleher</dc:creator>
<guid>http://blog.leekelleher.com/2009/07/16/add-youtube-plugin-to-umbraco-tinymce/</guid>
<description><![CDATA[Update: Following on from Dirk and Ismail&#8217;s comments, I found out that this YouTube plug-in do]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong><span style="text-decoration:underline;"><em>Update:</em></span></strong><em> Following on from <a href="#comment-224">Dirk and Ismail&#8217;s comments</a>, I found out that this YouTube plug-in does not work with TinyMCE v3 (which is the default richtext editor in Umbraco v4). This guide is written to works  for Umbraco v3 <strong>only</strong>, (using TinyMCE v2).</em></p>
<p><em>If you are looking for similar functionality in Umbraco v4, (TinyMCE v3), then all you need to do is enable the &#8216;Flash/media&#8217; button in your Richtext editor data-type and embed the YouTube video like any other Flash movie (swf) &#8211; <a href="#comment-225">more details in my comment below</a>.</em></p>
<p><em><strong><span style="text-decoration:underline;">/End of update.</span></strong></em></p>
<hr />
Recently one of my clients wanted the ability to insert YouTube video clips directly into the TinyMCE editor within Umbraco.  My initial thought was to create a macro that would take a YouTube video URL, parse it and display it on the rendered (front-end) page.  <a href="http://www.nibble.be/?p=36">Tim G has a blog post on how to do this on his Nibble blog</a>, (love the <a href="http://www.youtube.com/watch?v=fruHQhNe-UM">Surfin&#8217; Bird</a> reference).</p>
<p>This approached worked fine, but we ran into problems trying to edit the YouTube video URL, along with that, my client had an additional step of selecting a macro, then entering the YouTube URL.</p>
<p>After a little researching, I eventually found a native <a href="http://sourceforge.net/tracker/index.php?func=detail&#38;aid=1669296&#38;group_id=103281&#38;atid=738747">YouTube plug-in for TinyMCE</a>, (<a href="http://sourceforge.net/tracker/download.php?group_id=103281&#38;atid=738747&#38;file_id=217845&#38;aid=1669296">direct link to ZIP download</a>).</p>
<p>Here is how I integrated in Umbraco:</p>
<ol>
<li>Extract the contents of the <code>youtube.zip</code> archive to your <code>/umbraco_client/tinymce/plugins/youtube/</code></li>
<li>In your <code>/config/</code> folder, open the <code>tinyMceConfig.config</code> file.</li>
<li>Insert the following lines:<br />
After the last <code>&#60;command /&#62;</code> entry, add&#8230;
<pre class="brush: xml;">&lt;command&gt;
	&lt;umbracoAlias&gt;mceYoutube&lt;/umbracoAlias&gt;
	&lt;icon&gt;../umbraco_client/tinymce/plugins/youtube/images/youtube.gif&lt;/icon&gt;
	&lt;tinyMceCommand value=&quot;&quot; userInterface=&quot;true&quot; frontendCommand=&quot;youtube&quot;&gt;youtube&lt;/tinyMceCommand&gt;
&lt;priority&gt;75&lt;/priority&gt;
&lt;/command&gt;</pre>
<p>Then after the last <code>&#60;plugin /&#62;</code> entry, add&#8230;</p>
<pre class="brush: xml;">
&lt;plugin loadOnFrontend=&quot;false&quot;&gt;youtube&lt;/plugin&gt;</pre>
</li>
<li>Once the XML config entries are in place, you will need to restart the  Umbraco application &#8211; the quickest way of doing this is by modifying your <code>Web.config</code>, (literally open it, add a space, remove it, hit save).</li>
<li>The YouTube button is now available in Umbraco. <strong>However, it&#8217;s not quite ready yet, there is still one more step!</strong></li>
<li>In your Umbraco back-end, go to the &#8220;Developer&#8221; section, expand the &#8220;DataTypes&#8221; folder and then select &#8220;Richtext editor&#8221;. In the &#8220;Buttons&#8221; section you should see a YouTube icon. Check the box next to the icon, and you&#8217;re done! If you don&#8217;t see the YouTube icon, then check that the did the config steps above, and/or check that the read permissions are set correctly on your <code>/umbraco_client/</code> folder, (re-apply them if needs be).</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[custom styles with tinyMCE ]]></title>
<link>http://lpicquet.wordpress.com/2009/07/16/custom-styles-with-tinymce/</link>
<pubDate>Thu, 16 Jul 2009 09:33:41 +0000</pubDate>
<dc:creator>Laurent Picquet</dc:creator>
<guid>http://lpicquet.wordpress.com/2009/07/16/custom-styles-with-tinymce/</guid>
<description><![CDATA[The documentation states that you can enter custom styles for tinyMCE using one CSS file called cust]]></description>
<content:encoded><![CDATA[The documentation states that you can enter custom styles for tinyMCE using one CSS file called cust]]></content:encoded>
</item>
<item>
<title><![CDATA[CMS Made Simple Undergoes a Major Rework in 1.6]]></title>
<link>http://irinaguseva.wordpress.com/2009/07/08/cms-made-simple-undergoes-a-major-rework-in-1-6/</link>
<pubDate>Wed, 08 Jul 2009 12:48:13 +0000</pubDate>
<dc:creator>Irina  Guseva</dc:creator>
<guid>http://irinaguseva.wordpress.com/2009/07/08/cms-made-simple-undergoes-a-major-rework-in-1-6/</guid>
<description><![CDATA[Only one week behind schedule, but with a slew of changes, CMS Made Simple v1.6 has recently seen th]]></description>
<content:encoded><![CDATA[Only one week behind schedule, but with a slew of changes, CMS Made Simple v1.6 has recently seen th]]></content:encoded>
</item>
<item>
<title><![CDATA[10 Drupal Modules You Can't Live Without]]></title>
<link>http://itzkumar.wordpress.com/2009/07/08/10-drupal-modules-you-cant-live-without/</link>
<pubDate>Wed, 08 Jul 2009 07:27:04 +0000</pubDate>
<dc:creator>itzkumar</dc:creator>
<guid>http://itzkumar.wordpress.com/2009/07/08/10-drupal-modules-you-cant-live-without/</guid>
<description><![CDATA[10 DRUPAL MODULES THAT WILL KILL YOU IN YOUR SLEEP IF YOU DON&#8217;T INSTALL THEM NOW 1. TinyMCE WY]]></description>
<content:encoded><![CDATA[10 DRUPAL MODULES THAT WILL KILL YOU IN YOUR SLEEP IF YOU DON&#8217;T INSTALL THEM NOW 1. TinyMCE WY]]></content:encoded>
</item>
<item>
<title><![CDATA[how to get/configure file/image browser for tinymce editor]]></title>
<link>http://bdsarwar.wordpress.com/2009/07/08/how-to-getconfigure-fileimage-browser-for-tinymce-editor/</link>
<pubDate>Tue, 07 Jul 2009 19:19:44 +0000</pubDate>
<dc:creator>bdsarwar</dc:creator>
<guid>http://bdsarwar.wordpress.com/2009/07/08/how-to-getconfigure-fileimage-browser-for-tinymce-editor/</guid>
<description><![CDATA[tinybrowser is great plugins for tinymce and we can easily upload images/files and file browser.  It]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>tinybrowser is great plugins for tinymce and we can easily upload images/files and file browser.  It&#8217;s work with tinyMCE v3.2. I&#8217;ve describe the detail configuration here.</p>
<ul>
<li><a href="http://tinymce.moxiecode.com/download.php" target="_blank">Download </a>tinymce and extract.</li>
<li><a title="tinyBrowser" href="http://www.lunarvis.com/products/tinymcefilebrowserwithupload.php" target="_blank">Download</a> tinybrowser, its distributed under the GNU General Public License.</li>
<li>Extract and copy to \tiny_mce\plugins\</li>
<li>Open config_tinybrowser.php file and set the upload directory</li>
</ul>
<p style="text-align:left;"><span style="color:#800000;">$tinybrowser['path']['image'] = &#8216;/upload/images/&#8217;; // Image files location &#8211; also creates a &#8216;_thumbs&#8217; subdirectory within this path to hold the image thumbnails<br />
$tinybrowser['path']['media'] = &#8216;</span><span style="color:#800000;">/upload/images/</span><span style="color:#800000;">&#8216;; // Media files location<br />
$tinybrowser['path']['file']  = &#8216;</span><span style="color:#800000;">/upload/images/</span><span style="color:#800000;">&#8216;; // Other files location<br />
</span><em><span style="color:#800000;"><span style="color:#000000;">You can change the upload path dynamically, we&#8217;ll discuss it end of this session. </span></span></em></p>
<ul>
<li><span style="color:#800000;"><span style="color:#000000;">Ensure that the upload directories are writable (0777 permission)</span></span></li>
<li><span style="color:#800000;"><span style="color:#000000;">You have to call &#8220;tb_tinymce.js.php&#8221; before calling &#8220;tiny_mce.js&#8221;<br />
</span></span></li>
</ul>
<p><span style="color:#993300;">&#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221; src=&#8221;&#60;?php echo url::js_dir()?&#62;tiny_mce/plugins/tinybrowser/tb_tinymce.js.php&#62;&#8221;&#62;&#60;/script&#62;<br />
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;&#60;?php echo url::js_dir()?&#62;tiny_mce/tiny_mce.js&#8221;&#62;&#60;/script&#62;</span></p>
<ul>
<li><span style="color:#993300;"><span style="color:#000000;">In you initialization of tiny_mce you have to add </span></span><span style="color:#993300;">file_browser_callback : &#8220;tinyBrowser&#8221;,</span><span style="color:#993300;"><span style="color:#993300;"> </span></span></li>
<li><span style="color:#993300;"><span style="color:#993300;"><span style="color:#000000;">The following is the full code, the bold is for tinybrowser plugins<br />
</span></span></span></li>
</ul>
<p>/*</p>
<p><span style="color:#993300;">&#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221; src=&#8221;js/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php&#62;&#8221;&#62;&#60;/script&#62;<br />
&#60;script type=&#8221;text/javascript&#8221; src=&#8221;js/tiny_mce/tiny_mce.js&#8221;&#62;&#60;/script&#62;</span></p>
<p><span style="color:#993300;">&#60;textarea id=&#8221;adesc&#8221; name=&#8221;adesc&#8221;&#62;&#60;/textarea&#62;</span></p>
<p><span style="color:#993300;">&#60;script&#62;<br />
tinyMCE.init({<br />
// General options<br />
mode : &#8220;textareas&#8221;,<br />
mode : &#8220;exact&#8221;,<br />
elements : &#8220;adesc&#8221;,<br />
theme : &#8220;advanced&#8221;,<br />
plugins : &#8220;safari,pagebreak,style,layer,table,advhr,advimage,advlink&#8221;,<br />
<strong> file_browser_callback : &#8220;tinyBrowser&#8221;,</strong></span></p>
<p><span style="color:#993300;">theme_advanced_buttons1 : &#8220;forecolor,backcolor,&#124;,bold,italic,underline,strikethrough,&#124;,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect&#8221;,<br />
theme_advanced_buttons2 : &#8220;pastetext,pasteword,&#124;,search,replace,&#124;,bullist,numlist,&#124;,outdent,indent,blockquote,&#124;,undo,redo,&#124;,link,unlink,anchor,image,cleanup,help,code,&#124;,insertdate,inserttime,preview&#8221;,<br />
<strong> theme_advanced_buttons3 : &#8220;&#8221;,</strong></span></p>
<p><span style="color:#993300;">theme_advanced_toolbar_location : &#8220;top&#8221;,<br />
theme_advanced_toolbar_align : &#8220;left&#8221;,<br />
theme_advanced_statusbar_location : &#8220;bottom&#8221;,<br />
theme_advanced_resizing : false,<br />
<strong>convert_urls : false</strong>,<br />
// Example content CSS (should be your site CSS)<br />
content_css : &#8220;css/content.css&#8221;,</span></p>
<p><span style="color:#993300;">// Drop lists for link/image/media/template dialogs<br />
template_external_list_url : &#8220;lists/template_list.js&#8221;,<br />
external_link_list_url : &#8220;lists/link_list.js&#8221;,<br />
external_image_list_url : &#8220;lists/image_list.js&#8221;,<br />
media_external_list_url : &#8220;lists/media_list.js&#8221;,</span></p>
<p><span style="color:#993300;">// Replace values for the template plugin<br />
template_replace_values : {<br />
username : &#8220;Some User&#8221;,<br />
staffid : &#8220;991234&#8243;<br />
}<br />
});<br />
&#60;/script&#62;</span></p>
<p>*/</p>
<ul>
<li>Click on the image button, a popup window open and you can see an icon appear beside image url click on and a another new window open which is our image browser, we can browse images and upload image from there.</li>
<li>Now If you run it can work <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p><span style="text-decoration:underline;"><strong>Path Change While Add imge to editor:</strong></span><br />
When we upload an image and put it to editor its path has been changed. If we save the output to database, and we need to show in different location then we have faced some problem, Just add convert_urls : false  to tinyMCE.init(). So the path will not be changed.</p>
<p><strong><span style="text-decoration:underline;">Session Control</span>:<br />
</strong>We can use session in tinybrowser. See &#8230;/tiny_mce/plugins/tinybrowser/config_tinybrowser.php</p>
<p><span style="color:#993300;">//session_start();<br />
//$tinybrowser['sessioncheck'] = &#8216;authenticated_user&#8217;; //name of session variable to check<br />
</span></p>
<p>Just comment out the above line and the additional line.</p>
<p><span style="color:#993300;">$_SESSION[$tinybrowser['sessioncheck']] = &#8220;YES&#8221;;</span></p>
<p><span style="color:#800000;"><span style="color:#000000;">New you can uses session here. </span></span></p>
<p><span style="color:#800000;"><span style="color:#000000;"><span style="text-decoration:underline;"><strong>Dynamic Upload Directroy:<br />
</strong></span>We may need dynamic upload directory, like each user has their own upload folder. It can possible by using session variable.</span></span></p>
<p><strong>Step 1:</strong><br />
Just add a get parametter while we diclearning the tb_tinymce.js.php the say in php, $upload_path = &#8220;/user1/dir/upload/&#8221;<br />
<span style="color:#993300;">&#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221; src=&#8221;js/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php?upload_path=&#60;?=urlencode($upload_path);?&#62;&#8221;&#62;&#60;/scrip&#62;</span></p>
<p><span style="color:#993300;"><span style="color:#000000;"><strong>Step: 2</strong><br />
</span></span>Open file &#8220;/js/<span style="color:#000000;">tiny_mce/plugins/tinybrowser/tb_tinymce.js.php&#8221; and add the following two line at the top to page.<br />
</span><span style="color:#993300;">session_start();<br />
$_SESSION['upath'] = $_GET['upload_path'];</span></p>
<p><strong>Step: 3</strong><br />
Open &#8220;js/tiny_mce/plugins/tinybrowser/config_tinybrowser.php&#8221; and change the assignment op upload directory like the following [Note you must comment out the session strat on this page as i've describe it above]<br />
<span style="color:#993300;">$tinybrowser['path']['image'] = $_SESSION['upath'].&#8217;images/&#8217;; // Image files location &#8211; also creates a &#8216;_thumbs&#8217; subdirectory within this path to hold the image thumbnails<br />
$tinybrowser['path']['media'] = $_SESSION['upath'].&#8217;media/&#8217;; // Media files location<br />
$tinybrowser['path']['file']  =$_SESSION['upath'].&#8217;files/&#8217;; // Other files location</span></p>
<p>I&#8217;ve successfully run it and use for different directory for different modules. Just assign value to $upload_path, it depend on you how you change the path but make sure all upload directory always writable (permission 0777)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TinyMCE configuration]]></title>
<link>http://lpicquet.wordpress.com/2009/06/29/tinymce-configuration/</link>
<pubDate>Mon, 29 Jun 2009 12:18:38 +0000</pubDate>
<dc:creator>Laurent Picquet</dc:creator>
<guid>http://lpicquet.wordpress.com/2009/06/29/tinymce-configuration/</guid>
<description><![CDATA[Enabling tinyMCE is relatively easy. configuring it with pluggins and add-ons is a little more compl]]></description>
<content:encoded><![CDATA[Enabling tinyMCE is relatively easy. configuring it with pluggins and add-ons is a little more compl]]></content:encoded>
</item>
<item>
<title><![CDATA[On-line/Server File Managers]]></title>
<link>http://wonderingpondering.wordpress.com/2009/05/23/on-lineserver-file-managers/</link>
<pubDate>Sat, 23 May 2009 17:06:54 +0000</pubDate>
<dc:creator>wonderingpondering</dc:creator>
<guid>http://wonderingpondering.wordpress.com/2009/05/23/on-lineserver-file-managers/</guid>
<description><![CDATA[You have your website and need to allow access to files on the server simply and easily. What are yo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You have your website and need to allow access to files on the server simply and easily. What are your options?</p>
<p>Here are some options available to you if you are running Ajax, PHP or JavaScript. Some provide account capabilities, multiple levels of access, while others do not. Some integrate nicely with TinyMCE or FCKeditor. Others allow MP3s to be played directly from the source, or images to be viewed.</p>
<p>So, what are your needs? Then check out this <a title="7 free powerful file managers" href="http://devsnippets.com/article/ajax/7-free-powerful-file-managers.html" target="_blank">article of free file managers</a> that best fulfill them, and don&#8217;t forget the comments for other options.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[文字の装飾]]></title>
<link>http://wordpress.tv/2009/04/30/%e6%96%87%e5%ad%97%e3%81%ae%e8%a3%85%e9%a3%be/</link>
<pubDate>Thu, 30 Apr 2009 07:42:30 +0000</pubDate>
<dc:creator>Michael Pick</dc:creator>
<guid>http://wordpress.tv/2009/04/30/%e6%96%87%e5%ad%97%e3%81%ae%e8%a3%85%e9%a3%be/</guid>
<description><![CDATA[more about &#8220;文字の装飾&#8220;, posted with vodpod]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="display:block;width:425px;margin:0 auto;"> <embed src='http://widgets.vodpod.com/w/video_embed/ExternalVideo.817356' type='application/x-shockwave-flash' AllowScriptAccess='always' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode='transparent' flashvars='' /></p>
<div style="font-size:10px;">more about &#8220;<a href="http://vodpod.com/watch/1573987-%E6%96%87%E5%AD%97%E3%81%AE%E8%A3%85%E9%A3%BE">文字の装飾</a>&#8220;, posted with <a href="http://vodpod.com/wordpress">vodpod</a></div>
<p></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TinyMCE and jQuery Hijack Probleem]]></title>
<link>http://chattim.wordpress.com/2009/04/19/tinymce-and-jquery-hijack-probleem/</link>
<pubDate>Sun, 19 Apr 2009 12:57:02 +0000</pubDate>
<dc:creator>chattim</dc:creator>
<guid>http://chattim.wordpress.com/2009/04/19/tinymce-and-jquery-hijack-probleem/</guid>
<description><![CDATA[Ik werk nu al een tijdje met jQuery en wou via de Tabs UI functionaliteit in een van mijn tabs een T]]></description>
<content:encoded><![CDATA[Ik werk nu al een tijdje met jQuery en wou via de Tabs UI functionaliteit in een van mijn tabs een T]]></content:encoded>
</item>

</channel>
</rss>
