[TYPO3] Filtering typo3 output

Rob De Vries spam_this at pandora.be
Wed Jan 10 12:38:38 CET 2007


Hey Dieter

> I notice that typo3 renders too many divs, classes and stuff that I 
> don't need. How can I get rid of these.

tt_content {
       list.20.stdWrap.prefixComment =
       default.prefixComment =
       stdWrap.prefixComment =
       text.20.prefixComment =
       header.20.prefixComment =
       html.prefixComment =
       bullets.20.stdWrap.prefixComment =
       table.20.stdWrap.prefixComment =
       image.20.stdWrap.prefixComment =
       textpic.20.stdWrap.prefixComment =
       uploads.20.stdWrap.prefixComment =
}


#	REMOVE DIVS AROUND HEADERS
############################################
lib {
      stdheader {
          stdWrap {
              dataWrap =
              prefixComment =
          }
          #1.headerClass =
          #1.headerClass.noTrimWrap =
        	 10.stdWrap.wrap =
      }
}


> Secondly, I notice that typo also attaches a stylesheet that I don't want:

> <link rel="stylesheet" type="text/css" 
> href="typo3temp/stylesheet_e99aac0be0.css" />

Are you sure you don't want to use this stylesheet?
it is a rendered style sheet for css-content. Removing thiw ill remove 
the styles for your content div's and/or other plugins.


> And how do I get rid of all the obtrusive javascript..? 
depends on JS.

config {
	removeDefaultJS = external
	inlineStyle2TempFile = 1
	spamProtectEmailAddresses = 0 #no spam protection so no JS
	spamProtectEmailAddresses_atSubst = (at)
}


lots of onfocus
> and onblurs are used in the page source.
blur = 0 #add this to your menu TS

> Thanx a lot!

your welcome

Rob


-- 
------------------------------------------------------------
web : http://www.rob-ot.be
skype : rob-ot
------------------------------------------------------------
[O_o] -- Don't feed the rob-ot


More information about the TYPO3-english mailing list