[TYPO3-UG Italy] Problema formattazione
Federico Bernardin
federico.bernardin at immaginario.com
Mon Nov 6 11:06:38 CET 2006
Ciao Guido,
devi dirgli di mantenere tutte le formattazioni.
Questo lo fai nel back-end nella sezione TSConfig e configuri RTE.config
Questo è un esempio che io ho usato, ma ne trovi a centinai su internet.
RTE.default {
skin = EXT:rtehtmlarea/htmlarea/skins/default/htmlarea.css
#contentCSS =
EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/dynamiccss.css
contentCSS = fileadmin/template/css/rte.css
enableWordClean = 1
removeComments = 1
removeTags = sdfield
removeTagsAndContents = style,script
useCSS = 1
defaultLinkTarget =
showStatusBar = 1 hideTableOperationsInToolbar = 0
keepButtonGroupTogether = 0
disableContextMenu = 0
disableSelectColor = 0
disableTYPO3Browsers = 0
disableEnterParagraphs = 0
removeTrailingBR = 0
hidePStyleItems =0
hideFontSizes =
hideTags = font, font (full)
disableColorPicker = 0
classesCharacter =
classesImage = float-right, blue-background, centercl
classesAnchor = external-link, external-link-new-window,
internal-link, internal-link-new-window, download, mail
classesAnchor.default {
page = internal-link
url = external-link-new-window
file = download
mail = mail
}
showTagFreeClasses = 1
enablePersonalDicts = 1
## Default proc rules
proc {
## TRANSFORMATION METHOD
overruleMode = ts_css
## LINES CONVERSION
dontConvBRtoParagraph = 1
## BRING FONT TAGS INSIDE PARAGRAPHS
internalizeFontTags = 1
## TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr,address
## TAGS ALLOWED
allowTags =span, table, tbody, tr, th, td, h1, h2, h3, h4,
h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u,
sub, sup, strike, a, link, img, nobr, hr, center, font, tt, q, cite, abbr,
acronym, address, sdfield,p
## TAGS DENIED
denyTags >
## ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = class, style
## ALLOWED CLASSES
allowedClasses = _
## CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
## TAGS ALLOWED
#allowTags < RTE.default.proc.allowTags
## AVOID TO HSC TWICE
htmlSpecialChars = 0
## CLEAN TAGS
tags.hr.allowedAttribs = class
noAttrib = b, i, u, strike, sub, sup, strong, em,
quote, blockquote, cite, tt, br, center
## REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
## REMOVE OPEN OFFICE META TAGS
removeTags = sdfield
## PROTECT CUSTOM TAGS
keepNonMatchedTags = protect
}
## XHTML COMPLIANCE
HTMLparser_db.xhtml_cleaning = 1
}
}
## front end RTE configuration
RTE.default.FE < RTE.default
RTE.default.FE.showStatusBar = 0
RTE.default.FE.hideButtons = chMode
## tt_content RTE configuration
RTE.config.tt_content.bodytext.showButtons = *
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
## tt_content TCEFORM configuration
TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 100%
RTE.default.classesParagraph =
Dai una letta al manuale e vedrai che tutto ti sarà più chiaro.
Ne front-end devi usare le parseFunc...
Ciao
_________________________________________________________
Federico Bernardin - Web engineer
federico.bernardin at immaginario.com
_________________________________________________________
Pallino&Co. - Comunicazione integrata
Immaginario - Divisione multimediale
Via Decorati al Valor Civile 57/A, 35142 Padova, Italy
Tel. +39.049.8800329 Fax +39.049.8800354
www.pallino.it www.immaginario.com
Questa e-mail ed i suoi eventuali allegati contengono informazioni riservate
o confidenziali. Se avete ricevuto questa comunicazione per errore, siete
pregati di non utilizzarne il contenuto e di non portarlo a conoscenza di
alcuno. Grazie per la collaborazione.
This message is intended only for the use of the individual or entity to
which it is addressed, and may contain confidential information. If you
received this in error, please contact the sender and delete the material
from all computers.
-----Messaggio originale-----
Da: typo3-ug-italy-bounces at lists.netfielders.de
[mailto:typo3-ug-italy-bounces at lists.netfielders.de] Per conto di Guido
Inviato: sabato 4 novembre 2006 21.08
A: typo3-ug-italy at lists.netfielders.de
Oggetto: [TYPO3-UG Italy] Problema formattazione
Come mai quando inserisco un testo col Rich Text Editor, perdo la
formattazione nel frontend? Anche se nel backend inserisco allineamento,
colore etc., nel frontend tutto questo scompare.
_______________________________________________
TYPO3-UG-italy mailing list
TYPO3-UG-italy at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
----------------------------------------
Io utilizzo la versione gratuita di SPAMfighter per utenti privati. Sino ad
ora
ha rimosso 6538 mail spam.
Gli utenti paganti non hanno questo messaggio nelle loro email .
Prova gratuitamente SPAMfighter qui:http://www.spamfighter.com/lit
More information about the TYPO3-UG-italy
mailing list