[Typo3] lib.stdheader combined with text

Lars Houmark lars at houmark.com
Mon Apr 11 01:41:35 CEST 2005


Hi again,

> Thank you both for your solutions, my solution is perfect!!

I just discovered that using the solution from Torsten has a problem with a 
linked headline. When linking a headline the text version is the only part 
enclosed in the A tag. This means the image is not linked. Atually it would 
be fine if the text links is NOT linked but the image is, as the text 
version is used only for the CSS print version. Now, is there any way that I 
could make the image become linked as well in case the headline has a link?

Here's a snip of the HTML code to help you understand the issue:

<div class="csc-header csc-header-n1"><h1><div class="headline"><a 
href="http://www.test.com" target="_top">test</a></div><img 
src="typo3temp/GB/daa631bad9.png" width="32" height="30"  border="0" 
alt="test" title="test" /></h1></div>

I tried switching the TEXT part of the customer lib.stdheader to be rendered 
as no. 1 because I thought that it somehow only linked the last one or 
something. This is why the text version is printed first. Anyways, either 
way doesn't work!

Regards,

Lars Houmark 





More information about the TYPO3-english mailing list