[Typo3] Typo3 Rendering Junk Code?

JoH info at cybercraft.de
Sat Nov 12 17:35:37 CET 2005


>>> Why is there a "<br /><img src="clear.gif" width="1" height="5"
>>> border="0" class="spacer-gif" alt="" title="" /><br />" after the
>>> header  text?  How can I disable this?
>>
>> Are you using css_styled_content? What version of TYPO3?
>>
>> This may help.
>>
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110130121/
>>
>>
> I am using css_styled_content yes, and I have upgraded to Typo 3.8.0.
>
> Alright, I edited the space in stdheader to 0|0  however there still
> remains a <br /> after the header text.  I'd rather control the space
> between the header and the element in my CSS, therefore I would like
> to know how I can disable that, and basically any space generated by
> the system.
>
> Does this sound practical to anyone?

Go to the TSOB (TypoScript Objetct Browser) and open the "lib" part of the
tree.
You should be able to find something like "lib.stdheader"
In this section the complete rendering of the headers for all default
content elements is done.
So if you want a different behaviour you must change the entries there.
Or maybe you copy the whole setup and create your own lib.stdheader.

temp.yourHeader = COA
temp.yourHeader {
    # Your header stuff here
}

lib.stdheader >
lib.stdheader < temp.yourHeader

This way you can create or change almost any imaginable behaviour not just
for the headers but for the whole rendering setup of TYPO3.
CSS_styled_content is just one predefined set of TypoScript. If you don't
like it, change it!
Have a look at TSref to find out about the different things used in
lib.stdheader.
http://typo3.org/documentation/document-library/doc_core_tsref/

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list