[TYPO3] IFSUB under the constaint, that at least on subtitle is different to a certain title

Steffen stema at web.de
Wed Apr 5 10:09:36 CEST 2006


hi,
thanks so far.

is it possible to check if a menuitem has subpages without using "ifsub"?

...something like:
stuff.if {
   *has subpages*
}

if so, i could need something like that:
stuff.if {
   *has subpages*
    AND
   *subpage title is unequal to title1 and title2*
}

this is really tricky. so it would be an tremendous help, if some experts  
could tell me the right direction.
can it be done with typoscript or is it stupid to waste time on it?

thanks!
steffen



On Wed, 05 Apr 2006 08:12:47 +0200, Tapio Markula  
<tapio.markula at dnainternet.net> wrote:

> Steffen wrote:
>> hello,
>>  i would like to set a special format to a menuitem which has subitems,  
>> if  these subitems don't have a certain title.
>> could this be realized with IFSUB?
>
> Seems impossible because the page tree should be seached forward.
>
> For the item it self could set special for depending of
> it has certain title or not using CASE-stucture - see CASE.
>
> certain string could be a case - if spaces don't cause problems with  
> this structure
> and 'default' the another
>
> The disadvantage of CASE is that it supports just stdWrap wraps,
> not for example linkWrap.
>
> But I can't imagine any solution to that for child items.
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the TYPO3-english mailing list