[TYPO3] excludeUidList and REGISTER list
Hanspeter Jakober
rigigasse at gmail.com
Wed Feb 20 18:09:43 CET 2008
Hello
I tried adapt your TypoScript-Code. I try to hide the page with uid=48
on the second level. But it doesn't work. Is it possible to do that?
Thanks in advance.
Hanspeter
###########################################
2.NO {
allStdWrap.if {
value = 48
isInList.field = uid
negate = 1
}
}
############################################
JoH schrieb:
>> I have a menu in which I would like to hide a list of pages which is
>> stored in a REGISTER. This REGISTER is instanciated using a query
>> which grabs the list from a DB table.
>>
>> It seems that the excludeUidList property takes only a list of
>> integers, but not a list of page UIDs/stdwrap. Therefore, the
>> following does not work:
>>
>> excludeUidList = register:reg_myExclusionList
>>
>> Is there any way to work around that, keeping in mind that I cannot
>> use a constant.
>
> You can use "if" on any TMENUITEM.
>
> So something like this should be working:
>
> NO {
> allStdWrap.if {
> value.data = register:reg_myExclusionList
> isInList.field = uid
> negate = 1
> }
> }
>
> Joey
>
More information about the TYPO3-english
mailing list