Sie sind hier: Kundenzone > Typo3 do IT > cleanup useless > 
DeutschEnglish
Opensource Typo3

Cleanup clear.gif

Setup:

# clear.gif entfernen
   tt_content.image.20.spaceBelowAbove = 0
   tt_content.header.stdWrap.space = 0|0
   tt_content.stdWrap.space = 0|0
   tt_content.stdWrap.spaceBefore = 0
   tt_content.stdWrap.spaceAfter = 0
   lib.stdheader.stdWrap.space = 0|0

# clear.gif hinter den Überschriften entfernen
   tt_content.text.20.parseFunc.tags.typohead.stdWrap.space = 0|0

tribute für p- und pre-tags entfernen
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
  P.style=
  PRE.style=;
}

# Unterdrückt den Umbruch < / br >
   lib.stdheader.10.stdWrap.wrap = |
   tt_content.textpic.20.spaceBelowAbove = 0
   tt_content.image.20.spaceBelowAbove = 0
   tt_content.textpic.20.noStretchAndMarginCells = 1
   tt_content.image.20.noStretchAndMarginCells = 1

Anker-Tags entfernen

# Setup Anker-Tags entfernen
   tt_content.noANameTagForFirstRecord = 1

 

P-tags entfernen bei CSS styled content

# P-tags entfernen bei CSS styled content
tt_content.stdWrap.dataWrap >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines>

"clean up all useless"aka ProfilerCleanUp BaseSetting

So könnte Ihr Standard Setup aussehen.

//    Project:     all ts
//    Version:     1.5.0
//    Date:        5.12.2006
//    Auhor:       Fred Karbstein
//
// Done TypoScript development.
// Medienprofiler.net
//
############### clean up all useless #############
# entfernt die class="bodytext"-Attribute aus den - Tags ###
  lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >

# entfernt dieum die <H>-Tags ###   lib.stdheader.stdWrap.dataWrap =   # entfernt das register für die

#lib.stdheader.3.headerClass >

# entfernt die HTML-Kommentare der entsprechenden Objekte ###

   tt_content.text.20.prefixComment =

   tt_content.stdWrap.prefixComment =

   tt_content.table.20.stdWrap.prefixComment =

   lib.stdheader.stdWrap.prefixComment =

   tt_content.image.20.stdWrap.prefixComment =

   tt_content.html.prefixComment =