<?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>AdminGenerator | Nerdpress.org</title>
	<atom:link href="https://nerdpress.org/tag/admingenerator/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Tue, 30 Mar 2021 06:00:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>TinyMCE + symfony AdminGenerator + sfAssetsLibraryPlugin</title>
		<link>https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/</link>
					<comments>https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/#comments</comments>
		
		<dc:creator><![CDATA[Ivo Bathke]]></dc:creator>
		<pubDate>Wed, 16 Sep 2009 17:28:44 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AdminGenerator]]></category>
		<category><![CDATA[tinyMCE]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=274</guid>

					<description><![CDATA[<p>Die 3 in symfony kombinieren? (K)Ein Problem: Plugin installieren TinyMCE runterladen https://www.tiny.cloud// (da sowieso  jquery im Einsatz ist, dort die jquery variante) &#8211; TinyMCE kopieren ins Projekt: /web/js/tiny_mce/ &#8211; js einbinden in der view.yml &#8211; in der generator.yml TinyMCE anmelden Interessant dabei ist, daß die Angabe in der generator.yml reicht, zumindest in Verbindung mit dem &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/" class="more-link">Continue reading<span class="screen-reader-text"> "TinyMCE + symfony AdminGenerator + sfAssetsLibraryPlugin"</span></a></p>
The post <a href="https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/">TinyMCE + symfony AdminGenerator + sfAssetsLibraryPlugin</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Die 3 in symfony kombinieren? (K)Ein Problem:</p>
<p>Plugin installieren</p>
<pre class="brush: bash; title: ; notranslate">php symfony plugin:install sfFormExtraPlugin</pre>
<p>TinyMCE runterladen<br />
<a href="https://www.tiny.cloud/">https://www.tiny.cloud/</a>/<br />
(da sowieso  jquery im Einsatz ist, dort die jquery variante)<br />
&#8211; TinyMCE kopieren ins Projekt: <em>/web/js/tiny_mce/</em><br />
&#8211; js einbinden in der view.yml</p>
<pre class="brush: xml; title: ; notranslate">javascripts:   &#x5B; tiny_mce/tiny_mce.js ]</pre>
<p>&#8211; in der generator.yml TinyMCE anmelden</p>
<pre class="brush: xml; title: ; notranslate">

edit:
      fields:
        text: { type: textarea_tag, params: '&lt;?php echo sfConfig::get('app_tinymce_options'); ?&gt;' }

</pre>
<p>Interessant dabei ist, daß die Angabe in der generator.yml reicht, zumindest in Verbindung mit dem AdminGenerator.</p>
<p><span id="more-274"></span></p>
<p>&#8211; TinyMCE config options über app.yml (geht nur hierüber, wenn man mehrere options angeben will, anders anscheinend nicht), siehe <a href="http://www.mail-archive.com/symfony-users@googlegroups.com/msg02737.html#">hier</a></p>
<pre class="brush: xml; title: ; notranslate">
all:
.general:
tinymce_options: 'rich=true tinymce_options=width:850,height:450,file_browser_callback:&quot;sfAssetsLibrary.fileBrowserCallBack&quot;'

</pre>
<p>Jetzt das ganze noch an die sfAssetslibrary binden, um bequem Bilder aus der library nutzen zu können.<br />
Das macht man so wie in der <a href="http://www.symfony-project.org/plugins/sfAssetsLibraryPlugin/0_9_3?tab=plugin_readme">readme</a> von der sfAssetsLibrary drin steht.</p>
<p>(also über den callback der oben in der app.yml schon drin steht)</p>
<p>Hier muss man aber aufpassen, weil es einen Versions-Kompatibilitätskonflikt gibt zwischen TinyMce und dem AssetsPlugin.<br />
<strong>Dieses funktioniert nämlich nur mit TinyMCE</strong><strong>2!</strong><br />
<span style="text-decoration: line-through;">Schön</span>, daß man das merkt, nachdem man bereits TinyMCE3 installiert hat.</p>
<p>Ein bißchen geforscht und diesen <a href="http://trac.symfony-project.org/attachment/ticket/3750/sfAssetsLibrary_tinymce3_justneeded_changes.patch">patch</a> gefunden.<br />
Den eingespielt und damit klappt dann auch TinyMCE3.</p>The post <a href="https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/">TinyMCE + symfony AdminGenerator + sfAssetsLibraryPlugin</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2009/09/16/tinymce-symfony-admingenerator-sfassetslibraryplugin/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
