[TYPO3-project-seminars] Single view - markers

Fabian Fischer dermediamatiker at gmail.com
Wed Jul 1 10:50:01 CEST 2009


Hi there

i have a little question about the single view.
is it possible to show a marker only when it contains some data?

Example:

    <h3>###LABEL_LEADERS###</h3>
    <dl>###LEADERS###</dl>

    <h3>###LABEL_SPEAKERS###</h3>
    <dl>###SPEAKERS###</dl>

    <h3>###LABEL_PARTNERS###</h3>
    <dl>###PARTNERS###</dl>

    <h3>###LABEL_TUTORS###</h3>
    <dl>###TUTORS###</dl>

But in my seminars i have for example just 2 speakers but no leader,
partners and tutors, but in a other seminar i have all of them.

Now the frontend looks like this if there is no data:
label_ ###PARTNERS###


i search for a solution like this:

if(data){
 show label
}

;)

thanks, fabian


More information about the TYPO3-project-seminars mailing list