[TYPO3] If submenu is empty different COA
tapio
tapio.markula at dnainternet.net
Wed Mar 1 20:57:59 CET 2006
tapio wrote:
> Hi
>
> Is it in principle possible to set
> diffrent kind of contentArea template, if submenu is empty
>
>
> temp.menu_2 = HMENU
> temp.menu_2.entryLevel=2
> temp.menu_2.1 = TMENU
> {...
> }
>
> lets's make a COA 'menu_3'
>
> if menu_2 is not empty something like
>
> temp.menu_3=COA
> {
> 10 < styles.content.get
> 20=TEXT
> 20 {
> value=</td><td class="menuCell">
> }
> 30 < temp.menu_2
> 40=TEXT
> {
> value=</td>
> }
> }
>
> if empty something like
>
>
> temp.menu_3=COA
> {
> 10 < styles.content.get
>
> 20=TEXT
> {
> value=</td>
> }
> }
seems *not* to be possible
I found
Feature request: ifNotEmpty.
What I would need needs missing 'ifNotEmpty' to give alternative
More information about the TYPO3-english
mailing list