Warning: Use of undefined constant K2BSSP_PREFIX - assumed 'K2BSSP_PREFIX' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 13

Warning: Use of undefined constant BASE_URL - assumed 'BASE_URL' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 14

Warning: Use of undefined constant info_link - assumed 'info_link' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 18

Warning: Use of undefined constant txt_help - assumed 'txt_help' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 19

Warning: Use of undefined constant settings_perma - assumed 'settings_perma' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 20

Warning: Use of undefined constant cookie_path - assumed 'cookie_path' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 21

Warning: Use of undefined constant cookie_expire - assumed 'cookie_expire' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 22

Warning: Use of undefined constant cookie_domain - assumed 'cookie_domain' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 23

Warning: Use of undefined constant css_path - assumed 'css_path' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 24

Warning: Use of undefined constant oben - assumed 'oben' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 25

Warning: Use of undefined constant overall - assumed 'overall' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 26

Warning: Use of undefined constant ausschluss_private - assumed 'ausschluss_private' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 27

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 28

Warning: Use of undefined constant facebook - assumed 'facebook' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 29

Warning: Use of undefined constant status - assumed 'status' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 30

Warning: Use of undefined constant dummy_img - assumed 'dummy_img' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 32

Warning: Use of undefined constant txt_info - assumed 'txt_info' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 33

Warning: Use of undefined constant txt_fb_off - assumed 'txt_fb_off' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 34

Warning: Use of undefined constant txt_fb_on - assumed 'txt_fb_on' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 35

Warning: Use of undefined constant display_name - assumed 'display_name' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 36

Warning: Use of undefined constant referrer_track - assumed 'referrer_track' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 37

Warning: Use of undefined constant language - assumed 'language' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 38

Warning: Use of undefined constant twitter - assumed 'twitter' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 40

Warning: Use of undefined constant status - assumed 'status' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 41

Warning: Use of undefined constant dummy_img - assumed 'dummy_img' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 42

Warning: Use of undefined constant txt_info - assumed 'txt_info' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 43

Warning: Use of undefined constant txt_twitter_off - assumed 'txt_twitter_off' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 44

Warning: Use of undefined constant txt_twitter_on - assumed 'txt_twitter_on' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 45

Warning: Use of undefined constant display_name - assumed 'display_name' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 46

Warning: Use of undefined constant referrer_track - assumed 'referrer_track' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 47

Warning: Use of undefined constant tweet_text - assumed 'tweet_text' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 48

Warning: Use of undefined constant gplus - assumed 'gplus' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 50

Warning: Use of undefined constant status - assumed 'status' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 51

Warning: Use of undefined constant dummy_img - assumed 'dummy_img' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 52

Warning: Use of undefined constant txt_info - assumed 'txt_info' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 53

Warning: Use of undefined constant txt_gplus_off - assumed 'txt_gplus_off' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 54

Warning: Use of undefined constant txt_gplus_on - assumed 'txt_gplus_on' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 55

Warning: Use of undefined constant display_name - assumed 'display_name' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 56

Warning: Use of undefined constant referrer_track - assumed 'referrer_track' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 57

Warning: Use of undefined constant language - assumed 'language' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 58

Warning: Use of undefined constant ddsg_language - assumed 'ddsg_language' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/sitemap-generator/sitemap-generator.php on line 44
TYPO3 CMS: RTE – Eingebettete Objekte (iframe, object, embed) erlauben | Jörg Bösche - Web & Fotografie

TYPO3 CMS: RTE – Eingebettete Objekte (iframe, object, embed) erlauben


Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 108

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Warning: Use of undefined constant services - assumed 'services' (this will throw an Error in a future version of PHP) in /var/www/vhosts/hosting106428.a2f27.netcup.net/httpdocs/blog.joergboesche.de/Source/web/current/wp-content/plugins/2-klicks-button-socialshareprivacy-plugin/2-klicks-button-socialshareprivacy.php on line 116

Im Richt-Text-Editor (RTE) des TYPO3 CMS ist es mit der Standardkonfiguration nicht möglich eingebettete Objekte zum Beispiel von Soundcloud, YouTube, Vimeo, Dailymotion, Flickr, uvm. einzubinden. Der Rich-Text-Editor wird die HTML-Tags iframe, object und embed beim Speichern im TYPO3 CMS Backend verwerfen und nicht in der Datenbank des gewünschten tt_content Elements hinterlegen.

Abhängig vom tt_content Element und/oder der eingesetzten Extension, wird über die Einbindung eines HTML-Bereiches (plain/text) der HTML-Tags gearbeitet. In Extensions wie "news" und den klassichen Content-Elements "Text", "Text mit Bild", ... ist es nicht möglich einfach HTML-Code einzubauen. Die folgende Konfiguration des Rich-Text-Editors (RTE) ist über die gesamte TYPO3 CMS Installation gültig, somit auch alle Extensions/Plugins und funktioniert somit auch im RTE der Extbase Extensions news und cal.

In der PageTS Konfiguration (Root-Page im TYPO3 Seitenbaum), müssen die erforderlichen HTML-Tags dem Rich-Text-Editor (RTE) bekannt gemacht werden. Hierzu wird die RTE-Konfiguration im PageTS um folgenden Code erweitert.

RTE.default.proc {
  allowTags := addToList(object,param,embed,iframe)
  allowTagsOutside := addToList(object,embed,iframe)
  entryHTMLparser_db.allowTags < .allowTags
}

HTLM-Tags die bei der Direktive von „allowTagsOutside“ angegeben werden, können außerhalb eines Block-Elements wie „p“ oder „div“ eingefügt werden. Standardmäßig umschließt der RTE beim Rendering der Daten alles mit einem p-Tag.

Zum Abschluss muss die Parser-Funktion des Richt-Text-Editors im TypoScript Setup um die neuen HTML-Tags erweitert werden. Diese Konfiguration wird NICHT im PageTS definiert, sondern im allgemein gültigen TypoScript.

lib.parseFunc_RTE.allowTags := addToList(object,param,embed,iframe)

Es ist empfehlenswert den TYPO3 CMS Cache nach dieser Änderung komplett zu leeren. Idealerweise geschieht dies über das Install-Tool und "Clear all caches".
Ab sofort ist es möglich, im HTML-Bearbeitungsmodus des RTE die eingebetteten Objekte (iframe,object,embed) hinzuzufügen und zu speichern.

Tags: , , , , , , , , ,

3 Antworten auf "TYPO3 CMS: RTE – Eingebettete Objekte (iframe, object, embed) erlauben"

  • Zweistein says:
  • Stephan says:
  • Jörg says:
Hinterlasse eine Nachricht