[Typo3] lib.stdheader combined with text

Lars Houmark lars at houmark.com
Sat Apr 9 11:08:25 CEST 2005


Hi list,

I have a solution using images as headlines. This works fine. I would like 
to make some CSS printing capabilities and with the headline image having a 
grey background color, this makes the print not very nice.

What I am looking for, is a way to make the std.header print out both the 
image and the current headline (of the element) as text, and wrap them in a 
h1 and a div tag. That way I can do a display:none with CSS on the text in 
the screen edition and a display:none on the image on the print edition.

I am close, and yet far away, to the solution. Here's a snip of my TS:

--- snip ---

lib.stdheader.10.5.file.backColor = #EEEEEE
lib.stdheader.10.5.wrap = <h1><div class="headline">I need my headline 
here</div>|</h1>
lib.stdheader.10.5.file.10.offset = 0,20

--- snip ---

I added the line 2, to put my tags around the image, which works fine. But 
in the DIV tag I need the current headline. How would I achieve that?

I tried numerous ways, none successful.

I hope for help ;)

Lars Houmark 





More information about the TYPO3-english mailing list