[TYPO3] Filtering typo3 output
dieter orens
reddesertvandriver at gmail.Com
Wed Jan 10 13:09:15 CET 2007
thanks a lot!
Concerning the stylesheet, I have my own stylesheet and want to use only
that.
Rob De Vries schreef:
> 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
>
>
More information about the TYPO3-english
mailing list