[TYPO3] avoid spacer-gif and br

christian oettinger christian.oettinger at gmx.de
Sat Aug 11 18:48:23 CEST 2007


If you are clear with the other answers, forget this post - if not, some 
explanation for newbies (guys, this is supposed to help people, 
especially the ones who are NOT deep into typo3):

Every output that you see in your source code is generated by 
TypoScript. So with the TEMPLATE Tool and a bit of searching you can 
find where is defined what you are looking for. I personally do this 
with the template analyzer (you klick on one of the templates and its 
content is written down, so that you can use the search function of the 
browser) or the TS Object Browser (note that the search function there 
is a bit tricky).
The background of all of this is: To make output for yourself you 
normally would have to write hundereds of lines of TS code in setup (and 
constants) to declare all. This is complicated, so the most basic TS - 
the one that nearly everybody needs - is packed in extensions. You 
switch on the extension, include it in your Template and the TS code is 
used, just as if you'd have hacked it in your Setup. (The extension 
nearly everybody uses nowadays as basic is called css_styled_content. It 
is not a complete template, you will still have to design your output, 
but it provides many, many basics. And as it says it is written for 
usage with CSS).
If the included codes does not suit your needs on some lines though, you 
can just override them in your Setup. So you can use all 400 lines that 
are fine for you and change just override the two you want a bit 
different It's a great concept.

greetings!

christian



> Hi list,
> I am trying to understand when typo3 insert this html code:
> <img src="clear.gif" width="1" height="10" border="0" class="spacer-gif" 
> alt="" title="" /><br />
> 
> In my site a page contains this two tags content many times.
> 
> I don't use a default template and it is impossible for me to create a 
> good css stylesheet with these code occurrences.
> 
> Can I avoid typo3 generate this code?
> 
> Thanks in advance
> Regards
> Ilaria
> 


More information about the TYPO3-english mailing list