[TYPO3] Eliminating extra div around headers

JoH info at cybercraft.de
Sun Mar 19 15:27:50 CET 2006


>>> I cant remember how to remove the div around header elements. Any
>>> help?
>>
>>
>> look at the setup.txt of CSS Styled Content, find header definitions,
>> take a copy of them and
>> redefine headers in some TS template.
>
> Why do you always need to re-define the setup.txt and constants.txt?
> Or any other files?  You often advise people to do this and they dont
> need to at all! and it possibly will cause problems further down the
> line for people.
>
> This can be altered using the Typoscript object browser. And that is
> the correct way to do it!

Well - you may be right, accusing Tapio for giving bad advice sometime, but
in this case he is absolutely right.

If you make a copy of the setup.txt of CSS-styled-content and put it into
your TS-template instead of including the static, you will have a working
TS-template containing a complete overview of what is done by the
CSS-styled-content setup.
Sometimes this makes more sense than simply editing some properties in the
TSOB since you might miss some points - i.e clearing a setup before
inserting another one, changing some registers that are reused later on.
The major advantage of this approach is, that you will see the whole thing
and maybe then you can start learning about the "magic" behind it.

So in this case I would prefer Tapio's way of doing the stuff.

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.cybercraft.de





More information about the TYPO3-english mailing list