[TYPO3] if.isTrue AND if.isTrue
Carsten Pohle
cpohle at gmail.com
Mon Mar 13 19:47:04 CET 2006
Hi all,
the following is from the gsipagenav extension, and it seems as if it's wrong:
<snip>
sep = TEXT
sep {
value = {$plugin.gsipagenav.separator}
if {
isTrue.data = register:prev_pid
isTrue.data = register:next_pid
}
}
<snap>
The two "isTrue" conditions are not AND'ed, but the second one overwrites the
first one.
However, in order to make the extension work properly, the separator TEXT sep
should only be printed if both register:prev_pid AND register:next_pid are
set. Does anyobdy know how to this can be solved?
Thanks in advance for any hint,
Carsten
More information about the TYPO3-english
mailing list