[TYPO3-german] iFrame im RTE

Stefan Collon stefancollon at yahoo.de
Tue Dec 14 12:34:34 CET 2010


Hallo Typo3 Gemeinde,
ich suche seit längerem nach einem Weg einen iFrame in einem RTE Text 
einzubinden.
Hintergrund ist, dass ich gerne eine Google-Map in tt_news Beiträgen einpflegbar 
machen möchte.
Ein normales HTML Inhaltselement funktioniert hier nun also leider nicht, da der 
iFrame eben in dem tt_news Content stehen soll.

Zuerst dachte ich an eine RTE Extension, habe aber keine gefunden.

Dann dachte ich daran, das iframe Tag über die TSConfig zu erlauben. Das scheint 
mir der beste und einfachste Weg zu sein, aber irgendetwas stiummt an meinem 
Setup nicht.
Das <iframe> Tag wird immer komplett herausgeschnitten.
Hier das Setup, vielleicht erkennt jemand, was noch fehlt:

RTE.default {
showButtons = html, chMode, inserttag, bold, textstyle, textstylelabel, 
blockstyle, blockstylelabel, italic, underline, left, center, right, 
orderedlist, unorderedlist, insertcharacter, line, link, image, removeformat, 
table, toggleborders, tableproperties, rowproperties, rowinsertabove, 
rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, 
columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, 
celldelete, cellsplit, cellmerge, findreplace, insertcharacter, undo, redo, 
showhelp, about
        hideButtons = fontstyle, formatblock, fontsize, 
strikethrough,lefttoright, righttoleft, textcolor, bgcolor, textindicator, 
emoticon, user, spellcheck, outdent, indent, justifyfull, subscript, 
superscript, acronym, copy, cut, paste
removeTagsAndContents = style,script

proc {
                
                allowTags = iframe, table, tbody, tr, th, td, h1, h2, h3, h4, 
h5, h6, div, p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, 
sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym, center
                denyTags = font

 HTMLparser_rte {
 
                        
                        allowTags < RTE.default.proc.allowTags
                        denyTags < RTE.default.proc.denyTags

                        
                        removeTags = font
                    }

                    
                 
                entryHTMLparser_db = 1
                entryHTMLparser_db {
 
                  
                  allowTags < RTE.default.proc.allowTags
                  denyTags < RTE.default.proc.denyTags
       }
}

Vielen Dank für jede Hilfe,
Stefan




More information about the TYPO3-german mailing list