[Typo3] lib.stdheader combined with text

Peter Niederlag niederlag at ikd01.de
Sat Apr 9 13:09:17 CEST 2005


Hi,

Lars Houmark schrieb:
> 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.wrap = <h1><div 
class="headline">{field:header}</div>|</h1>
lib.stdheader.10.5.insertData = 1
> 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.

Dont know if I understood what you are trying to achieve and what you 
have done already correctly but you can give those ^^ two lines(one 
changed, one added) a chance.

HtH,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *



More information about the TYPO3-english mailing list