[TYPO3] IFSUB second language bug?
JoH
info at cybercraft.de
Tue Oct 10 16:38:58 CEST 2006
>> I build a menu with an IFSUB condition, and i have two languages.
>> When i go to a default page which has subpages it's working all fine.
>> But when i go to the same page but than in the second language wich
>> has no subpages, however it shows the subpage arrow.
>
> Apparently IFSUB calculation base on default language
Or more precisely: IFSUB counts the entries of the table "pages" that have
the "uid" of the currently rendered item as "pid".
Since the translations are done with an overlay from a completely different
table, they will have no incfluence on the result of the IFSUB counter.
>> Is this a bug or am i doing something wrong?
>
> presumably bug but you might try some condition
You could try to create your own PHP funtions and use the USERDEF1 or
USERDEF2 state to render the item.
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-english
mailing list