[TYPO3] If submenu is empty different COA
tapio
tapio.markula at dnainternet.net
Thu Mar 2 09:27:19 CET 2006
Peter Klein wrote:
> "tapio" <tapio.markula at dnainternet.net> wrote in message
> news:mailman.1.1141243158.5048.typo3-english at lists.netfielders.de...
>
>>tapio wrote:
>
>
>>I found
>> Feature request: ifNotEmpty.
>>
>>What I would need needs missing 'ifNotEmpty' to give alternative
>
>
> That's not reallly needed. Just use the "if" function. (You can even reverse
> the if conditions, using the "negate" property.)
>
> ---
> Peter Klein / Umloud Untd
Do you mean something like
temp.menu_2 = HMENU
temp.menu_2.entryLevel=2
temp.menu_2.ifEmpty = COA
temp.menu_2.ifEmpty {
10 < temp.menu_3a
}
temp.menu_2.if = COA
temp.menu_2.if {
10 < temp.menu_3b
}
temp.menu_3a=COA
{
10 < styles.content.get
20=TEXT
20 {
value=</td><td class="menuCell">
}
30 < temp.menu_2
40=TEXT
{
value=</td>
}
}
temp.menu_3b=COA
{
10 < styles.content.get
20=TEXT
{
value=</td>
}
}
BTW. It is difficult today to find instructions. I didn't find all the
information, which the old typo3.org had. TSRef missing - just few
examples.
More information about the TYPO3-english
mailing list