[Typo3] TemplaVoila:Wraping FCE Section by TS?
Nikolas Hagelstein
hagelstein at hauptsache.net
Tue Nov 29 14:58:26 CET 2005
Hi,
i got the following DS:
CO ROOT (div:INNER)
- EL Headline (H1:INNER)
- EL Image (img)
- EL Text (span:INNER)
- SC LinkList (div)
-- CO LinkElement (div)
--- EL LinkTitle (nomap)
--- EL LinkURL (a:INNER)
Template looks like this:
<div class="teaser">
<img />
<h1>headline</h1>
<span>text</span>
<div>
<p class="line">
<div><a href="linkurl">linktitle</a><br /></div>
<p>
</div>
</div>
The problem is, that the teaser is allowed to have no
(or an empty) linklist. In this case i need to prevent the
<p class="line"> from beeing displayed.
(p-line is used to opticaly seperate teaser body from linklist)
so wraping the SC by something like .wrap=<p class="line">| </p>
would be cool.
So what i need is to display a seperator if linklst is not
empty.
Any Ideas ?
Bye,
Nikolas
More information about the TYPO3-english
mailing list