[TYPO3-german] Re: htmlArea RTE 1.5.3 in Typo 4.1.2 lässt sich nicht per Typoscript konfigurieren

Uschi Renziehausen typo3news at otherone.de
Sat Sep 15 11:44:46 CEST 2007


Hallo Lars,

es ist immer verdammt schwierig, irgendetwas zur RTE-Konfiguration zu 
sagen, wenn man nicht weiß, wie die Basis-Konfiguration im Extension 
Manager aussieht: Minimal, Standard oder Demo?

Wenn dein RTE gar nicht auf deine Konfiguration reagiert, sagt mir mein 
Blick in die Glaskugel, dass du evtl. deine Konfiguration in das 
Template Setup deiner Seite anstatt in in das TSConfig-Feld eingetragen 
hast? Darauf weist jedenfalls dein
seite.RTE....

Innerhalb der des Page TSConfig-Feldes muss RTE ganz vorne stehen, weit 
RTE ein Top Level Object ist.

Liebe Grüße, Uschi

artworx3D . Lars Zimmermann wrote:
> Hallo liebe Mailinglist,
>  
> ich versuche eine Definitionsliste (dl, dd, dt) in meinem htmlArea RTE
> einzubauen. Dazu müsste ich CustomTags erlauben.
> Habe diverseste Lösungen aus dem Netz probiert wie beispielsweise:
>  
>  
> ## RTE Konfiguration
> RTE.default {
>        
>         ## Markup options
>         enableWordClean = 1
>         removeTrailingBR = 1
>         removeComments = 1
>         removeTags = center, sdfield
>         removeTagsAndContents = style,script
>        
>         proc {
>                 # tags die erlaubt / verboten sind
>                 allowTags = 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, dl, dt,
> dd
>                 denyTags = font
>  
>                 # br wird nicht zu p konvertiert
>                 dontConvBRtoParagraph = 1
>  
>                 # tags sind erlaubt außerhalt von p, div
>                 allowTagsOutside = img,hr
>  
>                 # erlaubte attribute in p, div tags
>                 keepPDIVattribs = align,class,style,id
>  
>                 # List all class selectors that are allowed on the way to
> the database
>                 allowedClasses (
>                         external-link, external-link-new-window,
> internal-link, internal-link-new-window, download, mail,
>                         align-left, align-center, align-right, author
>                 )       
>  
>                 # html parser einstellungen
>                 HTMLparser_rte {
>  
>                         # tags die erlaubt/verboten sind
>                         allowTags < RTE.default.proc.allowTags
>                         denyTags < RTE.default.proc.denyTags
>  
>                         # tags die untersagt sind
>                         removeTags = font
>  
>                         # entfernt html-kommentare
>                         removeComments = 1
>  
>                         # tags die nicht übereinstimmen werden nicht
> entfernt (protect / 1 / 0)
>                         keepNonMatchedTags = 0
>                 }
>  
> 
>                 # Content to database
>                 entryHTMLparser_db = 1
>                 entryHTMLparser_db {
>  
>                         # tags die erlaubt/verboten sind
>                         allowTags < RTE.default.proc.allowTags
>                         denyTags < RTE.default.proc.denyTags
>  
>                         # CLEAN TAGS
>                         noAttrib = b, i, u, strike, sub, sup, strong, em,
> quote, blockquote, cite, tt, br, center
>  
>                         rmTagIfNoAttrib = span,div,font
>  
>                         # htmlSpecialChars = 1
>        
>                         ## align attribute werden erlaubt
>                         tags {
>                                 p.fixAttrib.align.unset >
>                                 p.allowedAttribs = class,style,align
>  
>                                 div.fixAttrib.align.unset >
>  
>                                 hr.allowedAttribs = class
>  
>                                 # b und i tags werden ersetzt (em / strong)
>                                 b.remap = strong
>                                 i.remap = em
>  
>                                 ## img tags werden erlaubt
>                                 img >
>                         }
>                 }
>  
>         }
>  
> Habe dann einmal probiert Buttonleisten zu konfigurieren. Irgendwie reagiert
> mein RTE auf überhaupt keine TS Eingabe. Er transformiert logischerweise die
> DL-Tags immer in plaintext. Kann mir jemand sagen, wie ich meinen RTE
> überhaupt per TS ansprechen kann?
>  
> Müssen die TS-Angaben in den "seite.RTE.default..." Abschnitt, oder
> außerhalb dieser Definitionen alleine stehen (so wie ich es bisher hatte?).
>  
> Viele Grüße
> Lars
>  
>  
>  


More information about the TYPO3-german mailing list