[TYPO3-dev] Overwriting header field with fixed content - How to do it?

Kevin Renskers info at dualdot.nl
Sun Mar 12 19:46:38 CET 2006


Jens Beckmann wrote:
> Hi!
> 
> How could I fill a headline field with fixed content?
> 
> In my particular case I want each download section (CType "uploads") on 
> the website to appear with the same heading, e.g. "Files to download", 
> no matter what the user has filled into the header field in the backend 
> form.
> 
> I think I could build the whole rendering on my own (tt_content = CASE 
> ...) but is there an easier way to overwrite the content coming from the 
> database field "header" where CType is "uploads"? I am using static 
> template "CSS Styled Content".
> 
> Thank you for any hint!
> 
> Jens
> 

Shouldn't this just do the trick?

lib.stdheader >
lib.stdheader = TEXT
lib.stdheader.value = Your fixed header




More information about the TYPO3-dev mailing list