<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - Showroom]]></title>
		<link>http://www.tinymce.com/forum/index.php</link>
		<description><![CDATA[The most recent topics at TinyMCE Forum.]]></description>
		<lastBuildDate>Wed, 13 Mar 2013 14:30:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[CMS Novius OS use TinyMCE]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30690</link>
			<description><![CDATA[<p>Novius OS is a Cross-Channel Open Source content management system (CMS). Being designed as an applications platform, it helps users to easily manage all digital-communication-related data from one single interface: websites, newsletters, mobile and tablets applications, product catalogues or social media.</p><p>Novius OS is using TinyMCE for WYSIWYG editors.</p><p>You can try it here : http://demo.novius-os.org/admin/</p><p>Question : I&#039;ve tried to add Novius OS on the page &quot;Software using TinyMCE&quot; but I don&#039;t have permissions to edit this page. Is it possible to add it?</p>]]></description>
			<author><![CDATA[dummy@example.com (felixgilles)]]></author>
			<pubDate>Wed, 13 Mar 2013 14:30:22 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30690</guid>
		</item>
		<item>
			<title><![CDATA[Offline TinyMCE in BlosHome 1.0.6 alpha under Windows]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30455</link>
			<description><![CDATA[<p>BlosHome is a Blosxom client (a well known lightweight powerful blog engine) which embeds TinyMCE as offline editor. All detail on my site at <a href="http://ffh-lab.com/bloshome.html?en">http://ffh-lab.com/bloshome.html?en</a> and in the Blosxom-relaunched site at <a href="http://muli.cc/news:bloshome-release.">http://muli.cc/news:bloshome-release.</a></p>]]></description>
			<author><![CDATA[dummy@example.com (eremax)]]></author>
			<pubDate>Mon, 04 Feb 2013 11:39:11 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30455</guid>
		</item>
		<item>
			<title><![CDATA[throughout a showroom]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30429</link>
			<description><![CDATA[<p>How do I set up a speaker system to output the same audio on 5+ speakers throughout a showroom?</p>]]></description>
			<author><![CDATA[dummy@example.com (Nalcolmshally)]]></author>
			<pubDate>Thu, 31 Jan 2013 03:23:06 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30429</guid>
		</item>
		<item>
			<title><![CDATA[diet solution online]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30379</link>
			<description><![CDATA[<p>Finding the diet solution program Reviews</p><p>Among the best techniques for purchasers to understand if something new or services are valuable or of top quality is always to read reviews around the item. You&#039;ll find various reviews. Generally right before a item hits industry </p><p>there&#039;s some initial testing from the item by a person who reach try the merchandise then write reviews about this. Then you will find individuals that actually work for that manufacturer from the item whose sole job would be to rate </p><p>and review products for his or her organization. However, individuals kinds of opinions might be biased and just what most customers have to uncover once they read reviews is comments published by other real clients like </p><p>themselves who&#039;ve utilized the merchandise in a fashion that they themselves would utilize it. With the items available, you will possess the positives and disadvantages. Let us discuss a couple of from the Diet Remedy reviews.</p><p>Overall, the majority of the reviews you&#039;ll read for that program are favorable. Comments published on numerous online forums originate from a number of people. Some are actual customers from the item plus some come from </p><p>nutrition experts or researchers who are likely likely to discuss and agree or disagree using the science behind this program. When perusing these reviews, you have to keep a balanced view. First, contemplate the forum. Could it be </p><p>an authentic honest consumer based forum intended to be useful and informative towards the consumer or perhaps is in a website by which people visit air their issues about specific products for entertainment value? A number of </p><p>these forums aren&#039;t policed very strictly regarding the content published on their own websites for your reason, folks know nearly what they have to want about anything together with the readers just needs to decipher on their own the </p><p>honesty and integrity from the rater.</p><p>Like a consumer, so many people are just trying to find particulars around the product for instance how nicely it really works, could it be pricey or perhaps is it a great value for that cash? It might take some searching yet it&#039;s </p><p>achievable to discover forums that are nearly talking about how advantageous specific products are and whether or not the rater would or wouldn&#039;t suggest the merchandise. one of the best locations to visit read honest reviews from </p><p>actual purchasers would be the website in which the item was bought. Some lots of stores have on the web stores nowadays that enable to examine their items on their own internet sites. Numerous customers begin using these and </p><p>uncover these to be rather valuable. As pointed out formerly, you might probably uncover both great and bad reviews concerning the diet answer program nonetheless, this program does give you a money-back guarantee when the </p><p>buyer isn&#039;t satisfied. That&#039;s a reasonably excellent indication the item is advantageous low of many people.<br />www.dietsolutionprograminfo.org/</p><p>diet solution online</p>]]></description>
			<author><![CDATA[dummy@example.com (dietsolutionofficial)]]></author>
			<pubDate>Wed, 23 Jan 2013 15:46:24 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30379</guid>
		</item>
		<item>
			<title><![CDATA[TinyMCE in Exsite CMS]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30312</link>
			<description><![CDATA[<p>I&#039;m using the Exsite CMS and it includes TinyMCE.&nbsp; More infor at <a href="http://exsitewebware.com/">http://exsitewebware.com/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (stonjohn4)]]></author>
			<pubDate>Sat, 12 Jan 2013 08:02:23 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30312</guid>
		</item>
		<item>
			<title><![CDATA[TinyMCE in Coppermine Gallery]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=30048</link>
			<description><![CDATA[<p>Today I have started a discussion in the Coppermine Gallery Forum to convince the development team to use TinyMCE.</p><p>I have a working TinyMCE Integration plugin for the Coppermine Gallery but some changes are required in the&nbsp; Coppermine Gallery core to haver the plugin available for public download.</p><p>http://forum.coppermine-gallery.net/index.php/topic,75667.0.html<br />http://coppermine-gallery.net/</p><p>TinyMCE was easy to implement as usual only a few hours but most of the time I spent was to add the plugin functions in Coppermine Gallery ie userfriendly gallery owner installation and configuration options and finding where the core scripts must be changed for best results.</p><p>PS<br />I have used TinyMCE for many years in my other own developed site software</p>]]></description>
			<author><![CDATA[dummy@example.com (Veronica)]]></author>
			<pubDate>Wed, 21 Nov 2012 15:56:30 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=30048</guid>
		</item>
		<item>
			<title><![CDATA[Help needed with my home made web page system.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=29580</link>
			<description><![CDATA[<p>Hi there.</p><p>I feel I need help with TinyMCE.<br />I have built my own x-platform web content editor from scratch.<br />It started out as a &#039;menu-shuffler/juggler&#039;, but I then found that there was nothing compatible with it.<br />So I built my own system, which is X-platform and multilingual (it changes language at the click of a button!) but is now several operating system upgrades adrift.<br />It can export sites between machines and even retain login information.<br />It outputs flat HTML, but I am running an ancient variant of TinyMCE (Version 3.3.9.2 (2010-09-29)) and need help updating it to it&#039;s current version.<br />Every time I try to upgrade, it simply falls apart.</p><p>I have released it as &#039;Open Source&#039;, it is called &quot;Dutycrew&quot; and is available from sourceforge.net <br />Can anyone help me out?<br />The page I am having difficulty with is &quot;http://localhost:9940/dutycrew/admin/editor.php?lang=enuk&quot;, it is one directory outside the TinyMCE file directory.</p><p>I know I am asking a lot, but I have been downgraded with a brain tumour, compounded by a stroke (triggered by a biopsy on the tumour) and have recently completed a course of radiotherapy which has damaged my mental stamina but not my thinking power. Shame really as my brain was the one thing that I thought I could depend on, sadly that is not the case.<br />There, said it all.<br />Any offers of help welcomed. See my post: [<a href="https://sourceforge.net/p/dutycrew/discussion/general/thread/69224f38/">https://sourceforge.net/p/dutycrew/disc &#133; /69224f38/</a>] for more info. <br />Downloadable from:<br />[<a href="https://sourceforge.net/projects/dutycrew/files/">https://sourceforge.net/projects/dutycrew/files/</a>]</p>]]></description>
			<author><![CDATA[dummy@example.com (bizk)]]></author>
			<pubDate>Tue, 04 Sep 2012 09:58:37 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=29580</guid>
		</item>
		<item>
			<title><![CDATA[CarrotCake CMS (ASP.Net / C#)]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=29354</link>
			<description><![CDATA[<p>Begun in 2002 as an ASP (vb script) + Access database web app, it has evolved through iterations in ASP.Net + Access and ASP.Net + SQL Server. It now unleashes the power of jQuery UI to provide a drag/drop experience when adding custom code modules to pages and TinyMCE to provide a rich HTML editing experience. It also provides the capability to run up a new look/feel in short order by simply tagging an ASPX html markup file with specific CMS controls.</p><p>CarrotCake is an Open Source CMS (content management system) built on C# ASP.Net to leverage jQuery UI (v 1.8) and TinyMCE (v. 3.5). Designed for ease of use for editing pages &amp; incorporating of modules/custom code. This CMS is built on ASP.Net 3.5 WebForms, SQL Membership Provider, LINQ to SQL, and MSSQL Server.</p>]]></description>
			<author><![CDATA[dummy@example.com (tiffany outlet)]]></author>
			<pubDate>Mon, 06 Aug 2012 13:51:41 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=29354</guid>
		</item>
		<item>
			<title><![CDATA[Super easy video inserting using oEMBED and SilverStripe3]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=29150</link>
			<description><![CDATA[<p>SilverStripe3 open source CMS has just been released and makes use of a much later version of TinyMCE.</p><p>Check out some of the modifications we&#039;ve done, such as inserting videos directly from youtube via oEMBED; now it&#039;s about as easy as using Facebook to insert videos.</p><p>- screencast = <a href="https://vimeo.com/44911918">https://vimeo.com/44911918</a></p><p>- check it out at <a href="http://demo.silverstripe.org">http://demo.silverstripe.org</a> and download from <a href="http://www.silverstripe.org">http://www.silverstripe.org</a></p>]]></description>
			<author><![CDATA[dummy@example.com (sigurdmagnusson)]]></author>
			<pubDate>Thu, 05 Jul 2012 10:18:25 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=29150</guid>
		</item>
		<item>
			<title><![CDATA[Uncaught TypeError: Cannot call method 'getElementById' of undefined]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=29074</link>
			<description><![CDATA[<p>var FileBrowserDialogue = {<br />&nbsp; &nbsp; init : function () {<br />&nbsp; &nbsp; &nbsp; &nbsp; // Here goes your code for setting your custom things onLoad.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>&nbsp; &nbsp; },<br />&nbsp; &nbsp; sendURL : function (URL) {<br />&nbsp; &nbsp; &nbsp; &nbsp; //var URL = document.my_form.my_field.value;<br />&nbsp; &nbsp; &nbsp; &nbsp; var win = tinyMCEPopup.getWindowArg(&quot;window&quot;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; // insert information now<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; win.document.getElementById(tinyMCEPopup.getWindowArg(&quot;input&quot;)).value = URL;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; // are we an image browser<br />&nbsp; &nbsp; &nbsp; &nbsp; if (typeof(win.ImageDialog) != &quot;undefined&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // we are, so update image dimensions and preview if necessary<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (win.ImageDialog.getImageData) win.ImageDialog.getImageData();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (win.ImageDialog.showPreviewImage) win.ImageDialog.showPreviewImage(URL);<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; &nbsp; // close popup window<br />&nbsp; &nbsp; &nbsp; &nbsp; tinyMCEPopup.close();<br />&nbsp; &nbsp; }<br />}</p><p>tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue)</p><br /><br /><br /><p>&nbsp; &nbsp;win.document.getElementById(tinyMCEPopup.getWindowArg(&quot;input&quot;)).value = URL;===&gt;Uncaught TypeError: Cannot call method &#039;getElementById&#039; of undefined</p>]]></description>
			<author><![CDATA[dummy@example.com (olenahardy)]]></author>
			<pubDate>Sat, 23 Jun 2012 21:42:35 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=29074</guid>
		</item>
		<item>
			<title><![CDATA[Ext.ux.form.TinyMCETextArea - ExtJS text area with integrated TinyMCE]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=28685</link>
			<description><![CDATA[<p>Ext.ux.form.TinyMCETextArea</p><p>ExtJS form field - a text area with integrated TinyMCE WYSIWYG Editor.</p><p>Version: 1.0<br />Release date: 26.04.2012<br />ExtJS Version: 4.1.0<br />TinyMCE Version: 3.5b3<br />License: LGPL v2.1 or later</p><p>The integration is done by deriving from the Ext.form.field.TextArea.</p><p>Following issues are covered:</p><p> - Initialization in an initially visible and in an initially invisible tab.<br /> - Correct place occupation by the initialization in any ExtJS layout.<br /> - Correct resizing by the resizing of the underlying text area.<br /> - Activation and deactivation of the WYSIWYG editor. Keeping of the cursor position by switching to the HTML text modus.<br /> - Enabling and disabling of the WYSIWYG editor control.<br /> - Changing of WYSIWYG settings and CSS file for the editable contents on the fly.<br /> - Pre-formatting of the HTML text in visible and invisible modus.<br /> - Focusing of the WYSIWYG editor control.<br /> - Skin &quot;extjs&quot; for the editor inline popups.</p><p>View Example<br />http://www.point-constructor.com/tinyta_demo/</p><p>Download Sources and Demo<br />http://www.point-constructor.com/en/tinyta/</p><p>Implementation Details<br />http://www.point-constructor.com/en/tinyta/instructions.pdf</p><p>Have a lot of fun!</p><p>Attention!</p><p>The latest TinyMCE 3.5b3 has a bug in the method hide(), I reported it to the TinyMCE team</p><p>http://www.tinymce.com/develop/bugtracker_view.php?id=5170</p><p>I have fixed it in my example, if you take the original code of the TinyMCE, do not forget to correct the bug in the method hide()</p><p>t.getDoc() into this.getDoc()</p>]]></description>
			<author><![CDATA[dummy@example.com (qtx)]]></author>
			<pubDate>Thu, 26 Apr 2012 15:12:27 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=28685</guid>
		</item>
		<item>
			<title><![CDATA[my free music mixes page now uses tinymce for comments]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=28625</link>
			<description><![CDATA[<p>Thanks for releasing tinymce as opensource.</p><p>I&#039;m a hobbyist DJ (and coder too), and I&#039;ve just finished the upgrade for my free music mixes page that allows you to enter comments on the page, with tinyMCE slightly modded.</p><p>See http://mediabeez.ws/music</p><p>The code for that page is opensourced as well (latest updates to components used will be made available later this week on http://mediabeez.ws)</p>]]></description>
			<author><![CDATA[dummy@example.com (rajmv)]]></author>
			<pubDate>Tue, 17 Apr 2012 15:23:25 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=28625</guid>
		</item>
		<item>
			<title><![CDATA[Puny revived - my mod]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=28582</link>
			<description><![CDATA[<p>It seems that punyMCE fell by the way over 2 years ago.<br />It is basically a very sound engine and VERY small. It suits my purpose well.</p><p>Here is an example of my work. More of an extension than modification.<br /><a href="http://www.buddhamind.info/temp/puny/">http://www.buddhamind.info/temp/puny/</a></p><p>A BIG thanks to all at Moxie for their generosity.</p>]]></description>
			<author><![CDATA[dummy@example.com (teleforwarding)]]></author>
			<pubDate>Tue, 10 Apr 2012 14:35:04 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=28582</guid>
		</item>
		<item>
			<title><![CDATA[NPDS - french PHP CMS ever use TinyMce / Colorize text]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=28559</link>
			<description><![CDATA[<p>An example of using TinyMCE in advanced module (currently in beta) ... the PAD</p><p>In this module the RTE was to acquire new features including:<br />- Automatically colorize the text a user enters a certain background color<br />- Maintain the colorization whatever trips made (mouse cursor)</p><p>The advance setup developped :</p><p>setup: function (ed) {<br />&nbsp; &nbsp;ed.onKeyDown.add(function(ed, e) {<br />&nbsp; &nbsp; &nbsp; // faisons une &#039;static&#039; en javascript<br />&nbsp; &nbsp; &nbsp; if ( typeof this.counter == &#039;undefined&#039; ) this.counter = 0;</p><p>&nbsp; &nbsp; &nbsp; // On capte les touches de directions<br />&nbsp; &nbsp; &nbsp; if (e.keyCode &gt;= 37 &amp;&amp; e.keyCode<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;this.counter=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return true;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; // On capte la touche backspace et Return<br />&nbsp; &nbsp; &nbsp; if ((e.keyCode == 8) || (e.keyCode == 13)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;this.counter=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return true;<br />&nbsp; &nbsp; &nbsp; }</p><p>&nbsp; &nbsp; &nbsp; //ed.windowManager.alert(&#039;key : &#039; + e.keyCode);</p><p>&nbsp; &nbsp; &nbsp; if (this.counter==0) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tinymce.activeEditor.formatter.register(&#039;wspadformat&#039;, {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inline&nbsp; &nbsp; &nbsp;: &#039;span&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; styles&nbsp; &nbsp; &nbsp;: {&#039;background-color&#039; : &#039;$surlignage&#039;},<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; classes&nbsp; &nbsp; : &#039;$auteur&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;});<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tinymce.activeEditor.formatter.apply(&#039;wspadformat&#039;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;this.counter=1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;});</p><p>&nbsp; &nbsp;// déplacement dans le RTE via la sourie<br />&nbsp; &nbsp;ed.onMouseDown.add(function(ed, e) {<br />&nbsp; &nbsp; &nbsp; this.counter=0;<br />&nbsp; &nbsp;});<br />}</p><p>$surlignage and&nbsp; $auteur are two specific variables that NPDS can:<br />- Change the color of the background color according to the author<br />- Name the SPAN (which cleans then the generated html)</p><p>More infos (in french) on www.npds.org / If necessary contact : developpeur@npds.org</p>]]></description>
			<author><![CDATA[dummy@example.com (developpeur)]]></author>
			<pubDate>Sat, 07 Apr 2012 13:12:45 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=28559</guid>
		</item>
		<item>
			<title><![CDATA[Custom CMS using ASP.NET, jQuery, and TinyMCE]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?id=28546</link>
			<description><![CDATA[<p>We&#039;re just about to deploy and it&#039;s been a long road getting here, but thanks to TinyMCE we saved ourselves some serious development time and gave our users a great system to use for managing our site. I wanted to share a few little tricks that really makes the most out of TinyMCE and the template plugin.</p><p>I wanted my users to be able to create their own templates for landing page marketing campaigns. So, I put two TinyMCE instances on a page and wired them up to two asp:TextBox controls. One meant for building templates, one for accessing those templates and populating it with values from some other TextBox controls. I used the multiview control to hide one of them and display the other depending on what the user wanted to do.</p><p>The first instance uses the template_external_list_url property to find the templates that users have created. The second instance uses templates_templates to manually lay out a set number of templates which contain replace values.</p><p>So when a user is done building a template, here is the code that saves a new .htm file and then appends that templates entry to the templates.js file the first tinymce instance uses:</p><p>private string createTemplateFile(string FileName, string Content, string Description)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string resultMessage;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string fileLoc = Request.MapPath(&quot;\\admin\\templates\\&quot; + FileName + &quot;.htm&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string templateListFile = Request.MapPath(&quot;\\admin\\templates\\tmpltlist.js&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StreamReader tmpltSR = new StreamReader(templateListFile);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string tmpltListContents = tmpltSR.ReadToEnd();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tmpltSR.Close();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FileStream fs = null;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!File.Exists(fileLoc))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fs = File.Create(fileLoc);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fs.Close();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StreamWriter sw = new StreamWriter(fileLoc);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sw.Write(Content);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sw.Close();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string newTemplateLine = &quot;\n,[\&quot;&quot; + FileName + &quot;\&quot;, \&quot;templates/&quot; + FileName + &quot;.htm\&quot;, \&quot;&quot; + Description + &quot;\&quot;]&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tmpltListContents = tmpltListContents.Insert(tmpltListContents.Length - 3, newTemplateLine);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; StreamWriter tmpltSW = new StreamWriter(templateListFile);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tmpltSW.Write(tmpltListContents);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tmpltSW.Close();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resultMessage = &quot;Template Created.&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resultMessage = &quot;A template with this name already exists.&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return resultMessage;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><br /><p>Now, when a user goes back to the first instance of tinymce, and selects a template with values to be replaced assigned the template_replace_values to a javascript function:</p><p>coSym1: sym1()</p><p>The functions declared above my tinymce init:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; function sym1() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var coSym = $(&#039;#textBoxID&#039;).val();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return coSym;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</p><p>Upon inserting the template, if your textbox of textBoxID has text in it, the template value will be replaced with the textbox value.</p>]]></description>
			<author><![CDATA[dummy@example.com (jeletonskelly)]]></author>
			<pubDate>Thu, 05 Apr 2012 13:22:04 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?id=28546</guid>
		</item>
	</channel>
</rss>
