[TYPO3-templavoila] FCE - link inside of <h3>

Steffen Kamper info at sk-typo3.de
Tue Mar 24 12:07:56 CET 2009


Hi,

look in DS for
<HSC>1</HSC>
and change it to 0

vg Steffen


Barbara Wijbenga schrieb:
> Thanks!
> 
> You've been a very big help!
> 
> The only thing now is that the link is made in normal text and not in 
> HTML (I get "<h3>&lt;a href=&quot;downloads/&quot; 
> title=&quot;Downloads&quot; target=&quot;_top&quot; 
> &gt;Downloads&lt;/a&gt;</h3>")
> 
> 10 = TEXT
> 10.current = 1
> 10.typolink.parameter.field = field_link
> 
> I don't have 10.htmlSpecialChars on. Why doesn't this work the way I 
> want to?
> 
> Greetings,
> Barbara
> 
> 
> "Dennis Laudenbach" <laudenbach at agentur-brandung.de> schreef in bericht 
> news:mailman.3167.1237887409.27889.typo3-project-templavoila at lists.netfielders.de... 
> 
> 
> Hi Barbara,
> 
> if you use:
> 
> <div class='container-itemright'>
>  <h3>title<h3>
>  <div class='text'>text</div>
> </div>
> 
> You can wrap the <h3> as element,
> create another element for the link (not mapped)
> and refer in the TypoScript of the <h3> to the link.
> 
> 10 = TEXT
> 10.current = 1
> 10.typolink.parameter.field = ###linkfield###
> 
> Please replace ###linkfield### with the correct name.
> 
> Ciao,
> Daniz
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-templavoila-bounces at lists.netfielders.de 
> [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im 
> Auftrag von Barbara Wijbenga
> Gesendet: Dienstag, 24. März 2009 10:31
> An: typo3-project-templavoila at lists.netfielders.de
> Betreff: [TYPO3-templavoila] FCE - link inside of <h3>
> 
> Hi all.
> 
> I just started using Flexible Content Elements, and I don't get all of 
> it yet. I can make a layout of two columns, but this I can't:
> 
> This is the HTML template:
> 
> ------------------------------
> <div class='container-itemright'>
>  <a href=''>title</a>
>  <div class='text'>text</div>
> </div>
> ------------------------------
> 
> The href is being filled with an Attr. field.
> I want an <h3> around the <a>.
> If I use "wrap=<h3>|</h3>" in the DS, the <h3> ends up inside the <a> tags.
> This is obviously not what I want.
> 
> And when the href Attr. field isn't filled, the <a> tag shouldn't be 
> made at all.
> That's why I started with this:
> 
> ------------------------------
> <div class='container-itemright'>
>  <h3>title<h3>
>  <div class='text'>text</div>
> </div>
> ------------------------------
> 
> But this way, I have no idea how to get the <a> inside of the <h3>.
> 
> What is the best solution for this?
> 
> Thanks,
> Barbara
> 
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila 
> 
> 
> 


More information about the TYPO3-project-templavoila mailing list