<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: tinymce config</title>
			<link>http://www.silverstripe.org/archive/show/53844?start=0#post83400</link>
			<description>&lt;p&gt;Sorry, i'm afraid i made a mistake with my instructions. Currently the CMS interface doesnt use the factory method to create the toolbar, so the class will not get overridden. However, if you open up cms/code/LeftAndMain.php, and locate the EditorToolbar function, and replace it with&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;return Object::create('HtmlEditorField_Toolbar', $this, 'EditorToolbar');&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;then your custom class will get used properly. For your custom class, id suggest creating a class that extends HtmlEditorField_Toolbar in your mysite/code directory, and then putting the useCustomClass call in mysite/_config.php - and then override the Buttons function in your custom class.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: tinymce config &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844?start=0#post83400&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/53844?start=0#post83400&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 05 Jun 2008 10:04:48 +1200</pubDate>
			<dc:creator>Grayzag (aka ajshort)</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/53844?start=0#post83400</guid>
		</item>
		
		<item>
			<title>Re: tinymce config</title>
			<link>http://www.silverstripe.org/archive/show/53844?start=0#post83299</link>
			<description>&lt;p&gt;I've followed your instructions, but I don't get it work!&lt;/p&gt;&lt;p&gt;Where do I have to put this line?!&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;&quot;Object::useCustomClass('HtmlEditorField_Toolbar', 'AlternateToolbar');&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;I've put it into &lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;mysitenamefolder/_config.php&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: tinymce config &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844?start=0#post83299&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/53844?start=0#post83299&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Thu, 05 Jun 2008 07:09:32 +1200</pubDate>
			<dc:creator>KingBerT</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/53844?start=0#post83299</guid>
		</item>
		
		<item>
			<title>Re: tinymce config</title>
			<link>http://www.silverstripe.org/archive/show/53844?start=0#post83082</link>
			<description>&lt;p&gt;The code for all the TinyMCE buttons is located in /sapphire/forms/HtmlEditorField.php, in the HtmlEditorField_Toolbar class. Check out the buttons function. In order to edit the HTML Editor, but so your changes don't get lost on an update, copy the HtmlEditorField_Toolbar class to another file in your mysite/code directory e.g. AlternateToolbar.php. Also, rename the class name to AlternateToolbar. Once this is done, you can tell SilverStripe to use your custom class to use this instead of the default toolbar by placing&lt;br /&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;Object::useCustomClass('HtmlEditorField_Toolbar', 'AlternateToolbar');&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;Then any changes you make to the AlternateToolbar class will hopefully appear in the CMS. To edit/add/remove buttons, just edit the Buttons() function. The alternative is to wait until the next release, as I think the toolbar is being updated to be easily configurable.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: tinymce config &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844?start=0#post83082&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/53844?start=0#post83082&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 04 Jun 2008 18:48:00 +1200</pubDate>
			<dc:creator>Grayzag (aka ajshort)</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/53844?start=0#post83082</guid>
		</item>
		
		<item>
			<title>Re: tinymce config</title>
			<link>http://www.silverstripe.org/archive/show/53844?start=0#post83040</link>
			<description>&lt;p&gt;hmmm, just what I need to know too  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: tinymce config &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844?start=0#post83040&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/53844?start=0#post83040&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 04 Jun 2008 16:45:14 +1200</pubDate>
			<dc:creator>sarahk</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/53844?start=0#post83040</guid>
		</item>
		
		<item>
			<title>tinymce config</title>
			<link>http://www.silverstripe.org/archive/show/53844#post53844</link>
			<description>&lt;p&gt;Which file(s) do I need to edit to change tinymce controls? I've configured tinymce controls in another cms, but simlar edits in SS don't seem to work (version 2.2.2-rc2). &lt;/p&gt;&lt;p&gt;Thanks  &lt;img src='http://www.silverstripe.org/sapphire/images/smilies/smile.gif'&gt; &lt;/p&gt;&lt;p&gt;-Billy&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: tinymce config &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844#post53844&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/53844#post53844&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 08 Apr 2008 15:09:18 +1200</pubDate>
			<dc:creator>contigo</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/53844#post53844</guid>
		</item>
		

	</channel>
</rss>