[Typo3] addin a image to a header

Tyler Kraft headhunterxiii at yahoo.ca
Thu Sep 8 18:30:02 CEST 2005


Thank lord for somebody else who thinks to himself 'I wish Tapio would 
stop saying this crap, and telling people to edit files, instead of 
helping them learn how to work in a proper system!'

Rafa, ignore the poor solution from Tapio and listen to Christopher.  It 
is the best way to do it, and will save you a lot of tears when you upgrade.

Tyler



Christopher wrote:

> 
> Tapio, please stop giving this advice. _Yes_, the setup.txt file in
> the CSC extension  _is_ where all the TS for the extension is defined,
> but it's a) not a particularly convenient place to look and b) not the
> 'correct' place to make changes; as I've pointed out before, if you
> make changes to setup.txt, your changes will be LOST if you upgrade
> the extension. If, instead, you make changes to your TS templates,
> they will survive upgrades.
> 
> Rafa, if you're looking to change the default 'wraps' and other
> content rendering in Typo3, you'll have to become acquainted with the
> "Typoscript Object Browser" [1]. Using this tool, you can see ALL of
> the TS used in the site (including what's been added by your main
> template and by any extensions you might have installed). It's also a
> great place to see lots of examples of advanced TS.
> 
> Print out the TSref [2] so you'll have something to consult while
> you're looking in the TSob, and for the definintions of headers in TS,
> start with 'lib.stdHeader'...
> 
> Incidentally, Tapio's suggestion to use CSS for the images
> accompanying headers is a very good one - it's much more flexible than
> coding the image directly into the html. But you may still want to
> remove the unnecessary divs wrapping the headers etc.
> 
> 
> -Christopher
> 
> 
> [1] http://wiki.typo3.org/index.php/Glossary#TSOB
> [2] http://typo3.org/documentation/document-library/doc_core_tsref/



More information about the TYPO3-english mailing list